| Subject: mod_jk compile error
| 
| When I use the apxs command I get an error that the jni.h can't be found
| 
|     ../jk/jk_jni_worker.c:67:17 jni.h No such file or directory
|     ...
|     apxs:Break:Command failed with rc=3D1
| 

It means it can't find jni.h from the JDK.  You need to give apxs the path to
the JDK header files.  jni.h in in ${JAVA_HOME}/include

JAVA_HOME=/opt/jdk
OS=solaris

apxs -I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/${OS} ....

which expands to -I /opt/jdk/include and /opt/jdk/include/solaris

Do a 'where java' to figure out $JAVA_HOME.

-Bryan

<snip>
| ________________________________
| 
| Matt Becker
| Mythic Wave Productions, Inc.
| 21053 Devonshire, #201
| Chatsworth, Ca. 91311
| [EMAIL PROTECTED]

Reply via email to