Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#18891 closed defect (fixed)

Installing player/stage on Mac OS X 10.5 Fails...

Reported by: nima@… Owned by: vincent@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: playerstage Cc:
Port: playerstage-player

Description

8:08:17pm nima@datis:/opt% sudo port install playerstage-player                                                                       Password:
--->  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_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_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
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//cclA0Ryc.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.

Note I've already update to the latest..

8:09:38pm nima@datis:/opt% sudo port selfupdate
Password:

MacPorts base version 1.700 installed
Downloaded MacPorts base version 1.700

The MacPorts installation is not outdated so it was not updated

And system details...

8:18:03pm nima@datis:/opt% uname -a
Darwin datis 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386

8:19:15pm nima@datis:/opt% df -h
Filesystem      Size   Used  Avail Capacity  Mounted on
/dev/disk0s2   233Gi   57Gi  176Gi    25%    /
devfs          128Ki  128Ki    0Bi   100%    /dev
fdesc          1.0Ki  1.0Ki    0Bi   100%    /dev
map -hosts       0Bi    0Bi    0Bi   100%    /net
map auto_home    0Bi    0Bi    0Bi   100%    /home
/dev/disk1s10  233Gi  125Gi  108Gi    54%    /Volumes/Time Machine Backups
/dev/disk1s12  233Gi  195Gi   38Gi    84%    /Volumes/Xexy

Thankyou for any help/suggestions.

Attachments (1)

config.log (176.6 KB) - added by nima@… 16 years ago.
cat port work playerstage-player/player-2.0.4/config.log

Download all attachments as: .zip

Change History (9)

comment:1 Changed 16 years ago by nima@…

Cc: nima@… added

Cc Me!

comment:2 Changed 16 years ago by mf2k (Frank Schima)

Cc: nima@… removed
Owner: changed from macports-tickets@… to vincent@…
Port: playerstage-player added

Changed 16 years ago by nima@…

Attachment: config.log added

cat port work playerstage-player/player-2.0.4/config.log

comment:3 Changed 16 years ago by nima@…

Fix found (thanks to Raim @ irc://irc.freenode.org/#macports)...

sudo port install python_select && sudo python_select python25

...The problem being that macports was using the system python, the above command fixes that so that it uses the macports python binaries instead.

comment:4 Changed 16 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

comment:5 Changed 16 years ago by raimue (Rainer Müller)

Resolution: invalid
Status: closedreopened

comment:6 Changed 16 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: reopenedclosed

Fixed the dependencies in r48284. It should now properly use python2.5 from MacPorts.

comment:7 in reply to:  6 Changed 15 years ago by PaulSolt@…

Replying to raimue@…:

Fixed the dependencies in r48284. It should now properly use python2.5 from MacPorts.

I have Version 1.710 and I had issues running the command "sudo port install playerstage-player playerstage-stage" Has this fix not been added to the latest MacPort version?

macbook-pro:stage-2.1.1 psolt$ port version
Version: 1.710

In order to get it to build I needed to use the command above:

macbook-pro:stage-2.1.1 psolt$ sudo port install python_select && sudo python_select python25

It doesn't appear that the issue has been fixed. However, I'm new to MacPorts and I don't entirely understand the process from how bugs transition to fixes.

Thanks, Paul Solt

comment:8 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.