-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/7/11 1:56 PM, Hanspeter Niederstrasser wrote: > On 11/7/2011 1:24 PM, Alexander Hansen wrote: >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >> >> It dies here: >> >> checking whether the C compiler (/sw/bin/gcc-4.2 -L/sw/lib - >> -L/usr/X11R6/lib) works... no configure: error: installation or >> configuration problem: C compiler cannot create executables. *** >> Fix above errors and then restart with "/usr/bin/make -f >> client.mk build" make[2]: *** [configure] Error 1 make[2]: >> Leaving directory >> `/sw/src/fink.build/firefox6-6.0.2-2/mozilla-release' >> >> I wasn't sure where to find a logfile ('find' wasn't helpful) so >> if you'll let me know where to look I'll check what's going on. > > revision -2 should have taken care of the no gcc-4.2 on Xcode4.2 > issue. The config.log should be in %b/obj-YYY-ZZZ/config.log > > Also what does Fink's path-prefix "gcc" wrapper point to? > > Hanspeter
OK. I was trying to grep for the text--that was a silly idea. :-) I'm on 10.7, so my path-prefix wrapper points to clang, and since I'm on Xcode 4.2, ideally there shouldn't be a gcc-4.2 or g++-4.2. The test gives: configure:2553: checking whether the C compiler (/sw/bin/gcc-4.2 - -L/sw/lib -L/usr/X11R6/lib) works configure:2569: /sw/bin/gcc-4.2 -o conftest -I/sw/include - -I/usr/X11R6/include -L/sw/lib -L/usr/X11R6/lib conftest.c 1>&5 gcc-4.2: error trying to exec '/usr/bin/i686-apple-darwin11-gcc-4.2.1': execvp: No such file or directory configure: failed program was: #line 2564 "configure" #include "confdefs.h" main(){return(0);} Looks like ccache-default is the culprit there. I'd forgotten that I installed it before updating to Xcode 4.2 . Now, having removed ccache-default, I get the same failure: configure:2569: /usr/bin/gcc-4.2 -o conftest -I/sw/include - -I/usr/X11R6/include -L/sw/lib -L/usr/X11R6/lib conftest.c 1>&5 gcc-4.2: error trying to exec '/usr/bin/i686-apple-darwin11-gcc-4.2.1': execvp: No such file or directory configure: failed program was: #line 2564 "configure" #include "confdefs.h" main(){return(0);} It looks like I've got a leftover /usr/bin/gcc-4.2. My attempt to install Xcode 4.2 cleanly left this behind. After moving that out of the way: donfigure:2553: checking whether the C compiler (/sw/var/lib/fink/path-prefix-clang/gcc -L/sw/lib -L/usr/X11R6/lib) works configure:2569: /sw/var/lib/fink/path-prefix-clang/gcc -o conftest - -I/sw/include -I/usr/X11R6/include -L/sw/lib -L/usr/X11R6/lib conftest.c 1>&5 configure:2566:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(){return(0);} ^~~~ 1 warning generated. configure:2595: checking whether the C compiler (/sw/var/lib/fink/path-prefix-clang/gcc -L/sw/lib -L/usr/X11R6/lib) is a cross-compiler configure:2600: checking whether we are using GNU C configure:2609: /sw/var/lib/fink/path-prefix-clang/gcc -E conftest.c configure:2628: checking whether /sw/var/lib/fink/path-prefix-clang/gcc accepts -g configure:2664: checking for c++ configure:2696: checking whether the C++ compiler (/usr/bin/g++-4.2 - -L/sw/lib -L/usr/X11R6/lib) works configure:2712: /usr/bin/g++-4.2 -o conftest -I/sw/include - -I/usr/X11R6/include -L/sw/lib -L/usr/X11R6/lib conftest.C 1>&5 g++-4.2: error trying to exec '/usr/bin/i686-apple-darwin11-g++-4.2.1': execvp: No such file or directory configure: failed program was: #line 2707 "configure" #include "confdefs.h" int main(){return(0);} Oops, another leftover stub. After that, configure seemed normal apart from the following warning: checking for xcodebuild... /usr/bin/xcodebuild /sw/src/fink.build/firefox6-6.0.2-2/mozilla-release/configure: line 4577: test: Xcode 4.2 Build version 4D199: integer expression expected and it's now building. - -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk64NdsACgkQB8UpO3rKjQ+tSwCfeGKjleTyh1lZ/EeiizO3qPVC BZUAn1vHM/eGwsq/W9vT1GZbKwq+J9ri =emK/ -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users