Opened 15 years ago

Closed 15 years ago

#19775 closed defect (worksforme)

Compiling MacPython26 or 25 have error

Reported by: alexandre.grivel@… Owned by: blb@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: python26

Description (last modified by mf2k (Frank Schima))

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 (3)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: mcalhoun@… added
Description: modified (diff)
Milestone: Port Binaries
Owner: changed from macports-tickets@… to blb@…
Port: python26 added

comment:2 Changed 15 years ago by blb@…

What version of Xcode do you have installed? If it is 2.5, can you run sudo port -d install python26 and attach the output to get the full debug?

comment:3 Changed 15 years ago by blb@…

Resolution: worksforme
Status: newclosed

Closing, lack of response.

Note: See TracTickets for help on using tickets.