Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#17337 closed defect (worksforme)

ghc-6.10.1 Configure error. Build failure

Reported by: zorton@… Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: ghc

Description

building ghc fails out of the configure script with the following.

`--> 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.10.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 --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.1 --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... 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... /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-bootstrap/bin/ghc-pkg
checking whether ghc has editline package... no
checking for nhc... no
checking for nhc98... no
checking for hbc... no
checking for ld... /usr/bin/ld
checking for path to top of build tree... dyld: Library not loaded: /usr/i686-apple-darwin8/lib/libgcc_s.1.dylib
  Referenced from: /usr/bin/gcc
  Reason: image not found
./configure: line 1: utils/pwd/pwd: No such file or directory
configure: error: cannot determine current directory

Error: Status 1 encountered during processing.

Change History (8)

comment:1 Changed 16 years ago by zorton@…

Cc: zorton@… added

Cc Me!

comment:2 in reply to:  description ; Changed 16 years ago by blb@…

Owner: changed from macports-tickets@… to gwright@…

Replying to zorton@…:

checking for path to top of build tree... dyld: Library not loaded: /usr/i686-apple-darwin8/lib/libgcc_s.1.dylib

Referenced from: /usr/bin/gcc

Reason: image not found

That's odd, /usr/bin/gcc should be linked to /usr/lib/libgcc_s.1.dylib not /usr/i686-apple-darwin8/lib/libgcc_s.1.dylib. What version of Xcode do you have installed?

comment:3 in reply to:  2 Changed 16 years ago by zorton@…

Replying to blb@…:

Replying to zorton@…:

checking for path to top of build tree... dyld: Library not loaded: /usr/i686-apple-darwin8/lib/libgcc_s.1.dylib

Referenced from: /usr/bin/gcc

Reason: image not found

That's odd, /usr/bin/gcc should be linked to /usr/lib/libgcc_s.1.dylib not /usr/i686-apple-darwin8/lib/libgcc_s.1.dylib. What version of Xcode do you have installed?

2.2.1 is the version the Xcode application is reporting.

comment:4 Changed 16 years ago by jmroot (Joshua Root)

We recommend using XCode 2.4.1 or later, as the older versions all have significant issues of one sort or another.

comment:5 Changed 16 years ago by gwright@…

Status: newassigned

Let us know if you still have a problem after updating Xcode. The latest portfile revision (revision 8) builds on i386/Leopard, i386/Tiger and ppc/Tiger. There is a known but not yet resolved problem that prevents building on ppc/Leopard.

comment:6 in reply to:  5 Changed 16 years ago by zorton@…

Replying to gwright@…:

Let us know if you still have a problem after updating Xcode. The latest portfile revision (revision 8) builds on i386/Leopard, i386/Tiger and ppc/Tiger. There is a known but not yet resolved problem that prevents building on ppc/Leopard.

Issue s resolved with Xcode 2.5. I ended up having to rebuild all the dependencies as well though.

comment:7 Changed 16 years ago by mf2k (Frank Schima)

Cc: zorton@… removed
Resolution: worksforme
Status: assignedclosed

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.