tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Bush <cr...@nmr.utmb.edu>
Subject ./build-unix.sh error
Date Thu, 01 Mar 2001 23:24:54 GMT
Thanks for the help with the configure enablers for Apache.  

I guess IRIX likes likes it's Apache configure for DSO this way...

./configure \
--prefix=/usr/local/apache \
--enable-module=most \
--enable-shared=max


Now I'm trying to press my luck and get mod_jk.so to be built.

Got this error:

APACHE_HOME=/usr/local/apache
-printf: bad option
Usage: find path-list predicate-list
find failed, edit build-unix.sh source to fix
Compiling mod_jk
gcc -DIRIX -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -fpic
-DSHARED_MODULE -I/usr/local/apache/include -I../common  -c mod_jk.c
In file included from ../common/jk_util.h:66,
                 from mod_jk.c:90:
../common/jk_pool.h:116: parse error before `jk_pool_atom_t'
mod_jk.c: In function `jk_handler':
mod_jk.c:701: `jk_pool_atom_t' undeclared (first use in this function)
mod_jk.c:701: (Each undeclared identifier is reported only once
mod_jk.c:701: for each function it appears in.)
mod_jk.c:701: parse error before `buf'
mod_jk.c:702: `buf' undeclared (first use in this function)
apxs:Break: Command failed with rc=1
Installing mod_jk.so into /usr/local/apache/libexec
mod_jk.so - No such file or directory
Done. Install by running ./install-unix.sh


So I went into build-unix.sh and uncommented this line:

JAVA_INCLUDE="-I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/irix"

on line 47

reran and got basically the same error...

APACHE_HOME=/usr/local/apache
-printf: bad option
Usage: find path-list predicate-list
find failed, edit build-unix.sh source to fix
Compiling mod_jk
gcc -DIRIX -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -fpic
-DSHARED_MODULE -I/usr/local/apache/include -I../common
-I/usr/java/include -I/usr/java/include/irix  -c mod_jk.c
In file included from ../common/jk_util.h:66,
                 from mod_jk.c:90:
../common/jk_pool.h:116: parse error before `jk_pool_atom_t'
mod_jk.c: In function `jk_handler':
mod_jk.c:701: `jk_pool_atom_t' undeclared (first use in this function)
mod_jk.c:701: (Each undeclared identifier is reported only once
mod_jk.c:701: for each function it appears in.)
mod_jk.c:701: parse error before `buf'
mod_jk.c:702: `buf' undeclared (first use in this function)
apxs:Break: Command failed with rc=1
Installing mod_jk.so into /usr/local/apache/libexec
mod_jk.so - No such file or directory
Done. Install by running ./install-unix.sh


What does "Command failed with rc=1"?  Can anyone think of a work
around?


craig

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Craig R. Bush
  Bioinformatics Software Engineer
  Sealy Center for Structural Biology
  Dept. of Human Biological Chemistry & Genetics
  University of Texas Medical Branch
  Galveston, TX  77555-1157 (409)747-6809; Fax -6850
  http://www.bioinfo.utmb.edu http://www.hbcg.utmb.edu
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Mime
View raw message