You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jason Novotny <JD...@lbl.gov> on 2001/04/13 04:04:39 UTC
building mod_jk
In using the
jakarta-tomcat/src/native/mod_jk/apache1.3/build-unix.sh script to build
mod_jk, I notice it works only on linux.
It turns out that the version of find on Solaris doesn't have the
-printf option.
After some experimenting it looks like
# use "find" to pick the right include directories for current machine
JAVA_INCLUDE="`find ${JAVA_HOME}/include -type d -printf \"-I %p \"`"
|| echo "find failed, edit build-unix.sh source to fix"
should be replaced by:
JAVA_INCLUDE="`find ${JAVA_HOME}/include -type d -exec echo -I {} \;`"
|| echo "find failed, edit build-unix.sh source to fix"
This seems to work fine on both linux and solaris (and -exec is a
more standard option to find I believe).
Jason
--
Jason Novotny novotny@george.lbl.gov
Home: (510) 549-0574 Work: (510) 486-8662
NERSC Distributed Computing http://www-didc.lbl.gov