Ticket #22729 (closed defect: fixed)
gnustep-make gets wrong archflags due to not setting configure.compiler
| Reported by: | lisfolks.lists@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.1 |
| Keywords: | Cc: | ||
| Port: | gnustep-make |
Description
I am getting the same gnustep-make config error described in Frank's messages referenced below. I have attached my config.log file, which also indicates the -arch command line error. I'm using an Intel-based MacBook Pro running Leopard 10.5.8. --LeAnne Lis
-arch command line error from config.log:
configure:2398: gcc-mp-4.2 -O2 -arch i386 -I/opt/local/include -L/opt/local/lib conftest.c >&5
cc1: error: unrecognized command line option "-arch"
Reference to Frank's earlier messages:
http://old.nabble.com/gnustep-make-failed-to-install-tp25937081p25937081.html
gnustep-make failed to install Date: Oct 17, 2009; 05:31am
Author: Frank J. R. Hanstick
MacPorts - Users ( http://old.nabble.com/MacPorts---Users-f22107.html)
AND
http://old.nabble.com/gnustep-error.-tp26248862p26248862.html
gnustep error.
Date: Nov 06, 2009; 07:20pm
Author: Frank J. R. Hanstick
MacPorts - Users ( http://old.nabble.com/MacPorts---Users-f22107.html)
<clipped>
c-24-19-218-170:~ frank$ sudo port install gnustep
---> Computing dependencies for gnustep
---> Configuring gnustep-make
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_gnustep_gnustep-make/work/gnustep- make-2.2.0" && ./configure --prefix=/opt/local/GNUstep CC=gcc-mp-4.2 -- with-library-combo=gnu-gnu-gnu --with-objc-lib-flag=-lobjc-gnu --with- config-file=/opt/local/GNUstep/System/Library/GNUstep.conf " returned error 77
Command output: checking for gcc... gcc-mp-4.2
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
<clipped>
Error: Status 1 encountered during processing.
<clipped>


