Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Can't get mod_jk to compile

Can't get mod_jk to compile
Thread Tools
Mac Enthusiast
Join Date: Apr 2000
Location: Belgium
Status: Offline
Reply With Quote
Aug 22, 2003, 06:37 AM
 
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?
PowerMac G4 400MHz/832MB/60GB
AlBook G4 15" 1.25GHz/1.5GB/60GB
Athlon 64 3500+/Asus A8N-SLI Premium/2GB RAM/990GB HD/GF7800GT 512
     
Mac Enthusiast
Join Date: Apr 2000
Location: Belgium
Status: Offline
Reply With Quote
Aug 22, 2003, 07:15 AM
 
Updating libtool to 1.4 from www.gnu.org fixed it.
PowerMac G4 400MHz/832MB/60GB
AlBook G4 15" 1.25GHz/1.5GB/60GB
Athlon 64 3500+/Asus A8N-SLI Premium/2GB RAM/990GB HD/GF7800GT 512
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:22 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2