Stop! Tickets are now managed at GitHub.

Please enter new tickets, and find and edit existing tickets there:


Ticket #138 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Haskell platform for Mac OS X depends on non-standard perl install

Reported by: dmp Owned by: gregorycollins
Priority: major Milestone:
Component: Platform Keywords:
Cc:

Description

The ghc-asm script has a #!/opt/local/bin/perl which is the perl installed by macports and not the one included by default with the os. If perl is not installed by macports, this will cause an error message like:

ghc: could not execute: /Library/Frameworks/GHC.framework/Versions/612/usr/lib/ghc-6.12.3/ghc-asm

when trying to use the C backend. I think the platform should not depend on a macports version of perl.

It looks like the ghc-split script also referencs the non-standard perl install location.

Change History

Changed 4 years ago by gregorycollins

  • owner changed from dons to gregorycollins
  • status changed from new to assigned

This has been reported (and fixed) on the GHC trac: http://hackage.haskell.org/trac/ghc/ticket/4183. Until GHC rolls another binary installer, the solution is to patch the files in the Haskell platform installer -- accepting the ticket to remind myself to do this when I cut the next installer.

Changed 4 years ago by MtnViewMark

  • status changed from assigned to closed
  • resolution set to fixed

This *is* fixed in the GHC 7.0.1 installer:

[2031] : find dist/root -type f | xargs grep '^#.*perl'
dist/root/Library/Frameworks/GHC.framework/Versions/7.0.1-i386/usr/lib/ghc-7.0.1/ghc-asm:#!/usr/bin/perl
dist/root/Library/Frameworks/GHC.framework/Versions/7.0.1-i386/usr/lib/ghc-7.0.1/ghc-split:#!/usr/bin/perl

So I think we can close this one.

Note: See TracTickets for help on using tickets.