[MacPorts] #17408: ghc configure failure
#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
#17408: ghc configure failure -----------------------------------+---------------------------------------- Reporter: hammond@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: ghc -----------------------------------+---------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => gwright@… * port: => ghc Old description:
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.
New description: 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. -- Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macports.org/ticket/17408#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17408: ghc configure failure -----------------------------------+---------------------------------------- Reporter: hammond@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: ghc -----------------------------------+---------------------------------------- Comment(by toby@…): Sounds like you need to install Xcode Tools. http://developer.apple.com/technology/xcode.html -- Ticket URL: <http://trac.macports.org/ticket/17408#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17408: ghc configure failure -----------------------------------+---------------------------------------- Reporter: hammond@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: ghc -----------------------------------+---------------------------------------- Comment(by toby@…): Although, since perl worked... it's possible that "i686-apple- darwin8.11.1" is tripping it up. -- Ticket URL: <http://trac.macports.org/ticket/17408#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17408: ghc configure failure ------------------------------------+--------------------------------------- Reporter: hammond@… | Owner: gwright@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: worksforme | Keywords: Port: ghc | ------------------------------------+--------------------------------------- Changes (by toby@…): * status: new => closed * resolution: => worksforme Comment: Ah, this is the same issue as #17337. Please upgrade your Xcode Tools installation: http://developer.apple.com/technology/xcode.html -- Ticket URL: <http://trac.macports.org/ticket/17408#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts