Compiling GHC on Panther using darwin ports
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.
Hi Chris, I maintain the dp ghc port. This may be a regression I accidentally introduced recently. Look at the port file, and let me know the revision number (the field "revision"). If it is 12, I need to make a quick change to the portfile.. If it is less than 12, update from cvs and try the build again. I usually check the darwinports mailing list or the ghc-users list first, in the future you could send mail to those first about problems with the DP port. (Or you can send email to me directly. My address is in the portfile :-) ) Get me the revision number and I should be able to get you going quickly. Best Wishes, Greg Gregory Wright Antiope Associate LLC gwright@antiope.com 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@haskell.org http://www.haskell.org/mailman/listinfo/haskell
In article <83cdf3831f67fc36162a3980146584ba@comcast.net>, Gregory Wright <gwright@comcast.net> wrote:
I maintain the dp ghc port.
Do you work with the person responsible for the Fink port (Matthias Neeracher, apparently)? I think the Fink port is behind (6.2 rather than 6.2.2). -- Ashley Yakeley, Seattle WA
Hi Ashley, No, I haven't been in contact with Matthias or anyone else from Fink. I'd be happy to help them with any problems that they have. Like darwinports, fink seems to be experiencing growing pains right now. (DP is struggling with binary packages and whether to support non-Apple platforms; Fink has trouble adequately supporting both a stable and an unstable branch.) Greg On Mar 8, 2005, at 6:16 AM, Ashley Yakeley wrote:
In article <83cdf3831f67fc36162a3980146584ba@comcast.net>, Gregory Wright <gwright@comcast.net> wrote:
I maintain the dp ghc port.
Do you work with the person responsible for the Fink port (Matthias Neeracher, apparently)? I think the Fink port is behind (6.2 rather than 6.2.2).
-- Ashley Yakeley, Seattle WA
_______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
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@haskell.org http://www.haskell.org/mailman/listinfo/haskell
participants (3)
-
Ashley Yakeley -
Chris Brown -
Gregory Wright