Re: [29163] trunk/dports/devel/libuninameslist/Portfile
On Sep 16, 2007, at 13:59, source_changes@macosforge.org wrote:
Revision: 29163 http://trac.macosforge.org/projects/macports/changeset/29163 Author: afb@macports.org Date: 2007-09-16 11:59:39 -0700 (Sun, 16 Sep 2007)
Log Message: ----------- build doesn't work with default /usr/bin/gcc-4.0
Modified Paths: -------------- trunk/dports/devel/libuninameslist/Portfile
Modified: trunk/dports/devel/libuninameslist/Portfile =================================================================== --- trunk/dports/devel/libuninameslist/Portfile 2007-09-16 18:57:12 UTC (rev 29162) +++ trunk/dports/devel/libuninameslist/Portfile 2007-09-16 18:59:39 UTC (rev 29163) @@ -22,6 +22,8 @@
worksrcdir ${name}
+configure.compiler gcc + build.target
destroot.destdir prefix=${destroot}/${prefix}
I don't think "gcc" is a valid value for "configure.compiler". (I get "DEBUG: No compiler collection selected explicitly".) What version of gcc are you expecting to get by setting this? libuninameslist builds just fine for me with Apple's gcc 4.0 on my MacBook Pro with Mac OS X 10.4.10, Xcode 2.4.1 and MacPorts 1.5.2.
Ryan Schmidt wrote:
I don't think "gcc" is a valid value for "configure.compiler". (I get "DEBUG: No compiler collection selected explicitly".) What version of gcc are you expecting to get by setting this? libuninameslist builds just fine for me with Apple's gcc 4.0 on my MacBook Pro with Mac OS X 10.4.10, Xcode 2.4.1 and MacPorts 1.5.2.
I was expecting any old version, just that my libtool didn't work with the default selection of "/usr/bin/gcc-4.0" since it couldn't figure out the call mode or something. Changing CC=/usr/bin/gcc-4.0 to CC=gcc worked. Maybe it was just a temporary quirk ? --anders
I was expecting any old version, just that my libtool didn't work with the default selection of "/usr/bin/gcc-4.0" since it couldn't figure out the call mode or something.
Exact error was: /bin/sh ./libtool /usr/bin/gcc-4.0 -O2 -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -c nameslist.c libtool: warning: cannot infer operation mode from `/usr/bin/gcc-4.0' libtool: you must specify a MODE Try `libtool --help' for more information. But you are right in that it should have said "default" (?), instead of "gcc" as the argument to configure.compiler... --anders
participants (2)
-
Anders F Björklund
-
Ryan Schmidt