Ralf Wildenhues wrote:
* Amos Jeffries wrote on Thu, May 07, 2009 at 04:42:08PM CEST:
Ralf Wildenhues wrote:
* Amos Jeffries wrote on Mon, May 04, 2009 at 03:16:50AM CEST:
The linkage problem is then displayed by:
mkdir test && cd test && ../configure --silent && make check
What problem is this?  Can you post the libtool --mode=link command that
fails, plus all of its output?

I don't get as far as running "make check": "make all" already fails on
[...]

Ah no sorry that was our fault. We had a small fubar of the dist files. Now fixed and should be in the next snapshot.

Thanks.  I get further now, 'make all' succeeds and 'make check' fails
like this:

make[3]: Entering directory `/tmp/squid/squid-3.HEAD-20090508/build/src/ip'
g++ -DHAVE_CONFIG_H  -I../../.. -I../../../include -I../../../src 
-I../../include   -I/usr/include/libxml2  -Werror -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments  -g -O2 -MT testIpAddress.o -MD -MP -MF 
.deps/testIpAddress.Tpo -c -o testIpAddress.o ../../../src/ip/testIpAddress.cc
In file included from ../../../src/ip/testIpAddress.cc:2:
../../../src/ip/testIpAddress.h:4:45: error: cppunit/extensions/HelperMacros.h: 
No such file or directory
In file included from ../../../src/ip/testIpAddress.cc:2:
../../../src/ip/testIpAddress.h:10: error: 'CPPUNIT_NS' has not been declared

Ah, now that is a dependency issue. cppunit is missing. It's not an official build-dep for build, only for testing.

Meanwhile the requested info is:

bin/bash ../libtool --tag=CXX --mode=link g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments -g -O2 -g -o squid -export-dynamic -dlopen force AclRegs.o AuthReg.o access_log.o asn.o
[...]
DiskIO/DiskIOModules_gen.o repl_modules.o globals.o string_arrays.o libsquid.la auth/libacls.la acl/libacls.la acl/libstate.la auth/libauth.la acl/libapi.la base/libbase.la ip/libip.la fs/libfs.la icmp/libicmp.la icmp/libicmp-core.la -L../lib DiskIO/Blocking/BlockingDiskIOModule.o repl/liblru.a libBlocking.a -lcrypt ../snmplib/libsnmp.a -lmiscutil -lm -lresolv -lnsl -ldl lib/libLtdl/libltdlc.la

libtool: link: cannot find the library `lib/libLtdl/libltdlc.la' or unhandled argument `lib/libLtdl/libltdlc.la'

Thats the lot of the visible error.
Thats built from src/Makefile so it actually exists at ../lib/libLtdl/libltdlc.la

Interesting.  Before I started the build, I rebootstrapped with mostly
git master versions of autotools, and for me, src/squid builds fine and
in src/Makefile,
  top_build_prefix = ../

Now, presumably this is some issue with the specific autotools versions
you have.  Can you state the exact package versions of Autoconf,
Automake, and Libtool that you have (not sure if there have been uploads
since then)?

Thanks,
Ralf

I'm currently building on two systems. Both encounter this same issue:

Libtool (Debian) says:

      host-triplet:     i486-pc-linux-gnu
      shell:            /bin/bash
      compiler:         gcc
      compiler flags:           -Wall -g -O2
      linker:           /usr/bin/ld (gnu? yes)
      libtool:          (GNU libtool) 2.2.6 Debian-2.2.6a-4
      automake:         automake (GNU automake) 1.10.2
      autoconf:         autoconf (GNU Autoconf) 2.63

Debian Lenny packages are:

 autoconf 2.63-3
 automake 1:1.10.2-1
 libtool 2.2.6a-4


Libtool (Ubuntu) says:

      host-triplet:     i486-pc-linux-gnu
      shell:            /bin/bash
      compiler:         gcc
      compiler flags:           -Wall -g -O2
      linker:           /usr/bin/ld (gnu? yes)
      libtool:          (GNU libtool) 2.2.6 Debian-2.2.6a-1ubuntu1
      automake:         automake (GNU automake) 1.9.6
      autoconf:         autoconf (GNU Autoconf) 2.63


Ubuntu Jaunty packages are:
 autoconf 2.63-2ubuntu1
 automake <none>
 libtool 2.2.6a-1ubuntu1


Amos



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to