-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All,

I finally beat my Debian installation into submission so it would
install "apxs" so I could build mod_jk for my package-managed apache2
(have been running from source for a loooong time).

Right out of the box, mod_jk won't build:

$ wget
'http://www.ibiblio.org/pub/mirrors/apache/tomcat/tomcat-connectors/jk/source/jk-1.2.22/tomcat-connectors-1.2.22-src.tar.gz'
$ tar xzf tomcat-connectors-1.2.22-src.tar.gz
$ cd cd tomcat-connectors-1.2.22-src/native
$ ./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
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

I searched for similar errors online and I found this "workaround" that
frankly doesn't make any sense to me (the instructions don't appear to
allow me to make any progress):

http://www.trustix.net/wiki/index.php?title=Mod_JK&printable=yes (search
for "unable to infer").

For instance, the "workaround" suggests that I should look for messages
about the configure script creating libtool and then "appending
configuration tags". I don't see that when I run configure, so I'm
unsure of what to do next.

It seems obvious that I should try to simply add the CXX tag to the
libtool invocation (even though I'm not entirely sure it's what I need)
but can anyone explain what's going wrong and why it doesn't work out of
the box?

I'd be happy to try a bunch of things to help the super mod_jk
developers improve the package.

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

iD8DBQFGRHTm9CaO5/Lv0PARAjxGAJ40wrviGtDwqgZnBV2udp2mXnGZbQCeMC/G
PN4W2s78DlxrC1e26w3/V/Y=
=JXCs
-----END PGP SIGNATURE-----

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

Reply via email to