Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#14390 closed defect (duplicate)

python24 build fails on leopard server

Reported by: chillin- Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: python24 build error 1 Cc:
Port:

Description

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.

Change History (3)

comment:1 Changed 17 years ago by afb@…

Milestone: Port Bugs
Summary: python24 build fails on leopard server

comment:2 Changed 17 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Duplicate of #13043.

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.