[Mono-osx] Getting Mono to work with Apache in Mac OS X Leopard
md582
mono at matthias-donat.de
Fri Jul 24 13:57:42 EDT 2009
Hi,
thank you very much !!!!
I think the problem was that glib2 was 32-bit !
I first tried to compile it 64bit, but it missed "gettext", i downloaded it
but when trying to make gettext i get maany errors, so i had given it up
and installed MacPorts !
That was easy then....Now I have Mod_Mono running under Apache !
Thanks again !
md582
md582 wrote:
>
> Hi,
> Console says this >>>
>
> 24.07.09 18:05:33 org.apache.httpd[61872] httpd: Syntax error on line 529
> of /private/etc/apache2/httpd.conf: Syntax error on line 8 of
> /private/etc/apache2/mod_mono.conf: Cannot load
> /usr/libexec/apache2/mod_mono.so into server:
> dlopen(/usr/libexec/apache2/mod_mono.so, 10): Symbol not found:
> _g_ascii_table\n Referenced from: /usr/libexec/apache2/mod_mono.so\n
> Expected in: flat namespace\n
>
> Thanks for your reply...
> md582
>
>
> eto wrote:
>>
>> Hi,
>>
>> Yes, Macports is for easy installing of 64-bit glib2. You cannot use
>> glib2 from the mono framework, as it is 32 bit. You do not need to
>> re-compile Mono framework with -m64 and I use the standard os x binaries
>> & installer from mono-project.com
>>
>> However, you DO need to compile glib2 and mod_mono with -m64 though.
>>
>> Check the Console -> All Messages (or /var/log/system.log). It will tell
>> you why apache doesn't start.. typically because the mod_mono can't be
>> loaded because it's the wrong architecture.
>>
>> Cheers!
>> Curtis.
>>
>>
>> md582 wrote:
>>>
>>> Hello,
>>> do i need macports, or is it only for easy installing glib2 ?
>>> I tried to make mod_mono with "// sigaddset (&sigset, SIGPWR);", and
>>> "--prefix=/Library/Frameworks/Mono.framework/Versions/Current", but
>>> Apache does not start. And no error log.
>>> I put my last mail at the end of this mail, with my detailed
>>> problem.....
>>> Perhaps you could help me ?
>>> I dont understand why Apache makes no error log....
>>> Do I have to recompile the Mono-Framework with "-m64" ?
>>> Any Idea ?
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Getting-Mono-to-work-with-Apache-in-Mac-OS-X-Leopard-tp24629121p24649125.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
More information about the Mono-osx
mailing list