[SciPy-user] linspace
Gennan Chen
gnchen at cortechs.net
Tue Dec 6 00:17:50 EST 2005
Travis,
I just double check with the old scipy-0.6.1. It looks like itemsize field
is not there in the new PyArrayObject structure. That is why the compilation
failed.
So, how do you pass it??
Gen
On 12/5/05 8:51 PM, "Gennan Chen" <gnchen at cortechs.net> wrote:
> Hi! All,
>
> I am still stuck at Lib/signal/. The error messages are:
>
> In file included from Lib/signal/sigtools.h:2,
> from Lib/signal/sigtoolsmodule.c:8:
> /sw/lib/python2.4/site-packages/scipy/base/include/scipy/arrayobject.h:130:
> warning: redefinition of `ushort'
> /usr/include/sys/types.h:85: warning: `ushort' previously declared here
> /sw/lib/python2.4/site-packages/scipy/base/include/scipy/arrayobject.h:131:
> warning: redefinition of `uint'
> /usr/include/sys/types.h:86: warning: `uint' previously declared here
> Lib/signal/sigtoolsmodule.c: In function `fill_buffer':
> Lib/signal/sigtoolsmodule.c:1410: error: structure has no member named
> `itemsize'
> Lib/signal/sigtoolsmodule.c: In function `Py_copy_info':
> Lib/signal/sigtoolsmodule.c:1624: error: structure has no member named
> `itemsize'
> Lib/signal/sigtoolsmodule.c: In function `Py_copy_info_vec':
> Lib/signal/sigtoolsmodule.c:1632: error: structure has no member named
> `itemsize'
> In file included from Lib/signal/sigtools.h:2,
> from Lib/signal/sigtoolsmodule.c:8:
> /sw/lib/python2.4/site-packages/scipy/base/include/scipy/arrayobject.h:130:
> warning: redefinition of `ushort'
> /usr/include/sys/types.h:85: warning: `ushort' previously declared here
> /sw/lib/python2.4/site-packages/scipy/base/include/scipy/arrayobject.h:131:
> warning: redefinition of `uint'
> /usr/include/sys/types.h:86: warning: `uint' previously declared here
> Lib/signal/sigtoolsmodule.c: In function `fill_buffer':
> Lib/signal/sigtoolsmodule.c:1410: error: structure has no member named
> `itemsize'
> Lib/signal/sigtoolsmodule.c: In function `Py_copy_info':
> Lib/signal/sigtoolsmodule.c:1624: error: structure has no member named
> `itemsize'
> Lib/signal/sigtoolsmodule.c: In function `Py_copy_info_vec':
> Lib/signal/sigtoolsmodule.c:1632: error: structure has no member named
> `itemsize'
> error: Command "gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
> -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
> -I/sw/lib/python2.4/site-packages/scipy/base/include -I/sw/include/python2.4
> -c Lib/signal/sigtoolsmodule.c -o
> build/temp.darwin-8.3.0-Power_Macintosh-2.4/Lib/signal/sigtoolsmodule.o"
> failed with exit status 1
> removed Lib/__svn_version__.py
> removed Lib/__svn_version__.pyc
>
>
> I tried on Centos 4.2 and OS X 10.4.3. Both stuck at the same place.
>
> Gen
>
>
> On 12/5/05 8:36 PM, "Travis Oliphant" <oliphant.travis at ieee.org> wrote:
>
>> David M. Cooke wrote:
>>
>>> Alan G Isaac <aisaac at american.edu> writes:
>>>
>>>
>>>
>> SciPy full now builds using the recent SVN version of scipy (a few
>> missed changes still needed to be made to f2py).
>>
>> I'm getting only 1 error in check_odeint1 as well. So, I think the
>> changes were reasonably successful (especially given how deep the
>> surgery was --- PyArray_Typecode had spread its ugliness everywhere)
>>
>> Feel free to start relying on SVN again.
>>
>> -Travis
>>
>>
>> _______________________________________________
>> SciPy-user mailing list
>> SciPy-user at scipy.net
>> http://www.scipy.net/mailman/listinfo/scipy-user
>
>
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
More information about the SciPy-User
mailing list