#19946: ghc 6.10.3 fails to build on Intel OS X 10.4.11 during config ----------------------------------------+----------------------------------- Reporter: florin.bocaneala@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ghc 6.10.3 ----------------------------------------+----------------------------------- {{{ ---> 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' " returned error 1 Command output: checking build system type... i386-apple-darwin8.11.1 checking host system type... i386-apple-darwin8.11.1 checking target system type... i386-apple-darwin8.11.1 Canonicalised to: i386-apple-darwin checking version of ghc... ./configure: line 2243: 14134 Trace/BPT trap "${WithGhc-ghc}" --version >conftestghc 2>&1 unknown ./configure: line 2240: test: unknownunknown: integer expression expected ./configure: line 2241: test: unknownunknown: integer expression expected ./configure: line 2242: test: unknownunknown: integer expression expected checking for nhc... no checking for nhc98... no checking for hbc... no checking for ld... /usr/bin/ld ./configure: line 2642: test: unknown: integer expression expected checking for path to top of build tree... dyld: Library not loaded: /opt/local/lib/libgmp.3.dylib Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work /ghc-bootstrap/lib/ghc-6.10.1/ghc Reason: no suitable image found. Did find: /opt/local/lib/libgmp.3.dylib: mach-o, but wrong architecture /opt/local/lib/libgmp.3.dylib: mach-o, but wrong architecture ./configure: line 2662: 14156 Trace/BPT trap $WithGhc -v0 --make pwd -o pwd ./configure: line 1: utils/pwd/pwd: No such file or directory configure: error: cannot determine current directory Error: Status 1 encountered during processing. }}} Despite the error message above, gmp was installed without any error and it seems to be built for i386. -- Ticket URL: <http://trac.macports.org/ticket/19946> MacPorts <http://www.macports.org/> Ports system for Mac OS