[MacPorts] #19747: ghc 6.10.3 using hard coded /opt/local

MacPorts noreply at macports.org
Mon Jun 8 15:26:50 PDT 2009


#19747: ghc 6.10.3 using hard coded /opt/local
--------------------------------+-------------------------------------------
 Reporter:  dmathers@…          |       Owner:  gwright@…           
     Type:  defect              |      Status:  new                 
 Priority:  Normal              |   Milestone:                      
Component:  ports               |     Version:  1.7.1               
 Keywords:                      |        Port:  ghc                 
--------------------------------+-------------------------------------------

Comment(by h8spawn@…):

 I'm having the same problem with a really fresh port installation.
 That is on Mac OS X 10.4, Intel with Xcode 2.5, after doing

 {{{
 sudo port -f uninstall installed
 sudo rm -rf /Library/Tcl/macports1.0/ /Library/Receipts/MacPorts-1.* /opt
 rm -r ~/.macports/
 }}}

 and reinstalling MacPorts,

 {{{
 sudo port install ghc
 }}}

 fails with:

 {{{
 Preprocessing library ghc-6.10.3...
 /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: can't locate file for: -lgmp
 collect2: ld returned 1 exit status
 linking dist-stage1/build/Fingerprint_hsc_make.o failed
 }}}

 By the way, a similar (identical?) bug for ghc 6.10.1 was reported as
 ticket #17321 [[BR]]
 and considered fixed a few months ago.

-- 
Ticket URL: <http://trac.macports.org/ticket/19747#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list