Opened 15 years ago

Last modified 15 years ago

#19775 closed defect

Compiling MacPython26 or 25 have error — at Initial Version

Reported by: alexandre.grivel@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: python26

Description

I need Wireshark for testing my network. When time for compiling Python25 or 26 have error. I try compiling alone Python is the same thing.

I listed message:

---> Fetching python26 ---> Attempting to fetch Python-2.6.2.tar.bz2 from ftp://ftp.python.org/pub/python/2.6.2/ ---> Attempting to fetch Python-2.6.2.tar.bz2 from http://www.python.org//ftp/python/2.6.2/ ---> Verifying checksum(s) for python26 ---> Extracting python26 ---> Applying patches to python26 ---> Configuring python26 ---> Building python26 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_python26/work/Python-2.6.2" && make all MAKE="make CC=/usr/bin/gcc-4.0" " returned error 2 Command output: Python/mactoolboxglue.c:428: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:431: warning: parameter names (without types) in function declaration Python/mactoolboxglue.c:431: error: parse error before 'cobj' Python/mactoolboxglue.c:431: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'UserDataObj_New': Python/mactoolboxglue.c:431: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:432: error: parse error before 'UserData' Python/mactoolboxglue.c:432: warning: function declaration isn't a prototype Python/mactoolboxglue.c:432: error: parse error before 'UserData' Python/mactoolboxglue.c:432: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'UserDataObj_Convert': Python/mactoolboxglue.c:432: error: 'pyobj' undeclared (first use in this function) Python/mactoolboxglue.c:432: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:433: warning: parameter names (without types) in function declaration Python/mactoolboxglue.c:433: error: parse error before 'cobj' Python/mactoolboxglue.c:433: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'MediaObj_New': Python/mactoolboxglue.c:433: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:434: error: parse error before 'Media' Python/mactoolboxglue.c:434: warning: function declaration isn't a prototype Python/mactoolboxglue.c:434: error: parse error before 'Media' Python/mactoolboxglue.c:434: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'MediaObj_Convert': Python/mactoolboxglue.c:434: error: 'pyobj' undeclared (first use in this function) Python/mactoolboxglue.c:434: error: 'cobj' undeclared (first use in this function) make: * [Python/mactoolboxglue.o] Error 1

I use iMac under 10.4.11 ppc + 1,25 Gb + 1,25 Mhz.

Thanks for help :-)

My real email is : grivel.alex@gmail (I forgot my password and i dont access my old mailbox)

Change History (0)

Note: See TracTickets for help on using tickets.