|
Mailing Lists
|
Home /
Groups /
ColdFusion Mac (CF-Mac)
Compiling Apache 2 2 Module on Leopard for ColdFusion MX 7
Author: Kurt Wiersma
Short Link: http://www.houseoffusion.com/groups/cf-mac/thread.cfm/threadid:1510#4753
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 -----
Author: Kurt Wiersma
Short Link: http://www.houseoffusion.com/groups/cf-mac/thread.cfm/threadid:1510#4752
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 -----
Author: Ulf Unger
Short Link: http://www.houseoffusion.com/groups/cf-mac/thread.cfm/threadid:1510#4751
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 -----
Author: Ulf Unger
Short Link: http://www.houseoffusion.com/groups/cf-mac/thread.cfm/threadid:1510#4750
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
|
May 23, 2012
|
Latest Fusion Authority Articles
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||