Problem installing ghc

Max Brown max.e.brown at gmail.com
Sun Dec 16 09:11:11 PST 2007


Hi,

I just tried installing ghc on my new Macbook Pro, and get:

$ sudo port install 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 " returned error 1
Command output: checking build system type... i686-apple-darwin9.1.0
checking host system type... i686-apple-darwin9.1.0
checking target system type... i686-apple-darwin9.1.0
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 for ghc... no
checking for ghc-pkg matching ... no
checking for ghc-pkg... no
checking whether ghc has readline package... no
checking for nhc... no
checking for nhc98... /opt/local/bin/nhc98
checking for hbc... no
configure: error: GHC is required unless bootstrapping from .hc files.

What can I do to fix this?

Thanks.

Max

Macports version 1.520
Xcode version 3
Mac OS X 10.5.1 (Leopard)


More information about the macports-users mailing list