loyal_lin
7th June 2004, 01:06 PM
hello
5 days ago i managed to setup apache
and it worked. soon after i tried to setup tomcat and although i started i couldn t reach the page
localhost:8080. maybe because of the firewall.
so i said i should install a connector. i picked up jk1.2.5. i installed it , i run the configuration script but after "make" i got this:
Making all in common
make[1]: Entering directory `/usr/local/src/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/common'
/bin/sh /usr/lib/apr/build/libtool --silent --mode=compile gcc -I/usr/include/httpd -g -O2 -O2 -g -pipe -march=i386 -mcpu=i686 -pthread -DHAVE_APR -g -O2 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I /usr/java/j2sdk1.4.2_04/include -I /usr/java/j2sdk1.4.2_04/include/ -c jk_connect.c
jk_connect.c:99:28: apr_network_io.h: No such file or directory
jk_connect.c:100:23: apr_errno.h: No such file or directory
jk_connect.c:101:25: apr_general.h: No such file or directory
jk_connect.c: In function `jk_resolve':
jk_connect.c:140: error: `apr_pool_t' undeclared (first use in this function)
jk_connect.c:140: error: (Each undeclared identifier is reported only once
jk_connect.c:140: error: for each function it appears in.)
jk_connect.c:140: error: `context' undeclared (first use in this function)
jk_connect.c:141: error: `apr_sockaddr_t' undeclared (first use in this function)
jk_connect.c:141: error: `remote_sa' undeclared (first use in this function)
jk_connect.c:145: error: `APR_SUCCESS' undeclared (first use in this function)
jk_connect.c:148: error: `APR_UNSPEC' undeclared (first use in this function)
jk_connect.c:148: error: `apr_port_t' undeclared (first use in this function)
jk_connect.c:148: error: syntax error before "port"
make[1]: *** [jk_connect.lo] Error 1
make[1]: Leaving directory `/usr/local/src/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/common'
make: *** [all-recursive] Error 1
as it seems tha epr header files are not seen.
i am desperate as i have to implement a project with java servlets.
thanks....immediate help needed
5 days ago i managed to setup apache
and it worked. soon after i tried to setup tomcat and although i started i couldn t reach the page
localhost:8080. maybe because of the firewall.
so i said i should install a connector. i picked up jk1.2.5. i installed it , i run the configuration script but after "make" i got this:
Making all in common
make[1]: Entering directory `/usr/local/src/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/common'
/bin/sh /usr/lib/apr/build/libtool --silent --mode=compile gcc -I/usr/include/httpd -g -O2 -O2 -g -pipe -march=i386 -mcpu=i686 -pthread -DHAVE_APR -g -O2 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I /usr/java/j2sdk1.4.2_04/include -I /usr/java/j2sdk1.4.2_04/include/ -c jk_connect.c
jk_connect.c:99:28: apr_network_io.h: No such file or directory
jk_connect.c:100:23: apr_errno.h: No such file or directory
jk_connect.c:101:25: apr_general.h: No such file or directory
jk_connect.c: In function `jk_resolve':
jk_connect.c:140: error: `apr_pool_t' undeclared (first use in this function)
jk_connect.c:140: error: (Each undeclared identifier is reported only once
jk_connect.c:140: error: for each function it appears in.)
jk_connect.c:140: error: `context' undeclared (first use in this function)
jk_connect.c:141: error: `apr_sockaddr_t' undeclared (first use in this function)
jk_connect.c:141: error: `remote_sa' undeclared (first use in this function)
jk_connect.c:145: error: `APR_SUCCESS' undeclared (first use in this function)
jk_connect.c:148: error: `APR_UNSPEC' undeclared (first use in this function)
jk_connect.c:148: error: `apr_port_t' undeclared (first use in this function)
jk_connect.c:148: error: syntax error before "port"
make[1]: *** [jk_connect.lo] Error 1
make[1]: Leaving directory `/usr/local/src/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/common'
make: *** [all-recursive] Error 1
as it seems tha epr header files are not seen.
i am desperate as i have to implement a project with java servlets.
thanks....immediate help needed