Opened 13 years ago
Last modified 12 years ago
#31781 closed defect
ghc will not build on Lion — at Version 1
Reported by: | bowman@… | Owned by: | ryandesign@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | gwright@… | |
Port: | ghc |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
On OSX Lion, using XCode 4.2 and a fresh install of macports I am unable to build ghc.
Here is what I take to be the relevant portion of the build log:
:info:configure checking for ld... /usr/bin/ld :info:configure checking for path to top of build tree... ghc: could not execute: /usr/bin/gcc-4.2 :info:configure ./configure: line 3314: utils/pwd/pwd: No such file or directory :info:configure configure: error: cannot determine current directory :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/ghc-6.10.4" && ./configure --prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/destroot/opt/local --datadir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/destroot/opt/local/share/ghc-6.10.4 --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_tarballs_ports_lang_ghc/ghc/work/ghc-bootstrap/bin/ghc' --with-gcc=/usr/bin/gcc-4.2 --build=x86_64-apple-darwin --host=x86_64-apple-darwin --target=x86_64-apple-darwin " returned error 1 :error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details) :debug:configure Backtrace: configure failure: shell command failed (see log for details) while executing "$procedure $targetname" :info:configure Warning: the following items did not execute (for ghc): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:configure Log for ghc is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/main.log
configure complains that gcc-4.2 is not installed. Of course gcc-4.2 will not build on Lion, so I'm not sure if a symlink is supposed to be in place of what.
Change History (2)
Changed 13 years ago by bowman@…
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | gwright@… added |
---|---|
Description: | modified (diff) |
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | ghc added |
Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.
main.log