my setup is a little different (freebsd4.6 + apache2.0.43 + tomcat4.1.10
+ mod_jk2) but i tried the following:
- build apache with WITH_THREADS option
- build tomcat
- build connectors from source, they are not in the port (?) . Go to
the jk subdirectory, edit the build.properties file to point to all the
correct pathnames and run ant native. This should give you a working
mod_jk(2).so

I have problems with:
- all jni stuff, and am not using this
- unix domain sockets

Although my system is up and running, i still have some stability
problems. Not sure if it's a freebsd or mod_jk2 thing.

>>> [EMAIL PROTECTED] 19-11-2002 20:27:51 >>>
Has anyone out there been able to get JK2 to work on freebsd?  I have
apache the following packages installed :
apache+mod_ssl-1.3.22+2.8.5_4
autoconf-2.53
automake14-1.4.5
jakarta-ant-1.5.1_3
jakarta-tomcat-4.1.12_2
javavmwrapper-1.3
jdk-1.3.1p6_4

I have tried several strategies without success.  I tried the
/build/jakarta-tomcat-connectors/jk/release/bin/freebsd binaries. 
This
release contains two files : jk_jnicb.so and mod_jk-2.0.42.so.  It
looks
to be for apache 2.0 and I get the following error if load the module
with
apache 1.3
Syntax error on line 57 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/libexec/apache/mod_jk-2.0.42.so into server:
/usr/local/libexec/apache/mod_jk-2.0.42.so: Undefined symbol
"ap_hook_post_config"
Since I couldn't find a 1.3 version of jk or jk2 for freebsd I tried
to
download and build from source.  The buildconf.sh works fine but when
I
run ./configure I get the following error :checking for a
BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking build system type... i386-unknown-freebsdelf4.5
checking host system type... i386-unknown-freebsdelf4.5
checking for ranlib... ranlib
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
loading cache /dev/null within ltconfig
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed

If anyone out there has successfully build the jk or jk2 code for
apache
1.3 I would greatly appreciate your advise on how to procees.
Thanx in advance

Warren C Roberts



--
To unsubscribe, e-mail:  
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to