Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling jk2 for Tomcat 4.1



Hi,

I have problems with compiling the jk2 module for apache 1.3 on 10.2. While running ant native, I get the following output:



[so] Compiling 18 out of 18
Compiling /Users/cyrill/jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c
[so] Compile failed 1 /Users/cyrill/jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c
[so] Command:libtool --mode=compile cc -c -o /Users/cyrill/jakarta-tomcat-connectors/jk/build/jk/apache13/apache- 1.3/mod_jk.o -I/Users/cyrill/jakarta-tomcat-connectors/jk/native/common -I${build.compiler.base}/include -I/usr/sbin/include -I/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/../ include -g -W /Users/cyrill/jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c
[so] Output:

[so] StdErr:
[so] /usr/bin/libtool: unknown option character `-' in: --mode=compile
[so] Usage: /usr/bin/libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT]
[so] 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]

BUILD FAILED
file:/Users/cyrill/jakarta-tomcat-connectors/jk/native/build.xml:222: Compile failed /Users/cyrill/jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c

Total time: 2 seconds


It seems thate the script generates wrong arguments for the libtool on MacOS X?


Regards,

Cyrill
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.