tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: Building tcnative-trunk
Date Thu, 04 Oct 2012 19:45:48 GMT
2012/10/4 Christopher Schultz <>:
> On 10/4/12 3:03 PM, Christopher Schultz wrote:
>> I'm trying to build tcnative-trunk and I'm having trouble
>> specifying where my Java headers are:
>> $ ./buildconf --with-apr=../../apr-1.4.6
> *sigh*
> Turns out that setting $JAVA_HOME works.
> It would be great to be able to specify it on the 'configure' command
> line, like like --with-apr and --with-ssl.
> My configure-fu is not strong. Can someone add this to tcnative-trunk?

Just reading, I see the following in

a) Includes

b) The following macros is called

The TCN_ (Tomcat Native) macro should come from "build/tcnative.m4".

Looking into "build/tcnative.m4" I see an inconsistency. It does not
define "TCN_FIND_JDK", but "TCN_FIND_JAVA":

  AC_ARG_WITH(java,[  --with-java-home=DIR     Specify the location of
your JDK installation],[

So I think that if one does s/TCN_FIND_JDK/TCN_FIND_JAVA/ in
"" then the "--with-java-home" will start working.

The native/BUILDING file could mention the  "--with-java-home" switch.

Best regards,
Konstantin Kolinko

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message