Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#17408 closed defect (worksforme)

ghc configure failure

Reported by: hammond@… Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: ghc

Description (last modified by mf2k (Frank Schima))

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.

Attachments (1)

config.log (10.4 KB) - added by hammond@… 16 years ago.

Download all attachments as: .zip

Change History (6)

Changed 16 years ago by hammond@…

Attachment: config.log added

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to gwright@…
Port: ghc added

Assigning to maintainer.

comment:2 Changed 16 years ago by tobypeterson

Sounds like you need to install Xcode Tools. http://developer.apple.com/technology/xcode.html

comment:3 Changed 16 years ago by tobypeterson

Although, since perl worked... it's possible that "i686-apple-darwin8.11.1" is tripping it up.

comment:4 Changed 16 years ago by tobypeterson

Resolution: worksforme
Status: newclosed

Ah, this is the same issue as #17337. Please upgrade your Xcode Tools installation: http://developer.apple.com/technology/xcode.html

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.