(no subject)

LD zgrumolnxn at mailinator.net
Tue Jul 17 16:16:10 PDT 2007


MP 1.5.0, Mac OS 10.4.10 PPC

# port upgrade -d py-scientific
--->  Fetching py-scientific
--->  Verifying checksum(s) for py-scientific
--->  Extracting py-scientific
--->  Configuring py-scientific
--->  Building py-scientific with target build
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_ 
py-scientific/work/ScientificPython-2.6" && /opt/local/bin/python2.4  
setup.py build " returned error 1
Command output: Src/Scientific_netcdf.c:1949: error: 'i' undeclared  
(first use in this function)
Src/Scientific_netcdf.c: At top level:
Src/Scientific_netcdf.c:1959: error: parse error before 'Py_ssize_t'
Src/Scientific_netcdf.c:1961: warning: function declaration isn't a  
prototype
Src/Scientific_netcdf.c: In function 'PyNetCDFVariableObject_ass_slice':
Src/Scientific_netcdf.c:1963: error: 'value' undeclared (first use in  
this function)
Src/Scientific_netcdf.c:1967: error: 'self' undeclared (first use in  
this function)
Src/Scientific_netcdf.c:1971: error: 'low' undeclared (first use in  
this function)
Src/Scientific_netcdf.c:1975: error: 'high' undeclared (first use in  
this function)
Src/Scientific_netcdf.c: In function  
'PyNetCDFVariableObject_ass_subscript':
Src/Scientific_netcdf.c:2016: error: 'Py_ssize_t' undeclared (first  
use in this function)
Src/Scientific_netcdf.c:2016: error: parse error before 'len_dim'
Src/Scientific_netcdf.c:2017: error: 'len_dim' undeclared (first use  
in this function)
Src/Scientific_netcdf.c:2026: error: parse error before 'i'
Src/Scientific_netcdf.c: At top level:
Src/Scientific_netcdf.c:2074: error: parse error before 'Py_ssize_t'
Src/Scientific_netcdf.c:2075: warning: function declaration isn't a  
prototype
Src/Scientific_netcdf.c:2082: error: 'lenfunc' undeclared here (not  
in a function)
Src/Scientific_netcdf.c:2082: error: parse error before  
'PyNetCDFVariableObject_length'
Src/Scientific_netcdf.c:2084: error: 'ssizeargfunc' undeclared here  
(not in a function)
Src/Scientific_netcdf.c:2084: error: parse error before  
'PyNetCDFVariableObject_error2'
Src/Scientific_netcdf.c:2085: error: parse error before  
'PyNetCDFVariableObject_item'
Src/Scientific_netcdf.c:2086: error: 'ssizessizeargfunc' undeclared  
here (not in a function)
Src/Scientific_netcdf.c:2086: error: parse error before  
'PyNetCDFVariableObject_slice'
Src/Scientific_netcdf.c:2087: error: 'ssizeobjargproc' undeclared  
here (not in a function)
Src/Scientific_netcdf.c:2087: error: parse error before  
'PyNetCDFVariableObject_ass_item'
Src/Scientific_netcdf.c:2088: error: 'ssizessizeobjargproc'  
undeclared here (not in a function)
Src/Scientific_netcdf.c:2088: error: parse error before  
'PyNetCDFVariableObject_ass_slice'
Src/Scientific_netcdf.c:2092: error: parse error before  
'PyNetCDFVariableObject_length'
error: command '/usr/bin/gcc-4.0' failed with exit status 1



More information about the macports-users mailing list