perhaps OT: problem compiling 3.1.6 on SLES10-SP3

From: Christian <chris_at_computersalat.de>
Date: Mon, 23 Aug 2010 16:42:46 +0200

Hi,

maintaining the squid3 RPM on build.openuse.org.
3.1.4 was the last version I was able to compile without problems.
for 3.1.5 I need to apply a small patch. (squid-bootstrap.patch)
since 3.1.6 I not able to compile it for SLES10-SP3

while using ...
----snip spec----
%build
export CFLAGS="$RPM_OPT_FLAGS -fPIE -fPIC -fno-strict-aliasing"
export CXXFLAGS="$RPM_OPT_FLAGS -fPIC -fno-strict-aliasing"
export LDFLAGS='-pie'
./bootstrap.sh
autoreconf -fiv
./configure --prefix=/usr \
....
-----snip----

I get:
+ ./bootstrap.sh
automake (1.9) : automake
autoconf (2.59) : autoconf
libtool (1.5) : libtool
libtool path : /usr/bin
Bootstrapping
compat/Makefile.am:12: Libtool library used but `LIBTOOL' is undefined
compat/Makefile.am:12:
compat/Makefile.am:12: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
compat/Makefile.am:12: to `configure.in' and run `aclocal' and
`autoconf' again.
src/Makefile.am:153: Libtool library used but `LIBTOOL' is undefined
src/Makefile.am:153:
src/Makefile.am:153: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
src/Makefile.am:153: to `configure.in' and run `aclocal' and `autoconf'
again.
src/acl/Makefile.am:4: Libtool library used but `LIBTOOL' is undefined
src/acl/Makefile.am:4:
src/acl/Makefile.am:4: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
src/acl/Makefile.am:4: to `configure.in' and run `aclocal' and
`autoconf' again.
src/adaptation/Makefile.am:15: Libtool library used but `LIBTOOL' is
undefined
src/adaptation/Makefile.am:15:
src/adaptation/Makefile.am:15: The usual way to define `LIBTOOL' is to
add `AC_PROG_LIBTOOL'
src/adaptation/Makefile.am:15: to `configure.in' and run `aclocal' and
`autoconf' again.
src/adaptation/ecap/Makefile.am:4: Libtool library used but `LIBTOOL' is
undefined
src/adaptation/ecap/Makefile.am:4:
src/adaptation/ecap/Makefile.am:4: The usual way to define `LIBTOOL' is
to add `AC_PROG_LIBTOOL'
src/adaptation/ecap/Makefile.am:4: to `configure.in' and run `aclocal'
and `autoconf' again.
src/adaptation/icap/Makefile.am:4: Libtool library used but `LIBTOOL' is
undefined
src/adaptation/icap/Makefile.am:4:
src/adaptation/icap/Makefile.am:4: The usual way to define `LIBTOOL' is
to add `AC_PROG_LIBTOOL'
src/adaptation/icap/Makefile.am:4: to `configure.in' and run `aclocal'
and `autoconf' again.
src/auth/Makefile.am:7: Libtool library used but `LIBTOOL' is undefined
src/auth/Makefile.am:7:
src/auth/Makefile.am:7: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
src/auth/Makefile.am:7: to `configure.in' and run `aclocal' and
`autoconf' again.
src/base/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined
src/base/Makefile.am:5:
src/base/Makefile.am:5: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
src/base/Makefile.am:5: to `configure.in' and run `aclocal' and
`autoconf' again.
src/esi/Makefile.am:4: Libtool library used but `LIBTOOL' is undefined
src/esi/Makefile.am:4:
src/esi/Makefile.am:4: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
src/esi/Makefile.am:4: to `configure.in' and run `aclocal' and
`autoconf' again.
src/fs/Makefile.am:3: Libtool library used but `LIBTOOL' is undefined
src/fs/Makefile.am:3:
src/fs/Makefile.am:3: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
src/fs/Makefile.am:3: to `configure.in' and run `aclocal' and `autoconf'
again.
src/icmp/Makefile.am:25: Libtool library used but `LIBTOOL' is undefined
src/icmp/Makefile.am:25:
src/icmp/Makefile.am:25: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
src/icmp/Makefile.am:25: to `configure.in' and run `aclocal' and
`autoconf' again.
src/ident/Makefile.am:4: Libtool library used but `LIBTOOL' is undefined
src/ident/Makefile.am:4:
src/ident/Makefile.am:4: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
src/ident/Makefile.am:4: to `configure.in' and run `aclocal' and
`autoconf' again.
src/ip/Makefile.am:4: Libtool library used but `LIBTOOL' is undefined
src/ip/Makefile.am:4:
src/ip/Makefile.am:4: The usual way to define `LIBTOOL' is to add
`AC_PROG_LIBTOOL'
src/ip/Makefile.am:4: to `configure.in' and run `aclocal' and `autoconf'
again.
automake failed
Autotool bootstrapping failed. You will need to investigate and correct
before you can develop on this source tree
error: Bad exit status from /var/tmp/rpm-tmp.56670 (%build)

and without doing
./bootstrap.sh
autoreconf -fiv

compile fails with:
g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\"
-DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\"
-DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\" -I.. -I../include -I../src
-I../include -I../src -Wall -Wpointer-arith -Wwrite-strings
-Wcomments -Werror -D_REENTRANT -m64 -fmessage-length=0
-D_FORTIFY_SOURCE=2 -O2 -Wall -fPIC -fno-strict-aliasing -MT
LoadableModule.o -MD -MP -MF $depbase.Tpo -c -o LoadableModule.o
LoadableModule.cc &&\
mv -f $depbase.Tpo $depbase.Po
In file included from ../libltdl/ltdl.h:37,
                 from LoadableModule.cc:10:
../libltdl/libltdl/lt_error.h:35:31: error: libltdl/lt_system.h: No such
file or directory
depbase=`echo LoadableModules.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\"
-DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\"
-DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\" -I.. -I../include -I../src
-I../include -I../src -Wall -Wpointer-arith -Wwrite-strings
-Wcomments -Werror -D_REENTRANT -m64 -fmessage-length=0
-D_FORTIFY_SOURCE=2 -O2 -Wall -fPIC -fno-strict-aliasing -MT
LoadableModules.o -MD -MP -MF $depbase.Tpo -c -o LoadableModules.o
LoadableModules.cc &&\
mv -f $depbase.Tpo $depbase.Po
make[3]: *** [LoadableModule.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/usr/src/packages/BUILD/squid-3.1.6/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/squid-3.1.6/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/packages/BUILD/squid-3.1.6/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.31135 (%build)

THX for any help

-- 
Christian
---------------------------------------------------
Der ultimative shop für Sportbekleidung und Zubehör
http://www.sc24.de
---------------------------------------------------

Received on Mon Aug 23 2010 - 14:42:32 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 24 2010 - 12:00:05 MDT