On Jul 10, 2012, at 04:22, [email protected] wrote: > sudo port update outdated > > gives the following error log for perl...
> :info:configure Use which C compiler? [/usr/bin/gcc-4.0] > :info:configure Checking for GNU cc in disguise and/or its version number... > :info:configure try.c:1:19: error: /usr/local/include/stdio.h: Permission > denied > :info:configure try.c: In function 'main': > :info:configure try.c:5: warning: incompatible implicit declaration of > built-in function 'printf' > :info:configure *** WHOA THERE!!! *** > :info:configure Your C compiler "/usr/bin/gcc-4.0" doesn't seem to be > working! > :info:configure You'd better start hunting for one and let me know about > it. The file /usr/local/include/stdio.h is interfering with the build. Please delete it and anything else you may have in /usr/local, then clean perl5.12 and try again. > sudo port install perl5.12 configure.compiler=macports-gcc-4.6 > :info:configure Use which C compiler? [/opt/local/bin/gcc-mp-4.6] > :info:configure gcc-mp-4.6: error: unrecognized option '-no-cpp-precomp' > :info:configure Uh-oh, the C compiler '/opt/local/bin/gcc-mp-4.6' doesn't > seem to be working. > :info:configure gcc-mp-4.6: error: unrecognized option '-no-cpp-precomp' > :info:configure Uh-oh, the C compiler '/opt/local/bin/gcc-mp-4.6' doesn't > seem to be working. > :info:configure You need to find a working C compiler. > :info:configure Either (purchase and) install the C compiler supplied by your > OS vendor, > :info:configure or for a free C compiler try http://gcc.gnu.org/ > :info:configure I cannot continue any further, aborting. The problem here is apparently that perl's configure process is adding the flag -no-cpp-precomp but gcc 4.6 does not understand it. You should report this problem to the developers of perl so that they can fix it. Try the perl5.16 port first to see if it's already fixed in that version. _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo/macports-dev
