tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Building tcnative-trunk
Date Thu, 04 Oct 2012 19:03:11 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All,

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

Looking for apr source in ../../apr-1.4.6
Creating configure ...
Generating 'make' outputs ...
rebuilding rpm spec file

$ ./configure --with-apr=../../apr-1.4.6 --with-ssl=/usr
- --with-java=/usr/lib/jvm/java-6-sun
configure: WARNING: unrecognized options: --with-java
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for working mkdir -p... yes
Tomcat Native Version: 1.2.0
checking for chosen layout... tcnative
checking for APR... yes
configure: APR 1.4.6 detected.
  setting CC to "gcc"
  setting CPP to "gcc -E"
./configure: line 2684: TCN_FIND_JDK: command not found
./configure: line 2685: TCN_SABLEVM: command not found
./configure: line 2686: TCN_J9VM: command not found
  adding "-I/usr/include" to TCNATIVE_PRIV_INCLUDES
checking for JDK os include directory... Cannot find jni_md.h in /usr/
configure: error: You should retry --with-os-type=SUBDIR


I also tried --with-java-home which is how you build the tcnative
1.1.x branch.

Any ideas?

Thanks,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBt3W8ACgkQ9CaO5/Lv0PCqMgCgjHMk+mo7OgifebOO1iFtdzMD
kOMAnAsnwkP8Ilywv3u/JSAzLYWD/W4S
=Ktn6
-----END PGP SIGNATURE-----

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


Mime
View raw message