|
Mailing Lists
|
Home /
Groups /
ColdFusion Mac (CF-Mac)
Compiling Apache 2 2 Module on Leopard for ColdFusion MX 7
Hi,Ulf Unger 10/27/07 12:37 P Hi,Ulf Unger 10/28/07 09:42 A The second command (apxs -i) didn't work at all for me. It said I had theKurt Wiersma 10/28/07 08:05 P Nevermind, I figured out I needed a space after LIBEXECDIR option.Kurt Wiersma 10/28/07 08:54 P Hi, I tried to compile a Apache module for a multiserver jrun4 cfmx 7 installation. My Leopard has a 64bit (Intel) version of Apache 2.2 preinstalled. After the sucessful compilation and linking (as described in the Apache 2.2 JRun hotfix) of the module I get the following error if I try to start the build in apache: httpd: Syntax error on line 116 of /private/etc/apache2/httpd.conf: Cannot load /Applications/JRun4/lib/wsconfig/1/mod_jrun22.so into server: dlopen(/Applications/JRun4/lib/wsconfig/1/mod_jrun22.so, 10): no suitable image found. Did find:\n\t/Applications/JRun4/lib/ wsconfig/1/mod_jrun22.so: mach-o, but wrong architecture. How can I tell the apxs command my correct architecure (Intel 64 Bit). I know CFMX 8 supports Leopard directly - but I have to stay with CFMX 7. I hope someone has solved (or is capable to solve) this problem... Thanks in advance Ulf Hi, I solved the problem (with a hint I got in a mac only discussion board), just in case someone else needs the information: I used the following command to compile the Apache 2.2 Module on Leopard: apxs -c -Wc,-arch -Wc,x86_64 -Wl,-arch -Wl,x86_64 -n jrun22 mod_jrun22.c jrun_maptable_impl.c jrun_property.c jrun_session.c platform.c jrun_mutex.c jrun_proxy.c jrun_utils.c apxs -i -n jrun22 -S LIBEXECDIR=/Applications/JRun4/lib/wsconfig/1/ mod_jrun22.la (some warning occured - but on my Developer machine everything works fine after a short test and Apache itself started without any problems.) Regards, Ulf Am 27.10.2007 um 18:35 schrieb Ulf Unger: ----- Excess quoted text cut - see Original Post for more ----- The second command (apxs -i) didn't work at all for me. It said I had the wrong arguments. I would really like to figure out how to get the connector complied under 10.5 on MBP. --Kurt ----- Excess quoted text cut - see Original Post for more ----- Nevermind, I figured out I needed a space after LIBEXECDIR option. apxs -i -n jrun22 -S LIBEXECDIR=/Applications/JRun4/lib/wsconfig/1/ \ mod_jrun22.la --Kurt ----- Excess quoted text cut - see Original Post for more -----
|
May 20, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||