#20468: ghc-6.10.3_7 Configure Error - unexpected end of file --------------------------+------------------------------------------------- Reporter: yllan@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: --------------------------+------------------------------------------------- Get this error on my intel leopard machine. {{{ ---> Fetching ghc ---> Attempting to fetch ghc-6.10.3-src.tar.bz2 from http://distfiles.macports.org/ghc ---> Attempting to fetch ghc-6.10.3-src-extralibs.tar.bz2 from http://distfiles.macports.org/ghc ---> Attempting to fetch testsuite-6.10.3.tar.bz2 from http://distfiles.macports.org/ghc ---> Attempting to fetch ghc-6.8.2-darwin-i386-leopard-bootstrap.tar.bz2 from http://distfiles.macports.org/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.10.3" && ./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 --datadir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/destroot/opt/local/share/ghc-6.10.3 --with-gmp-includes=/opt/local/include --with-gmp-libraries=/opt/local/lib --with- ghc='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work /ghc-bootstrap/bin/ghc' --with-gcc=/usr/bin/gcc-4.0 " returned error 2 Command output: checking build system type... i386-apple-darwin9.7.0 checking host system type... i386-apple-darwin9.7.0 checking target system type... i386-apple-darwin9.7.0 Canonicalised to: i386-apple-darwin checking version of ghc... 6.8.2 checking for nhc... no checking for nhc98... no checking for hbc... no checking for ld... /usr/bin/ld ./configure: line 11082: syntax error: unexpected end of file }}} -- Ticket URL: <http://trac.macports.org/ticket/20468> MacPorts <http://www.macports.org/> Ports system for Mac OS