[Haskell] Compiling GHC on Panther using darwin ports

Gregory Wright gwright at comcast.net
Sun Feb 27 17:59:58 EST 2005


Hi Chris,

Excellent news. Thank you for helping to track down the bug
in the port.

Best Wishes,
Greg


On Feb 27, 2005, at 1:37 PM, Chris Brown wrote:

> Greg,
>
> That appears to be working now! Thanks very much for your help!
>
> Kind regards,
>
> Chris.
>
>
> On 27 Feb 2005, at 18:00, Gregory Wright wrote:
>
>>
>> Hi Chris,
>>
>> Portfile revision 14 is in cvs and (I hope) does what you need.
>> Let me know if you have problems.
>>
>> If you have trouble, just try installing dlcompat by hand (sudo port  
>> install dlcompat)
>> and ghc should built.  But let me know if you have to resort to this
>> so I can fix the portfile.
>>
>> The ghc build is somewhat of a hairball. Thanks for helping find these
>> bugs.
>>
>> Best Wishes,
>> Greg
>>
>>
>> On Feb 27, 2005, at 12:11 PM, Chris Brown wrote:
>>
>>> Hi Greg,
>>>
>>> Thanks very much for your help, however I am still getting exactly  
>>> the same error message.
>>>
>>> I have done a cvs update in the darwinports directly and tried to  
>>> install ghc again (after a make clean).  I have checked the revision  
>>> number of the portfile for ghc and it says it is revision number 13.
>>>
>>> Hope you can help further...
>>>
>>> Thanks,
>>>
>>> Chris.
>>>
>>>
>>> On 27 Feb 2005, at 16:15, Gregory Wright wrote:
>>>
>>>>
>>>> Hi Chris,
>>>>
>>>> Forget about my last message.  I had accidentally introduced a bug
>>>> in my last revision.  I have updated the portfile; update from cvs  
>>>> and
>>>> you should be ready to go.
>>>>
>>>> (The bootstrap compiler still depends on the darwinports dlcompat
>>>> library, which was not a dependency of the port.  It is now.  I  
>>>> hope to
>>>> remove this constraint and use the system dlcompat when ghc 6.4
>>>> appears in a few weeks.)
>>>>
>>>> Best Wishes,
>>>> Greg
>>>>
>>>>
>>>>
>>>> On Feb 27, 2005, at 6:12 AM, Chris Brown wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I am trying to install GHC on Mac OS X (Panther) using Darwin  
>>>>> Ports. When i run
>>>>>
>>>>> sudo port install ghc
>>>>>
>>>>> I get the following error message shortly into the compilation:
>>>>>
>>>>> ------------------------------------------------------------------- 
>>>>> -----
>>>>> ==fptools== make boot - --no-print-directory -r;
>>>>>  in  
>>>>> /Users/chrisbrown/darwinports/dports/lang/ghc/work/ghc-6.2.2/ghc/ 
>>>>> utils/hasktags
>>>>> ------------------------------------------------------------------- 
>>>>> -----
>>>>> /Users/chrisbrown/darwinports/dports/lang/ghc/work/ghc-bootstrap/ 
>>>>> bin/ghc -M -optdep-f -optdep.depend  -osuf o    -H16m -O  
>>>>> -I/opt/local/include -L/opt/local/lib HaskTags.hs
>>>>> dyld:  
>>>>> /Users/chrisbrown/darwinports/dports/lang/ghc/work/ghc-bootstrap/ 
>>>>> lib/ghc-6.2.2/ghc-6.2.2 can't open library:  
>>>>> /opt/local/lib/libdl.1.dylib  (No such file or directory, errno =  
>>>>> 2)
>>>>> make[3]: *** [depend] Trace/BPT trap
>>>>> make[2]: *** [boot] Error 1
>>>>> make[1]: *** [boot] Error 1
>>>>> make: *** [build] Error 1
>>>>>
>>>>>
>>>>> I remember on Tiger this was because the portfile which tells  
>>>>> darwin ports what to do has a condition in it to compile the  
>>>>> bootstrap differently for panther or jaguar (and obviously not  
>>>>> tiger).
>>>>>
>>>>> Could anyone please help me to fix this compilation error?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Chris Brown.
>>>>>
>>>>> _______________________________________________
>>>>> Haskell mailing list
>>>>> Haskell at haskell.org
>>>>> http://www.haskell.org/mailman/listinfo/haskell
>>>>>
>>>>
>>>
>>
>



More information about the Haskell mailing list