#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>
Attachments (1)
Change History (3)
Changed 15 years ago by lisfolks.lists@…
Attachment: | config.log added |
---|
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Summary: | Config error: gnustep-make → gnustep-make gets wrong archflags due to not setting configure.compiler |
comment:2 Changed 15 years ago by trog24 (Frank J. R. Hanstick)
After sudo port selfupdate, I tried installing gnustep with the following result:
c-24-19-218-170:~ frank$ sudo port install gnustep ---> Computing dependencies for gnustep Portfile changed since last build; discarding previous state. ---> Fetching gnustep-make ---> Verifying checksum(s) for gnustep-make ---> Extracting gnustep-make ---> Configuring gnustep-make ---> Building gnustep-make ---> Staging gnustep-make into destroot Note: gnustep-make installs files outside the common directory structure. ---> Installing gnustep-make @2.2.0_0+darwin+gnustep_layout
########################################################## To have a fully working GNUstep make system, please add '. /opt/local/GNUstep/System/Library/Makefiles/GNUstep.sh' to your shell login (in ~/.profile)
You may also want to set up your MANPATH : export MANPATH=$GNUSTEP_LOCAL_ROOT/Library/Documentation/man:$GNUSTEP_SYSTEM_ROOT/Library/Documentation/man:/opt/local/share/man:/usr/share/man ########################################################## ---> Activating gnustep-make @2.2.0_0+darwin+gnustep_layout ---> Cleaning gnustep-make ---> Fetching libffi ---> Attempting to fetch libffi-3.0.8.tar.gz from http://distfiles.macports.org/libffi ---> Verifying checksum(s) for libffi ---> Extracting libffi ---> Applying patches to libffi ---> Configuring libffi ---> Building libffi ---> Staging libffi into destroot ---> Installing libffi @3.0.8_1 ---> Activating libffi @3.0.8_1 ---> Cleaning libffi ---> Fetching gnustep-base ---> Attempting to fetch gnustep-base-1.19.1.tar.gz from http://distfiles.macports.org/gnustep-base ---> Verifying checksum(s) for gnustep-base ---> Extracting gnustep-base ---> Applying patches to gnustep-base ---> Configuring gnustep-base 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-base/work/gnustep-base-1.19.1" && ./configure --prefix=/opt/local CC=gcc-mp-4.2 GNUSTEP_MAKEFILES=/opt/local/share/GNUstep/Makefiles --disable-tls --enable-libffi --with-ffi-include=/opt/local/include/gcc42 --with-ffi-library=/opt/local/lib/gcc42 " returned error 1 Command output: ./configure: line 1401: gnustep-config: command not found configure: error: cannot find install-sh or install.sh in /opt/local/share/GNUstep/Makefiles .opt/local/share/GNUstep/Makefiles
Error: The following dependencies failed to build: ArtResources gnustep-core gnustep-back gnustep-gui gnustep-base gnutls libgcrypt libgpg-error libtasn1 lzo opencdk libungif libart_lgpl GMastermind GMines GNUMail Etoile SQLClient Performance oniguruma5 poppler gtk2 atk glib2 gtk-doc docbook-xml docbook-xml-4.1.2 xmlcatmgr docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl gnome-doc-utils iso-codes p5-xml-parser py26-libxml2 python26 gdbm rarian getopt intltool gnome-common p5-getopt-long p5-pathtools p5-scalar-list-utils cairo libpixman jasper pango shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXdamage xorg-damageproto openjpeg poppler-data Pantomime PRICE TalkSoup netclasses Yap.app ImageMagick p7zip a2ps psutils gworkspace system-preferences PreferencePanes windowmaker giflib xpm Error: Status 1 encountered during processing.
copy of /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnustep_gnustep-make/work/gnustep-make-2.2.0/config.log