[SciPy-dev] Now new svn of numpy is ready

Fernando Perez Fernando.Perez at colorado.edu
Wed Jan 4 20:03:59 CST 2006


Travis Oliphant wrote:
> My previous post was pre-mature as the fixed numpy was only in the numpy 
> branch.     I have now finished *merging* the changes from the numpy 
> branch into the trunk so
> 
> svn co http://svn.scipy.org/svn/numpy/trunk numpy
> 
> should not only check out something that compiles and installs *but 
> also* intalls into the numpy namespace

Am I doing something stupid?  The build fails with:

creating build/temp.linux-i686-2.3/numpy/random/mtrand
compile options: '-Inumpy/core/include -Ibuild/src/numpy/core -Inumpy/core/src 
-Inumpy/lib/../core/include -I/usr/include/python2.3 -c'
gcc: numpy/random/mtrand/randomkit.c
gcc: numpy/random/mtrand/initarray.c
gcc: mtrand/mtrand.c
gcc: mtrand/mtrand.c: No such file or directory

And indeed:

abdul[mtrand]> svup
At revision 1810.

abdul[mtrand]> d
/usr/local/installers/src/scipy/numpy/numpy/random/mtrand
total 108
-rw-r--r--  1 fperez 19567 Jan  4 16:44 distributions.c
-rw-r--r--  1 fperez  7261 Jan  4 16:44 distributions.h
-rw-r--r--  1 fperez  1411 Jan  4 16:44 generate_mtrand_c.py
-rw-r--r--  1 fperez  4803 Jan  4 16:44 initarray.c
-rw-r--r--  1 fperez   135 Jan  4 16:44 initarray.h
-rw-r--r--  1 fperez 33061 Jan  4 18:54 mtrand.pyx
-rw-r--r--  1 fperez  1339 Jan  4 16:44 numpy.pxi
-rw-r--r--  1 fperez   599 Jan  4 16:44 Python.pxi
-rw-r--r--  1 fperez  8950 Jan  4 16:44 randomkit.c
-rw-r--r--  1 fperez  5342 Jan  4 16:44 randomkit.h

No mtrand.c in sight, though there's an mtrand.pyx.  I suspect you forgot to 
include the generated C file and only committed the pyrex sources.

Cheers,

f




More information about the Scipy-dev mailing list