tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wilson, Allen" <Allen.Wil...@marcresearch.com>
Subject Apache-Tomcat Configuring....
Date Fri, 07 Feb 2003 23:00:15 GMT
Hello....

I am trying to configure Apache (1.3.27) and Tomcat (4.1.18) to work
together in preparation for adding JetSpeed.

I have tried to following the instructions for creating mod_jk.so
provided by the Wrox Professional Tomcat book and the Galatea.com Flash
Guides and came up with errors on both.

- With the Wrox book, I attempted to build it using the buildconf.so
script and received the following errors when running the make..

In file included from jk_global.h:103,
                 from jk_logger.h:67,
                 from jk_ajp12_worker.h:67,
                 from jk_ajp12_worker.c:65:
/usr/include/sys/socketvar.h:54: parse error before `t_uscalar_t'
/usr/include/sys/socketvar.h:54: warning: no semicolon at end of struct
or union
/usr/include/sys/socketvar.h:55: warning: data definition has no type or
storage class
/usr/include/sys/socketvar.h:222: parse error before `t_uscalar_t'
/usr/include/sys/socketvar.h:222: warning: no semicolon at end of struct
or union
/usr/include/sys/socketvar.h:223: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:224: parse error before `so_addr_size'
/usr/include/sys/socketvar.h:224: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:225: parse error before `so_opt_size'
/usr/include/sys/socketvar.h:225: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:226: parse error before `so_tidu_size'
/usr/include/sys/socketvar.h:226: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:227: parse error before `so_serv_type'
/usr/include/sys/socketvar.h:227: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:230: parse error before `so_acceptor_id'
/usr/include/sys/socketvar.h:230: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:274: parse error before `}'
/usr/include/sys/socketvar.h:623: parse error before `t_scalar_t'
/usr/include/sys/socketvar.h:623: warning: no semicolon at end of struct
or union
/usr/include/sys/socketvar.h:624: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:625: parse error before `si_faddr_soa_len'
/usr/include/sys/socketvar.h:625: warning: data definition has no type
or storage class
/usr/include/sys/socketvar.h:630: parse error before `}'
/usr/include/sys/socketvar.h:248: storage size of `so_laddr' isn't known
/usr/include/sys/socketvar.h:249: storage size of `so_faddr' isn't known
*** Error code 1
make: Fatal error: Command failed for target `jk_ajp12_worker.lo'
Current working directory
/opt/WWW/tomcat-connectors-4.1.18/jk/native/common
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

When I followed the steps in the Flash Guide.....

- I changed the mod_jk-1.3.eapi.so file to mod_jk.so and then put it in
the libexec directory. This gave an about the wrong file type.

- When I tried to build it and used ant...it could not find the
coyote.jar. I tried to use ant to build coyote and go the following
errors

BUILD FAILED
file:/opt/WWW/tomcat-connectors-4.1.18/coyote/build.xml:189: Compile
failed; see the compiler error output for details.



If someone could point me in the right direction to get the mod_jk.so
and Apache/Tomcat configuration going it would be appreciated

Allen

Mime
View raw message