#13512 closed defect (worksforme)
py-scientific fails to build
Reported by: | milosh@… | Owned by: | jochen@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | jochen@…, milosh@… | |
Port: |
Description
py-scientific's build stops on my ppc panther mac with the following error:
---> Building py-scientific with target build Using netCDF installation in /opt/local running buildrunning build_py running build_ext building 'Scientific_netcdf' extension /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/include/python2.4 -I/opt/local/var/macports/build/_usr_macports_python_py-scientific/work/ScientificPython-2.6/Include -IInclude -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -c Src/Scientific_netcdf.c -o build/temp.macosx-10.3-ppc-2.4/Src/Scientific_netcdf.o Src/Scientific_netcdf.c: In function 'set_attribute': Src/Scientific_netcdf.c:468: error: 'Py_ssize_t' undeclared (first use in this function) Src/Scientific_netcdf.c:468: error: (Each undeclared identifier is reported only once Src/Scientific_netcdf.c:468: error: for each function it appears in.) Src/Scientific_netcdf.c:468: error: parse error before 'len' ... ... 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 Warning: the following items did not execute (for py-scientific): org.macports. + build Error: Status 1 encountered during processing.
Change History (6)
comment:1 Changed 17 years ago by milosh@…
Milestone: | → Port Bugs |
---|
comment:2 Changed 17 years ago by jochen@…
comment:3 Changed 17 years ago by milosh@…
As I said, ppc, panther. Yes I have python24 installed and working and the following dependencies installed (both direct and indirect):
The following ports are currently installed: netcdf @3.6.2_0 (active) py-numeric @24.2_1+darwin_8+macosx (active) python24 @2.4.4_1+darwin_8 (active) gettext @0.17_1 (active) expat @2.0.1_0 (active) libiconv @1.12_0+darwin_8 (active)
And I have py-scientific 2.4.9 installed.
comment:4 Changed 17 years ago by jochen@…
Cc: | milosh@… added |
---|---|
Status: | new → assigned |
Version: | 1.5.2 → 1.6.0 |
Can you please check with the current Portfile version (might only be available in a few hours) and report back?
comment:5 Changed 17 years ago by jochen@…
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Works for me on Tiger und Leopard; I cannot test this on Panther, nor support Panther.
Patches for Panther support are welcome, though.
Note: See
TracTickets for help on using
tickets.
Well, I cannot reproduce that.
Do you have installed/use python24?
What system is this on?