New to mac/macports. Trouble installing playerstage.

sudarshan22 sudarshan22 at gmail.com
Thu Feb 26 19:09:26 PST 2009


Hi,

I deactivated the old jpeg and cleaned it and installed the universal one.
No problems there. I then tried installing playerstage and I seem to be
getting the same 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: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:40301: warning: assignment from incompatible pointer type
playerc_wrap.c: In function '_wrap_playerc_mclient_client_set':
playerc_wrap.c:40301: warning: assignment from incompatible pointer type
playerc_wrap.c: In function '_wrap_playerc_mclient_addclient':
playerc_wrap.c:40504: warning: passing argument 2 of
'playerc_mclient_addclient' from incompatible pointer type
playerc_wrap.c: In function '_wrap_playerc_mclient_addclient':
playerc_wrap.c:40504: 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: libraryld not : library not found for -ljpeg
found for -ljpeg
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccGtzZVW.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: The following dependencies failed to build: playerstage-player
Error: Status 1 encountered during processing.

When I was searching for a solution, I came across somewhere, where someone
said that they had to build the jpeg library from source. I dont mind doing
that...however, I dont know where I can find the source.

Sudarshan.

Ryan Schmidt-24 wrote:
> 
> 
> On Feb 26, 2009, at 07:23, sudarshan22 at gmail.com wrote:
> 
> 
>>> 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
>>
>> I tried what you suggested. jpeg library was already installed. So  
>> I assumed that I would need to upgrade it. I input the command that  
>> you gave and it gave me the following error:
>>
>> --->  Fetching jpeg
>> --->  Verifying checksum(s) for jpeg
>> --->  Extracting jpeg
>> --->  Applying patches to jpeg
>> --->  Configuring jpeg
>> --->  Building jpeg
>> Error: Target org.macports.build returned: shell command " cd "/opt/ 
>> local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph 
>> ics_jpeg/work/jpeg-6b" && make all " returned error 2
>> Command output:   "_jpeg_set_defaults", referenced from:
>>       _main in cjpeg.o
>>   "_jpeg_set_colorspace", referenced from:
>>       _parse_switches in cjpeg.o
> 
> [snip]
> 
> So sorry. That may be this bug:
> 
> http://trac.macports.org/ticket/16411
> 
> It says you can't build a universal jpeg while a non-universal jpeg  
> is active. So in that case you have to work around it this way:
> 
> sudo port deactivate jpeg
> sudo port clean jpeg
> sudo port install jpeg +universal
> 
> 
> P.S: Use Reply All so your reply goes to the list too, not just to me.
> 
> 
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
> 
> 

-- 
View this message in context: http://www.nabble.com/Re%3A-New-to-mac-macports.-Trouble-installing-playerstage.-tp22222613p22238806.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.



More information about the macports-users mailing list