Error in playerstage port

Ryan Schmidt ryandesign at macports.org
Mon Sep 7 06:20:01 PDT 2009


On Sep 7, 2009, at 07:45, Antonio Pozuelo wrote:

> I have a installation error in playerstage port.
>
> The error seems to be:
>               ld: library not found for -ljpeg
>
> but in mac, libjpeg is installed.
>
>     odiseo:~ Antonio$ port installed jpeg
>     The following ports are currently installed:
>       jpeg @6b_3 (active)
>
>
> odiseo:~ Antonio$ port contents jpeg
> Port jpeg contains:
>   /opt/local/bin/cjpeg
>   /opt/local/bin/djpeg
>   /opt/local/bin/jpegtran
>   /opt/local/bin/rdjpgcom
>   /opt/local/bin/wrjpgcom
>   /opt/local/include/jconfig.h
>   /opt/local/include/jerror.h
>   /opt/local/include/jmorecfg.h
>   /opt/local/include/jpeglib.h
>   /opt/local/lib/libjpeg.62.0.0.dylib
>   /opt/local/lib/libjpeg.62.dylib
>   /opt/local/lib/libjpeg.a
>   /opt/local/lib/libjpeg.dylib
>   /opt/local/lib/libjpeg.la
>   /opt/local/share/man/man1/cjpeg.1.gz
>   /opt/local/share/man/man1/djpeg.1.gz
>   /opt/local/share/man/man1/jpegtran.1.gz
>   /opt/local/share/man/man1/rdjpgcom.1.gz
>   /opt/local/share/man/man1/wrjpgcom.1.gz
>
>
> At the end of the mail shows you the log of installation of  
> playerstage.
>
> Does anyone have any idea?
>
> Thank you
> Antonio
>
>
>     odiseo:~ Antonio$ sudo port   install playerstage-player
>     --->  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:44: Warning(124): Specifying the language name in  
> %typemap is deprecated - use #ifdef SWIG<LANG> instead.
>     playerc.i:82: Warning(124): Specifying the language name in  
> %typemap is deprecated - use #ifdef SWIG<LANG> instead.
>     playerc.i:121: Warning(124): Specifying the language name in  
> %typemap is deprecated - use #ifdef SWIG<LANG> instead.
>     playerc.i:127: 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:40354: warning: assignment from incompatible  
> pointer type
>     playerc_wrap.c: In function '_wrap_playerc_mclient_addclient':
>     playerc_wrap.c:40557: warning: passing argument 2 of  
> 'playerc_mclient_addclient' from incompatible pointer type
>     playerc_wrap.c: In function '_wrap_playerc_mclient_client_set':
>     playerc_wrap.c:40354: warning: assignment from incompatible  
> pointer type
>     playerc_wrap.c: In function '_wrap_playerc_mclient_addclient':
>     playerc_wrap.c:40557: 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//ccXq4ByG.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.

Please file a ticket, but probably a first step will be to update  
playerstage-player and playerstage-stage to the latest versions.




More information about the macports-users mailing list