[MacPorts] #20190: xorg-libXt should use configure.cc and configure.cpp
MacPorts
noreply at macports.org
Mon Jul 6 00:00:39 PDT 2009
#20190: xorg-libXt should use configure.cc and configure.cpp
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: jeremyhu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: | Port: xorg-libXt
-------------------------------------+--------------------------------------
xorg-libXt uses "gcc" and "cpp"; should use ${configure.cc} and
${configure.cpp}; see UsingTheRightCompiler.
{{{
$ port -ux upgrade xorg-libXt
---> Fetching xorg-libXt
---> Verifying checksum(s) for xorg-libXt
---> Extracting xorg-libXt
---> Configuring xorg-libXt
Error: Target org.macports.configure returned: configure failure: shell
command " cd "/mp/var/macports/build
/_Users_rschmidt_macports_dports_x11_xorg-libXt/work/libXt-1.0.6" &&
./configure --prefix=/mp --disable-dependency-tracking " returned error 1
Command output: checking whether the /usr/bin/gcc-4.0 linker
(/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld) supports shared
libraries... yes
checking dynamic linker characteristics... darwin8.11.1 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether /usr/bin/gcc-4.0 and cc understand -c and -o together...
yes
gcc -dumpversion
gcc: Error: You should be using ${configure.cc}
See http://trac.macports.org/wiki/UsingTheRightCompiler
checking for pkg-config... /mp/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XT... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking for snprintf... yes
checking for main in -lws2_32... no
checking for cpp... /mp/bin/no_default_gcc/cpp
checking if /mp/bin/no_default_gcc/cpp requires -undef... cpp
cpp: Error: You should be using ${configure.cpp}
See http://trac.macports.org/wiki/UsingTheRightCompiler
cpp -undef
cpp: Error: You should be using ${configure.cpp}
See http://trac.macports.org/wiki/UsingTheRightCompiler
cpp -undef -ansi
cpp: Error: You should be using ${configure.cpp}
See http://trac.macports.org/wiki/UsingTheRightCompiler
configure: error: /mp/bin/no_default_gcc/cpp defines unix with or without
-undef. I don't know what to do.
Error: Unable to upgrade port: 1
}}}
--
Ticket URL: <http://trac.macports.org/ticket/20190>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list