Error installing python25

René Mølsted molsted at iweb.dk
Mon Sep 24 11:06:33 PDT 2007


I'm trying to get Python 2.5 installed but get this error in return.

I'm running:
Macports Version: 1.520
Mac OS X (PPC) 10.4.10
Xcode Version: 2.4.1

root# port install python25
--->  Fetching python25
--->  Verifying checksum(s) for python25
--->  Extracting python25
--->  Applying patches to python25
--->  Configuring python25
--->  Building python25 with target all
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_py 
thon25/work/Python-2.5.1" && make all " returned error 2
Command output: Python/mactoolboxglue.c:425: error: 'cobj' undeclared  
(first use in this function)
Python/mactoolboxglue.c: At top level:
Python/mactoolboxglue.c:428: warning: parameter names (without types)  
in function declaration
Python/mactoolboxglue.c:428: error: parse error before 'cobj'
Python/mactoolboxglue.c:428: warning: function declaration isn't a  
prototype
Python/mactoolboxglue.c: In function 'UserDataObj_New':
Python/mactoolboxglue.c:428: error: 'cobj' undeclared (first use in  
this function)
Python/mactoolboxglue.c: At top level:
Python/mactoolboxglue.c:429: error: parse error before 'UserData'
Python/mactoolboxglue.c:429: warning: function declaration isn't a  
prototype
Python/mactoolboxglue.c:429: error: parse error before 'UserData'
Python/mactoolboxglue.c:429: warning: function declaration isn't a  
prototype
Python/mactoolboxglue.c: In function 'UserDataObj_Convert':
Python/mactoolboxglue.c:429: error: 'pyobj' undeclared (first use in  
this function)
Python/mactoolboxglue.c:429: error: 'cobj' undeclared (first use in  
this function)
Python/mactoolboxglue.c: At top level:
Python/mactoolboxglue.c:430: warning: parameter names (without types)  
in function declaration
Python/mactoolboxglue.c:430: error: parse error before 'cobj'
Python/mactoolboxglue.c:430: warning: function declaration isn't a  
prototype
Python/mactoolboxglue.c: In function 'MediaObj_New':
Python/mactoolboxglue.c:430: error: 'cobj' undeclared (first use in  
this function)
Python/mactoolboxglue.c: At top level:
Python/mactoolboxglue.c:431: error: parse error before 'Media'
Python/mactoolboxglue.c:431: warning: function declaration isn't a  
prototype
Python/mactoolboxglue.c:431: error: parse error before 'Media'
Python/mactoolboxglue.c:431: warning: function declaration isn't a  
prototype
Python/mactoolboxglue.c: In function 'MediaObj_Convert':
Python/mactoolboxglue.c:431: error: 'pyobj' undeclared (first use in  
this function)
Python/mactoolboxglue.c:431: error: 'cobj' undeclared (first use in  
this function)
make: *** [Python/mactoolboxglue.o] Error 1

Error: Status 1 encountered during processing.
root#

-- 
Rene



More information about the macports-users mailing list