On Feb 24, 2009, at 17:43, Timothy Goins wrote:
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_scie
nce_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
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
I'm not sure what makes you think that. The output shows gcc running
and producing this error message:
ld: library not found for -ljpeg
So it cannot find the jpeg library. Is the jpeg port installed and
active? The jpeg port is a declared dependency of the playerstage-
player port so it should be there. Find out for sure:
port installed jpeg
Given the "-arch i386 -arch ppc" in your output, you are building a
universal binary of playerstage-player. Have you already built a
universal binary of jpeg? If you have jpeg installed but it's not
universal, you need to rebuild it universal:
sudo port -nf upgrade jpeg +universal
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users