Search squid archive

Re: unable to compile squid-3.1.5 on debian lenny

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Zeller, Jan (ID) wrote:
Dear list,

unfortunately I am unable to compile squid-3.1.5 on Debian lenny 5.0.5
<snip>
>
depbase=`echo LoadableModule.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/opt/squid-3.1.5/etc/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/opt/squid-3.1.5/share\" -DDEFAULT_SQUID_CONFIG_DIR=\"/opt/squid-3.1.5/etc\"  -I.. -I../include -I../src -I../include  -I../src   -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror  -D_REENTRANT -g -O2 -MT LoadableModule.o -MD -MP -MF $depbase.Tpo -c -o LoadableModule.o LoadableModule.cc &&\
mv -f $depbase.Tpo $depbase.Po In file included from LoadableModule.cc:10:
../libltdl/ltdl.h:36:31: error: libltdl/lt_system.h: No such file or directory
../libltdl/ltdl.h:37:30: error: libltdl/lt_error.h: No such file or directory
../libltdl/ltdl.h:38:33: error: libltdl/lt_dlloader.h: No such file or directory
<snip>

ii  libltdl3                            1.5.26-4+lenny1            A system independent dlopen wrapper for GNU libtool
ii  libltdl3-dev                        1.5.26-4+lenny1            A system independent dlopen wrapper for GNU libtool

are installed on my box but the necessary lt_system.h, lt_error.h, lt_dlloader.h seems not to be in those packages.

see http://packages.debian.org

What am I doing wrong ? I never had this problem before. Any hint ?

Sorry about this. It's not you.

Our packaging machine has undergone an OS upgrade since the last releases. Squid now auto-bundles libltdl 2.2.6b which unfortunately depends on some system headers without detecting their absence cleanly on systems bundling older LTDL.

LTDL is only needed by eCAP presently, so most will be able to safely build with an explicit --disable-loadable-modules.

If you do require eCAP try that CPPFLAGS hack mentioned in the other post by Sean to get LTDL building.

Alternatively people in other projects who have hit this seem to favor patching their libltdl/ltdl.h to use "" quotes in the #include lines instead of <> quotes.

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.4


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux