[MacPorts] #17408: ghc configure failure

MacPorts noreply at macports.org
Wed Nov 26 10:00:20 PST 2008


#17408: ghc configure failure
-----------------------------------+----------------------------------------
 Reporter:  hammond@…              |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:  Port Bugs                            
Component:  ports                  |     Version:  1.6.0                                
 Keywords:                         |        Port:                                       
-----------------------------------+----------------------------------------
 I get this error when I try to build ghc on an intel mac with Tiger.

 ~$ sudo port install ghc
 --->  Fetching perl5.8
 --->  Verifying checksum(s) for perl5.8
 --->  Extracting perl5.8
 --->  Applying patches to perl5.8
 --->  Configuring perl5.8
 --->  Building perl5.8 with target all
 --->  Staging perl5.8 into destroot
 --->  Installing perl5.8 5.8.8_0+darwin_8
 --->  Activating perl5.8 5.8.8_0+darwin_8
 --->  Cleaning perl5.8
 --->  Fetching ghc
 --->  Verifying checksum(s) for ghc
 --->  Extracting ghc
 --->  Applying patches to ghc
 --->  Configuring ghc
 Error: Target org.macports.configure returned: configure failure: shell
 command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.6.1"
 && ./configure --prefix=/opt/local
 --prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/destroot//opt/local
 --mandir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/destroot//opt/local/share/man/
 --with-readline-includes=/opt/local/include --with-readline-
 libraries=/opt/local/lib --disable-openal --disable-alut --with-
 ghc='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work
 /ghc-bootstrap/bin/ghc' " returned error 77
 Command output: checking build system type... i686-apple-darwin8.11.1
 checking host system type... i686-apple-darwin8.11.1
 checking target system type... i686-apple-darwin8.11.1
 Canonicalised to: i386-apple-darwin
 checking for path to top of build tree...
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.6.1
 checking version of ghc... 6.6
 checking for ghc-pkg matching
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work
 /ghc-bootstrap/bin/ghc... no
 checking for ghc-pkg... no
 checking whether ghc has readline package... no
 checking for nhc... no
 checking for nhc98... no
 checking for hbc... no
 checking whether #! works in shell scripts... yes
 checking for perl... /opt/local/bin/perl
 checking if your perl works in shell scripts... yes
 checking for python... /usr/bin/python
 checking for gcc... gcc
 checking for C compiler default output file name... configure: error: C
 compiler cannot create executables
 See `config.log' for more details.

 Error: Status 1 encountered during processing.

 I'm attaching what I hope is the config.log file.

 Mike H.

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


More information about the macports-tickets mailing list