tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: [mod_jk] 1.2.22 won't build (libtool error) :(
Date Fri, 11 May 2007 19:12:56 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rainer,

Thanks for the quick response. I took another look at the configure
output and it appears that workaround I found was valid. I (blindly)
followed the instructions and was able to build a binary.

Rainer Jung wrote:
> this usually happens, if the value of the CC environment variable during
> the creation of libtool differs from the one used when you are using
> libtool.

I'm using binary packages directly from Debian. It looks like libtool
comes from the "libapr1-dev" packages, I have no idea how it was created. :(

> If I check for the CC settings in my libtool it says:

Okay, mine says:

LTCC="i486-linux-gnu-gcc"
CC="i486-linux-gnu-gcc"
LTCC="i486-linux-gnu-gcc"
CC="i486-linux-gnu-g++"

I made your suggested changes to libtool and here's the output of make, now:

$ make clean
$ ./configure --with-apxs=/usr/bin/apxs2
$ make

Making all in common
make[1]: Entering directory
`/usr/local/src/tomcat-connectors-1.2.22-src/native/common'
/usr/share/apr-1.0/build/libtool --silent --mode=compile gcc
- -I/usr/include/apache2 -g -O2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
- -DLINUX=2 -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl
- -I/usr/include/postgresql -I/usr/include/xmltok -pthread   -DHAVE_APR
- -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -g -O2  -I /include -I
/include/ -c jk_ajp12_worker.c -o jk_ajp12_worker.lo
Calling func_infer_tag  gcc -I/usr/include/apache2 -g -O2 -D_GNU_SOURCE
- -D_LARGEFILE64_SOURCE -DLINUX=2 -D_REENTRANT -I/usr/include/apr-1.0
- -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok
- -pthread -DHAVE_APR -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -g -O2
- -I /include -I /include/ -c
Starting func_infer_tag...
available_tags:  CXX
tagname:
Checking against:  i486-linux-gnu-gcc * | i486-linux-gnu-gcc * |
i486-linux-gnu-gcc * | i486-linux-gnu-gcc * |   i486-linux-gnu-gcc* |
i486-linux-gnu-gcc * |  i486-linux-gnu-gcc * | i486-linux-gnu-gcc *)
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[1]: *** [jk_ajp12_worker.lo] Error 1
make[1]: Leaving directory
`/usr/local/src/tomcat-connectors-1.2.22-src/native/common'
make: *** [all-recursive] Error 1

Oddly enough, it looks like it already recognizes the "CXX" tag as being
available. Note that I have no idea what I'm talking about at all ;)

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGRMA49CaO5/Lv0PARAod3AJ47BNgv21lyyJRO+bLzwUjxBlex9wCfX10P
xVoMT0r27f1Q9yaiAld6fHQ=
=5Xcq
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message