House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Mac (CF-Mac)

Compiling Apache 2 2 Module on Leopard for ColdFusion MX 7

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Hi,
Ulf Unger
10/27/07 12:37 P
Hi,
Ulf Unger
10/28/07 09:42 A
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ulf Unger
10/27/2007 12:37 PM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ulf Unger
10/28/2007 09:42 AM

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 -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Kurt Wiersma
10/28/2007 08:05 PM

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 -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Kurt Wiersma
10/28/2007 08:54 PM

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 -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-mac

November 23, 2014

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
             1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30             

Designer, Developer and mobile workflow conference