[Numpy-discussion] Release of SciPy Core 0.4 (Beta)

Gerard Vermeulen gerard.vermeulen at grenoble.cnrs.fr
Sun Oct 2 12:41:08 CDT 2005


On Fri, 30 Sep 2005 00:59:22 -0600
Travis Oliphant <oliphant at ee.byu.edu> wrote:

> 
> This is to announce the release of SciPy Core 0.4.X (beta)
> 
> It is available at sourceforge which you can access by going to
> 
> http://numeric.scipy.org
> 
> Thanks to all who helped me with this release, especially
> 
> Robert Kern
> Pearu Peterson
> 
> Now, let's start getting this stable....
> 
> -Travis Oliphant
> 
I have found two problems:

(1) scipy_core-0.4.1 does not compile on this system without ATLAS,
    because there are missing files:
...
 creating build/temp.linux-i686-2.4/lapack_lite
compile options: '-Iscipy/base/include -Ibuild/src/scipy/base -Iscipy/base/src -I/usr/include/python2.4 -c'
gcc: scipy/corelib/lapack_lite/lapack_litemodule.c
gcc: lapack_lite/dlapack_lite.c
gcc: lapack_lite/dlapack_lite.c: No such file or directory
gcc: no input files
gcc: lapack_lite/dlapack_lite.c: No such file or directory
gcc: no input files
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro-g -fPIC -Iscipy/base/include -Ibuild/src/scipy/base -Iscipy/base/src -I/usr/include/python2.4 -c lapack_lite/dlapack_lite.c -o build/temp.linux-i686-2.4/lapack_lite/dlapack_lite.o" failed with exit status 1
[packer at titan scipy_core-0.4.1]$  


(2) when building scipy_core from SVN the header files do not get installed.
    The install section from my RPM SPEC file reads:

%install
rm -rf %{buildroot}
python setup.py install --root=%{buildroot}

# The API headers do not get installed
mkdir -p %{buildroot}/%{_includedir}/python%{pyver}/scipy/
for header in scipy/base/include/scipy/*object.h ; do
    install -m 644 $header %{buildroot}/%{_includedir}/python%{pyver}/scipy/
done
# The generated API headers and config.h do not get installed either
for header in build/src/scipy/base/*.h ; do
    install -m 644 $header %{buildroot}/%{_includedir}/python%{pyver}/scipy/
done

# Mandrake 10.2 needs this:
%multiarch_includes %{buildroot}/%{_includedir}/python%{pyver}/scipy/config.h

%clean
#rm -rf %{buildroot}


Regards -- Gerard




More information about the Numpy-discussion mailing list