I'm trying to get mod_jk to compile, so I can link tomcat to my apache server. However, I keep getting errors.
When running this:
Code:
./configure --with-apxs=/usr/sbin/apxs --with-tomcat41=/Users/evinyatar/jakarta-tomcat-4.1.27/ --with-java-home=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Home
in jakarta-tomcat-connectors-4.1.27-src/jk/native, I get this:
Code:
checking build system type... configure: error: /bin/sh scripts/build/unix/config.sub -apple-darwin6.6 failed
So I try
Code:
./configure --with-apxs=/usr/sbin/apxs --with-tomcat41=/Users/evinyatar/jakarta-tomcat-4.1.27/ --with-java-home=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Home --build=powerpc-apple-darwin6.6
instead, but then I get
Code:
evinyatar@Hercules native $ make
Making all in common
/usr/bin/libtool --mode=compile gcc -I/usr/include/httpd -g -O2 -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe -DHARD_SERVER_LIMIT=2048 -DEAPI -g -O2 -I /include -I /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
Anyone have any ideas?