You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "David Tonhofer, m-plify S.A." <d....@m-plify.com> on 2005/03/02 16:36:58 UTC
Some trouble compiling mod_jk (solved, actually)
Hi,
I have managed to compile the "mod_jk" shared object that comes
with jakarta-tomcat-5.5.7-src.tar.gz. That could have been
easier!
Here's a problem I encountered on Red Hat ES 4, just wanted
to share.
If anyone thinks this belongs into bugzilla, I will gladly
add it.
Running "ant native" yields a libtool error that stops the
build process in compile and link mode:
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
libtool: link: unable to infer tagged configuration
libtool: link: specify a tag with `--tag'
...which is not nice. Apparently the 'tag' can be set to
anything -- I haven't found out what it actually is for from
the libtool documentation (!!) This is libtool-1.5.6-4
The workaround:
Edit
jakarta-tomcat-connectors/jk/jkant/java/org/apache/jk/ant/compilers/LibtoolCompiler.java
jakarta-tomcat-connectors/jk/jkant/java/org/apache/jk/ant/compilers/LibtoolLink.java
and add
cmd.createArgument().setValue("--tag=something");
after the existing.
cmd.createArgument().setValue("--mode=compile");
There might be a way to give the "So" Task an appropriate argument, too.
But I think not.
On to the next problem.
-- David Tonhofer
M-PLIFY S.A.
Resp. Informatique
47, av. de la Liberté
L-1931 Luxembourg
Tel: +352 261846-52
Fax: +352 261846-46
Mob: +352 021-139031
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org