[MacPorts] #19775: Compiling MacPython26 or 25 have error

MacPorts noreply at macports.org
Wed May 27 08:35:00 PDT 2009


#19775: Compiling MacPython26 or 25 have error
----------------------------------------------+-----------------------------
 Reporter:  alexandre.grivel@…                |       Owner:  blb@…           
     Type:  defect                            |      Status:  new             
 Priority:  Normal                            |   Milestone:                  
Component:  ports                             |     Version:  1.7.1           
 Keywords:                                    |        Port:  python26        
----------------------------------------------+-----------------------------
Changes (by macsforever2000@…):

 * cc: mcalhoun@… (added)
  * owner:  macports-tickets@… => blb@…
  * port:  => python26
  * milestone:  Port Binaries =>


Old 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 : g'''rivel.alex at gmail''' (I forgot my password and i
> dont access my old mailbox)

New 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 : g'''rivel.alex at gmail''' (I forgot my password and i
 dont access my old mailbox)

--

-- 
Ticket URL: <http://trac.macports.org/ticket/19775#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list