[MacPorts] #20775: gnustep-base: gnustep-config: command not found
MacPorts
noreply at macports.org
Tue Jun 19 08:10:13 PDT 2012
#20775: gnustep-base: gnustep-config: command not found
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: | Port: gnustep-base
-------------------------------------+--------------------------------------
Comment(by drh@…):
Replying to [comment:19 ryandesign@…]:
> Remember to use WikiFormatting when writing in Trac.
Thanks for the fast response.
I have xcode 4.2.1, but loaded gcc-4.2 as a separate exercise because
there was an implication in the log that gcc-3.x was deprecated (why would
it be mentioned, otherwise), and there's no mention of LLVM GCC 4.2 or
LLVM compiler 3.0, which are the two possibilities from Xcode 4.2.1.
Before I installed gcc-4.2 I had tried installing gnu step-base relying on
what was installed with xcode and got the same error messages, including:
'':info:configure If you are using gcc-3.x make sure that your compiler's
libgcc_s and libobjc
:info:configure can be found by the dynamic linker - usually that requires
you to play
:info:configure with LD_LIBRARY_PATH or /etc/ld.so.conf.
:info:configure Please refer to your compiler installation instructions
for more help.''
If the Macport gnu step installation depends on having Xcode 4.3
installed, perhaps this should be stated somewhere (if it is, I missed it,
but I can upgrade and try again).
Here's the segment of the gnu step-base config.log that is relevant to the
failure:
:info:configure checking whether objc really works... no
:info:configure I don't seem to be able to use your Objective-C compiler
to produce
:info:configure working binaries! Please check your Objective-C compiler
installation.
:info:configure If you are using gcc-3.x make sure that your compiler's
libgcc_s and libobjc
:info:configure can be found by the dynamic linker - usually that requires
you to play
:info:configure with LD_LIBRARY_PATH or /etc/ld.so.conf.
:info:configure Please refer to your compiler installation instructions
for more help.
:info:configure configure: error: The Objective-C compiler does not work
or is not installed properly.
:info:configure Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_gnustep_gnustep-base/gnustep-base/work
/gnustep-base-1.19.1" && ./configure --prefix=/opt/local CC=/usr/bin/clang
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
:info:configure Exit code: 1
:error:configure org.macports.configure for port gnustep-base returned:
configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for gnustep-base:
org.macports.activate org.macports.configure org.macports.build
org.macports.destroot org.macports.install
:notice:configure Please see the log file for port gnustep-base for
details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_gnustep_gnustep-base/gnustep-base/main.log
>
> Replying to [comment:18 drh@…]:
> > However, "sudo port install gnustep-base" now fails because it can't
use the gcc-4.2 compiler which is freshly installed in /usr/bin (AFAIK,
that is the right place). As this isn't gcc-3.x, libgcc_s and libobjc
would seem to be irrelevant, but what equivalents for gcc-4.2 are expected
and where should they be? There seem to be no equivalents on this machine
> >
> {{{
> :info:configure configure: error: The Objective-C compiler does not work
or is not installed properly.
> }}}
>
> What Xcode are you using? Apple no longer provides gcc-4.2 as of Xcode
4.3. (However, the portfile makes no mention of requiring gcc-4.2.) What
does the gnustep-base main.log say? What does the gnustep-base config.log
say?
--
Ticket URL: <https://trac.macports.org/ticket/20775#comment:20>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list