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 :)
This archive was generated by hypermail 2.2.0 : Wed Aug 25 2010 - 12:00:05 MDT