[MacPorts] #14390:
MacPorts
trac at macosforge.org
Tue Feb 19 04:18:12 PST 2008
#14390:
---------------------------------------+------------------------------------
Reporter: chilli.namesake at gmail.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.6.0
Keywords: python24 build error 1 |
---------------------------------------+------------------------------------
build fails in leopard server 10.5.2.
here's the full output:
$ sudo port install python24
---> Building python24 with target all libpython2.4.dylib
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_python24/work/Python-2.4.4"
&& make all libpython2.4.dylib " returned error 2
Command output: Python/mactoolboxglue.c:423: error: 'cobj' undeclared
(first use in this function)
Python/mactoolboxglue.c: At top level:
Python/mactoolboxglue.c:426: warning: parameter names (without types) in
function declaration
Python/mactoolboxglue.c:426: error: syntax error before 'cobj'
Python/mactoolboxglue.c:426: warning: function declaration isn't a
prototype
Python/mactoolboxglue.c: In function 'UserDataObj_New':
Python/mactoolboxglue.c:426: error: 'cobj' undeclared (first use in this
function)
Python/mactoolboxglue.c: At top level:
Python/mactoolboxglue.c:427: error: syntax error before 'UserData'
Python/mactoolboxglue.c:427: warning: function declaration isn't a
prototype
Python/mactoolboxglue.c:427: error: syntax error before 'UserData'
Python/mactoolboxglue.c:427: warning: function declaration isn't a
prototype
Python/mactoolboxglue.c: In function 'UserDataObj_Convert':
Python/mactoolboxglue.c:427: error: 'pyobj' undeclared (first use in this
function)
Python/mactoolboxglue.c:427: 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: syntax error before 'cobj'
Python/mactoolboxglue.c:428: warning: function declaration isn't a
prototype
Python/mactoolboxglue.c: In function 'MediaObj_New':
Python/mactoolboxglue.c:428: error: 'cobj' undeclared (first use in this
function)
Python/mactoolboxglue.c: At top level:
Python/mactoolboxglue.c:429: error: syntax error before 'Media'
Python/mactoolboxglue.c:429: warning: function declaration isn't a
prototype
Python/mactoolboxglue.c:429: error: syntax error before 'Media'
Python/mactoolboxglue.c:429: warning: function declaration isn't a
prototype
Python/mactoolboxglue.c: In function 'MediaObj_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)
make: *** [Python/mactoolboxglue.o] Error 1
Error: Status 1 encountered during processing.
workaround amalgamated from here:
http://www.bud.ca/blog/leopard-python-compile
few hacks to manual install
I think this was broken in Tiger too. Likely a problem with Python not
MacPorts, but, still, someone should fix this. Sorry if this is a dupe! My
searching skills are broken too.
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14390>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list