GHC 6.6 for OS X using MacPorts

Gregory Wright gwright at comcast.net
Sat Oct 28 13:30:37 EDT 2006


Aaron,

On Oct 27, 2006, at 12:42 PM, Aaron Tomb wrote:

> Hello,
>
> The Portfile has made it to the servers, but installation doesn't  
> complete successfully for me (on Intel/10.4.8). The first issue is  
> that something happens to the dynamic library lookup path so the  
> configure check for a working C compiler fails with a dyld error. I  
> managed to fix this with the following:
>
>   cd /usr
>   mkdir i686-apple-darwin8
>   cd i686-apple-darwin8
>   ln -s ../lib
>
> This allows configure to complete, but then it seems to have  
> trouble finding the bootstrap compiler. I've attached the entire  
> output, since I think context is important. If it seems more  
> appropriate for this discussion to continue on the MacPorts mailing  
> list, let me know.
>

One more thing:  After adding the symlink, you must do

	sudo port clean ghc

to clean up the failed build before trying again.
Macports is not smart enough to do that yet, but if you don't,
you will have all kinds of unpredictable problems.

-Greg

> Aaron
>
> <ghc-macports.log>
>
> On Oct 27, 2006, at 6:59 AM, Gregory Wright wrote:
>
>>
>> Hi,
>>
>> GHC 6.6 is now available for OS X systems on both Intel and PowerPC
>> processors using the MacPorts infrastructure.
>>
>> The compiler is built from source, using a binary bootstrap  
>> compiler. OS X
>> versions 10.3 (Panther) and 10.4 (Tiger) are supported for PowerPC  
>> processors;
>> for Intel processors, version 10.4.
>>
>> MacPorts (formerly Darwinports) is a packaging system for managing
>> builds of unix-compatible software on OS X.  For more information  
>> on MacPorts,
>> see
>>
>> 		http://www.macports.org/
>>
>> A new ghc-devel port will soon be available for those who just have
>> to live on the bleeding edge.
>>
>>
>> Best Wishes,
>> Greg
>>
>> Gregory Wright
>> Antiope Associates LLC
>> gwright at antiope.com
>>
>> _______________________________________________
>> Glasgow-haskell-users mailing list
>> Glasgow-haskell-users at haskell.org
>> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>



More information about the Glasgow-haskell-users mailing list