I posted this yesterday:
try compiling with apxs directly. I had problems as well. 
Something like this (from the jk/native/apache_1.3 directory):
apxs -Wc,-O3 -I ../common -I /usr/java/include \
                            -I /usr/java/include/solaris \
      -c mod_jk.c ../common/*c

Then copy the mod_jk.so file to the libexec directory. You may have to
adjust your include directories for your system

The macox java include directories are in some thing like $JAVA_HOME/include


I did it on solaris and macosx.

Jonathan

> -----Original Message-----
> From: Matt Raible [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 27, 2002 4:34 PM
> To: Tomcat Users List
> Subject: Building mod_jk.so for Mac OS X
> 
> 
> Since I didn't find a pre-built mod_jk.so for Mac OS X, I 
> tried to build it
> myself from source, but I'm getting the following error when 
> I do "make" -
> any ideas?
> 
> [MINIME:jakarta-tomcat-connectors-jk-1.2.0-src/jk/native] root# make
> Making all in common
> /usr/bin/libtool --mode=compile gcc 
> -I/usr/local/apache2/include -g -O2 -g
> -O2 -g -O2 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I
> /usr/include -I /usr/include/ -c jk_ajp12_worker.c
> /usr/bin/libtool: unknown option character `-' in: --mode=compile
> Usage: /usr/bin/libtool -static [-] file [...] [-filelist
> listfile[,dirname]] [-arch_only arch] [-sacLT]
> Usage: /usr/bin/libtool -dynamic [-] file [...] [-filelist
> listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name]
> [-compatibility_version #] [-current_version #] [-seg1addr 0x#]
> [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] 
> [-seg_addr_table
> <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load]
> [-noall_load]
> make[1]: *** [jk_ajp12_worker.lo] Error 1
> make: *** [all-recursive] Error 1
> 
> 
> --
> 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