Python 2.5 install failure

Michael Jackson mjijackson at gmail.com
Tue Mar 13 13:43:59 PDT 2007


Here's the error message I'm getting:

--->  Building python25 with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/ 
var/db/dports/build/ 
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp 
orts_lang_python25/work/Python-2.5" && 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.




Can anyone give me a hint as to what may be wrong here? A search on  
Google is not very helpful.

Thanks,

Michael



More information about the macports-users mailing list