[Mono-osx] (DESPERATE!!) Getting Mono to work with Apache in Mac OS X Leopard

Andrew Satori dru at druware.com
Tue Aug 18 11:04:32 EDT 2009


You've done alot of not needed work.


The trick is setting the build environment up first.  You just have to  
ensure that you have your environment correct.

export SDK=/Developer/SDKs/MacOSX10.5.sdk
export CFLAGS="-O -mmacosx-version-min=10.5 -arch ppc64 -arch x86_64 - 
isysroot $SDK"
export LDFLAGS="-arch x86_64 -arch ppc64 "
export LD="gcc -mmacosx-version-min=10.4 -isysroot $SDK -nostartfiles - 
arch x86_64 -arch ppc64"


This will get your basic 64bit environment set, but then you have to  
make the mod_mono specific tweaks.  configure won't find glib-2.0.   
You have to build it in the 64 bit environment, though iconv is 64bit  
in /usr/lib, so that should get you where you need to be.




On Aug 18, 2009, at 10:23 AM, Andrew Satori wrote:

> Are the glib-2.0 pc files not included in the framework anymore ?
>
> On Aug 17, 2009, at 7:41 PM, eto wrote:
>
>>
>> Hi asleB,
>>
>> Looks like you need to uninstall & re-build libiconv.  Note that
>> it's not
>> JUST libtool and glib2 that need to be built for x64, it's ALL
>> dependant
>> libraries as well.
>>
>> You have a few choices: uninstall all macports manually then re-
>> install
>> them, or wipe your macports and install fresh, since nothing would
>> have been
>> compiled in 64 bit anyway.
>>
>> Hope this helps!
>> Curtis.
>>
>>
>> asleB wrote:
>>>
>>> Hello,
>>> I wonder if anyone here could spare a little time to help me get
>>> mod_mono configured with my Apache.
>>> I am willing to pay to fix this!
>>>
>>> /asle
>>>
>>> Den 14. aug.. 2009 kl. 19.45 skrev Asle Benoni:
>>>
>>>> Hello,
>>>> I think I progressed much here. I was able to uninstall old  
>>>> packages
>>>> so that I could be X64 packages. First of all I think the clue was
>>>> to get uninstall and install libtool and glib2. What a mess it was,
>>>> I don' even remember now all I did.
>>>>
>>>>
>>>> Anyway I downloaded mod_mono source and did the configure stuff but
>>>> it fails on make  with this error. I am not sure how to fix it:
>>>
>> -- 
>> View this message in context: http://www.nabble.com/Re%3A-Getting-Mono-to-work-with-Apache-in-Mac-OS-X-Leopard-tp24971800p25016194.html
>> Sent from the Mono - OSX mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Mono-osx mailing list
>> Mono-osx at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-osx
>>
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>



More information about the Mono-osx mailing list