New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14390 (closed defect: duplicate)

Opened 5 years ago

Last modified 4 years ago

python24 build fails on leopard server

Reported by: chilli.namesake@… 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

comment:1 Changed 5 years ago by afb@…

  • Summary set to python24 build fails on leopard server
  • Milestone set to Port Bugs

comment:2 Changed 5 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to duplicate

Duplicate of #13043.

comment:3 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.