[Numpy-discussion] Installing numpy/scipy on CentOS 4
Robert Kern
robert.kern@gmail....
Mon May 12 11:59:21 CDT 2008
On Mon, May 12, 2008 at 11:50 AM, Chris Miller <centos@scratchspace.com> wrote:
>
> Hello,
> I'm having trouble getting the python-numpy RPM to build under
> CentOS 4.6. I've already built and installed atlas, lapack3 and
> refblas3 from the CentOS 5 source RPMS, but numpy won't build
> correctly. Although the ultimate error may be unrelated to Atlas,
> clearly not all the atlas dependencies are being satisfied. Only the
> .so files are supplied by the RPMS, but it seems that some
> additional lib* files may be needed as well.
>
> Side notes;
>
> * gcc-g77 is not installed (apparently causes problems), gfortran is
> installed from the gcc4 RPM.
> * I ran "export LD_LIBRARY_PATH=/usr/lib/atlas/sse2"
> * I created the missing directories in
> /var/tmp/python-numpy-1.0.4-build but it's really not clear that
> this is really the problem
> * The numpy SPEC file shows a dependency on lapack3 < 3.1, but
> rpmbuild doesn't complain about this, and it seems everyone uses
> lapack 3.0.x
> * Upgrading to CentOS 5 is not an option
>
> Can anyone provide any insight as to what exactly is missing from
> Atlas and how to correctly resolve this dependency? Any other tips
> are appreciated. rpmbuild output below.
> running build_scripts
> creating build/scripts.linux-i686-2.3
> Creating build/scripts.linux-i686-2.3/f2py
> adding 'build/scripts.linux-i686-2.3/f2py' to scripts
> changing mode of build/scripts.linux-i686-2.3/f2py from 644 to 755
> + exit 0
> Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.28086
> + umask 022
> + cd /usr/src/redhat/BUILD
> + cd numpy-1.0.4
> + /usr/lib/rpm/brp-compress
> + /usr/lib/rpm/brp-strip
> + /usr/lib/rpm/brp-strip-static-archive
> + /usr/lib/rpm/brp-strip-comment-note
> Processing files: python-numpy-1.0.4-4.1
> error: File not found by glob:
> /var/tmp/python-numpy-1.0.4-build/usr/bin/*
> error: File not found by glob:
> /var/tmp/python-numpy-1.0.4-build/usr/lib/python*/site-packages/numpy
> error: File not found by glob:
> /var/tmp/python-numpy-1.0.4-build/usr/lib/python*/site-packages/numpy*.egg-info
It looks like nothing actually executed "python setup.py install" to
put the files into /var/tmp/python-numpy-1.0.4-build/. I suspect a
problem in the spec file. Unfortunately, I am not familiar with
building RPMs, so I don't know where you got the spec file from or
where you can get a good one.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the Numpy-discussion
mailing list