Hey, I tried out your suggestion and pretty much got what I expected: ln: gcc-4.0: File exists.
The command I used was sudo ln -s gcc gcc-4.0. I think this is what you meant...or I could be totally dumb too :). sudarshan22 wrote: > > Hi Tim, > > I checked out my /usr/bin...and I have all this: > gcc > gcc-4.0 > gcc-4.2 > i686-apple-darwin9-gcc-4.0.1 > i686-apple-darwin9-gcc-4.2.1 > powerpc-apple-darwin9-gcc-4.0.1 > powerpc-apple-darwin9-gcc-4.2.1 > > So I guess I am not exactly sure why it doesnt find gcc. Anyway, when you > say you created a sym link between gcc and gcc-4.0, did you put them in > the same directory? > > Thanks, > Sudarshan. > > > Timothy Goins wrote: >> >> I am definitely not a MacPorts guru (although I am comfortable with >> X11 and Unix in general). I've seen error flows like yours before. >> My guess is that the port is looking for gcc in /usr/bin and not >> finding it (which was the case with one of my failed ports—I had the >> gcc-4.0 compiler but had somehow nuked gcc itself). Fixed the problem >> by creating a symlink between gcc and gcc-4.0. Still, there seems to >> be a lot more happening than just the lack of the correct C compiler. >> Python has given me a lot of grief in some of my failed ports. So I >> am just as eager as you for the opinion of an "expert," >> >> Tim >> On Feb 24, 2009, at 3:03 PM, sudarshan22 wrote: >> >>> >>> Hi, >>> >>> Just an update. I reinstalled macports and it started to build the >>> dependecies. I am not sure what was wrong. However, when it came to >>> the last >>> part of installing playerstage-player itself it gave me the >>> following error: >>> >>> ---> Building playerstage-player >>> Error: Target org.macports.build returned: shell command " cd >>> "/opt/local/var/macports/build/ >>> _opt_local_var_macports_sources_rsync >>> .macports.org_release_ports_science_playerstage-player/work/ >>> player-2.0.4" >>> && make all " returned error 2 >>> Command output: building '_playerc' extension >>> swigging playerc.i to playerc_wrap.c >>> swig -python -o playerc_wrap.c playerc.i >>> playerc.i:45: Warning(124): Specifying the language name in %typemap >>> is >>> deprecated - use #ifdef SWIG<LANG> instead. >>> playerc.i:83: Warning(124): Specifying the language name in %typemap >>> is >>> deprecated - use #ifdef SWIG<LANG> instead. >>> playerc.i:122: Warning(124): Specifying the language name in >>> %typemap is >>> deprecated - use #ifdef SWIG<LANG> instead. >>> playerc.i:128: Warning(124): Specifying the language name in >>> %typemap is >>> deprecated - use #ifdef SWIG<LANG> instead. >>> gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused- >>> madd >>> -fno-common -dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes - >>> DMACOSX >>> -I/usr/include/ffi -DENABLE_DTRACE -arch i386 -arch ppc -pipe - >>> I./../.. >>> -I../../../.. >>> -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/ >>> python2.5 >>> -c playerc_wrap.c -o build/temp.macosx-10.5-i386-2.5/playerc_wrap.o >>> playerc_wrap.c: In function '_wrap_playerc_mclient_client_set': >>> playerc_wrap.c:40751: warning: assignment from incompatible pointer >>> type >>> playerc_wrap.c: In function '_wrap_playerc_mclient_client_set': >>> playerc_wrap.c:40751: warning: assignment from incompatible pointer >>> type >>> playerc_wrap.c: In function '_wrap_playerc_mclient_addclient': >>> playerc_wrap.c:40956: warning: passing argument 2 of >>> 'playerc_mclient_addclient' from incompatible pointer type >>> playerc_wrap.c: In function '_wrap_playerc_mclient_addclient': >>> playerc_wrap.c:40956: warning: passing argument 2 of >>> 'playerc_mclient_addclient' from incompatible pointer type >>> gcc -Wl,-F. -bundle -undefined dynamic_lookup -arch i386 -arch ppc >>> build/temp.macosx-10.5-i386-2.5/playerc_wrap.o -L./../../.libs >>> -L../../../../libplayerxdr/.libs -L../../../../libplayercore/.libs >>> -L../../../../libplayerjpeg/.libs -lplayerxdr -lplayerc -lplayerjpeg >>> -ljpeg >>> -lplayererror -o build/lib.macosx-10.5-i386-2.5/_playerc.so >>> ld: library not found for -ljpeg >>> collect2: ld returned 1 exit status >>> ld: library not found for -ljpeg >>> collect2: ld returned 1 exit status >>> lipo: can't open input file: /var/tmp//ccNDXsud.out (No such file or >>> directory) >>> error: command 'gcc' failed with exit status 1 >>> make[6]: *** [pythonbuild] Error 1 >>> make[5]: *** [all] Error 2 >>> make[4]: *** [all-recursive] Error 1 >>> make[3]: *** [all-recursive] Error 1 >>> make[2]: *** [all-recursive] Error 1 >>> make[1]: *** [all-recursive] Error 1 >>> make: *** [all] Error 2 >>> >>> Error: Status 1 encountered during processing. >>> >>> >>> Any help resolving this is much appreciated. >>> >>> Thanks. >>> -- >>> View this message in context: >>> http://www.nabble.com/New-to-mac-macports.-Trouble-installing-playerstage.-tp22142510p22191651.html >>> Sent from the MacPorts - Users mailing list archive at Nabble.com. >>> >>> _______________________________________________ >>> macports-users mailing list >>> macports-users@lists.macosforge.org >>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >> >> >> _______________________________________________ >> macports-users mailing list >> macports-users@lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >> >> > > -- View this message in context: http://www.nabble.com/New-to-mac-macports.-Trouble-installing-playerstage.-tp22142510p22193752.html Sent from the MacPorts - Users mailing list archive at Nabble.com. _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users