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               [EMAIL PROTECTED]
Home: (510) 549-0574        Work: (510) 486-8662
NERSC Distributed Computing http://www-didc.lbl.gov



Reply via email to