Re: perhaps OT: problem compiling 3.1.6 on SLES10-SP3

2010-08-25 Thread Christian
Am 24.08.2010 13:16, schrieb Amos Jeffries:
 
 FYI: 3.1.7 is now available with the fix for those LoadableModules
 problems in it.
tried 3.1.7 without success.

using:
./bootstrap.sh
autoreconf -fiv

if gcc -DSQUID_SNMP=1  -I.. -I../include -I../include   -Wall
-Wpointer-arith -Wwrite-strings -Wmissing-prototypes
-Wmissing-declarations -Wcomments -Werror -D_REENTRANT -m64
-fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2 -Wall -fPIE -fPIC
-fno-strict-aliasing -MT snmplib_debug.o -MD -MP -MF
.deps/snmplib_debug.Tpo -c -o snmplib_debug.o snmplib_debug.c; \
then mv -f .deps/snmplib_debug.Tpo .deps/snmplib_debug.Po; else rm
-f .deps/snmplib_debug.Tpo; exit 1; fi
rm -f libsnmp.a
/usr/bin/ar cru libsnmp.a asn1.o parse.o snmp_vars.o coexistance.o
snmp_api.o snmp_error.o mib.o snmp_api_error.o snmp_msg.o snmp_pdu.o
snmplib_debug.o
ranlib libsnmp.a
make[1]: Leaving directory `/usr/src/packages/BUILD/squid-3.1.7/snmplib'
Making all in libltdl
make[1]: Entering directory `/usr/src/packages/BUILD/squid-3.1.7/libltdl'
make[1]: *** No rule to make target `all'.  Stop.
make[1]: Leaving directory `/usr/src/packages/BUILD/squid-3.1.7/libltdl'
make: *** [all-recursive] Error 1

using:
autoreconf -fiv

if gcc -DSQUID_SNMP=1  -I.. -I../include -I../include   -Wall
-Wpointer-arith -Wwrite-strings -Wmissing-prototypes
-Wmissing-declarations -Wcomments -Werror -D_REENTRANT -m64
-fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2 -Wall -fPIE -fPIC
-fno-strict-aliasing -MT snmplib_debug.o -MD -MP -MF
.deps/snmplib_debug.Tpo -c -o snmplib_debug.o snmplib_debug.c; \
then mv -f .deps/snmplib_debug.Tpo .deps/snmplib_debug.Po; else rm
-f .deps/snmplib_debug.Tpo; exit 1; fi
rm -f libsnmp.a
/usr/bin/ar cru libsnmp.a asn1.o parse.o snmp_vars.o coexistance.o
snmp_api.o snmp_error.o mib.o snmp_api_error.o snmp_msg.o snmp_pdu.o
snmplib_debug.o
ranlib libsnmp.a
make[1]: Leaving directory `/usr/src/packages/BUILD/squid-3.1.7/snmplib'
Making all in libltdl
make[1]: Entering directory `/usr/src/packages/BUILD/squid-3.1.7/libltdl'
make[1]: *** No rule to make target `all'.  Stop.
make[1]: Leaving directory `/usr/src/packages/BUILD/squid-3.1.7/libltdl'
make: *** [all-recursive] Error 1

using:
not applying openldap/swapdir patch
neither bootstrap nor autoreconf

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.7/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/squid-3.1.7/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/packages/BUILD/squid-3.1.7/src'
make: *** [all-recursive] Error 1

Chris

P.S.:
perhaps you find one or other patch useful :)

diff -ruN squid-3.1.4-orig/helpers/basic_auth/LDAP/Makefile.am squid-3.1.4/helpers/basic_auth/LDAP/Makefile.am
--- squid-3.1.4-orig/helpers/basic_auth/LDAP/Makefile.am	2010-05-30 15:21:11.0 +0200
+++ squid-3.1.4/helpers/basic_auth/LDAP/Makefile.am	2010-06-08 15:14:01.0 +0200
@@ -22,3 +22,5 @@
 
 ## we need our local files too (but avoid -I. at all costs)
 INCLUDES += -I$(srcdir)
+
+AM_CFLAGS += -DLDAP_DEPRECATED
diff -ruN squid-3.1.4-orig/helpers/digest_auth/password/Makefile.am squid-3.1.4/helpers/digest_auth/password/Makefile.am
--- squid-3.1.4-orig/helpers/digest_auth/password/Makefile.am	2010-05-30 15:21:11.0 +0200
+++ squid-3.1.4/helpers/digest_auth/password/Makefile.am	2010-06-08 15:15:12.0 +0200
@@ -25,4 +25,6 @@
 	$(XTRA_LIBS) \
 	$(SSLLIB)
 
+AM_CFLAGS += -DLDAP_DEPRECATED
+
 EXTRA_DIST = config.test
diff -ruN squid-3.1.4-orig/helpers/external_acl/ldap_group/Makefile.am squid-3.1.4/helpers/external_acl/ldap_group/Makefile.am
--- squid-3.1.4-orig/helpers/external_acl/ldap_group/Makefile.am	2010-05-30 15:21:11.0 +0200
+++ 

Re: perhaps OT: problem compiling 3.1.6 on SLES10-SP3

2010-08-24 Thread Amos Jeffries

Amos Jeffries wrote:

On Mon, 23 Aug 2010 16:42:46 +0200, Christian ch...@computersalat.de
wrote:

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 

perhaps OT: problem compiling 3.1.6 on SLES10-SP3

2010-08-23 Thread Christian
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:

Re: perhaps OT: problem compiling 3.1.6 on SLES10-SP3

2010-08-23 Thread Henrik Nordström
mån 2010-08-23 klockan 16:42 +0200 skrev Christian:

 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

Why are you autotool bootstrapping the source tree? The distributed
tarball is already bootstrapped and ready for building. There is no need
to run bootstrap.sh unless you are patching configure.in or Makefile.am.

The LIBTOOL / AC_PROG_LIBTOOLS errors you are seeing on bootstrap is due
to the source tree is now needing Libtool 2.x for bootstrapping. Libtool
2.x uses slightly different autoconf syntax compared to Libtool 1.x.

 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

I also saw this a couple of days ago when missing libtool-ltdl-devel
package on one of my Fedora boxes. Have not yet looked into why this
happens, it's supposed to work fine even without a system copy of ltdl.

From your output it looks like the culpit is that -I $top/libltdl is
missing from the compiler command. Try using the (new) configure flags
for forcing internal libltdl to be used. Also try building without
overriding CFLAGS  CXXFLAGS in case configure adds it to the wrong
variable..

Regards
Henrik



Re: perhaps OT: problem compiling 3.1.6 on SLES10-SP3

2010-08-23 Thread Amos Jeffries
On Mon, 23 Aug 2010 16:42:46 +0200, Christian ch...@computersalat.de
wrote:
 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