[SciPy-user] Building SciPy Fails

Pearu Peterson pearu at scipy.org
Mon Nov 1 15:58:24 EST 2004



On Mon, 1 Nov 2004, Oystein Birkenes wrote:

> The command "python setup.py build" exits with the following error
> message:
>
> error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3
> -Wall -Wstrict-prototypes -fPIC
> -Ibuild/temp.linux-i686-2.3/config_pygist -ILib/xplt/src/gist
> -ILib/xplt/src/play -ILib/xplt/src/play/unix
> -I/usr/local/include/python2.3 -c Lib/xplt/src/play/x11/colors.c -o
> build/temp.linux-i686-2.3/Lib/xplt/src/play/x11/colors.o
> -DGISTPATH="\"/usr/local/lib/python2.3/site-packages/scipy/xplt/gistdata\"""
> failed with exit status 1
>
> I'm running Fedora Core 2 on a Dell Latitude C640 laptop. I have
> Python 2.3.4, Numeric version 23.1, numarray version 1.1, f2py2e version
> 2.43.239_1844 and scipy_distutils version 0.3.2.
>
> I've put some additional information on
> http://www.tele.ntnu.no/users/birkenes/scipy/ including:
> build.out: stdout of "python setup.py build"
> build.err: stderr of "python setup.py build"
> diagnose.out: stdout of "python -c 'from f2py2e.diagnose import
> run;run()'"
> atlas_version.out: stdout of "python -c 'import atlas_version'"
> system_info.out: stdout of "python
> scipy_core/scipy_distutils/system_info.py"
>
> Do you have any suggestions for what I can do to install SciPy?

The problem is that X11 library is not found as seen in system_info.out
and this is also reflected at the end of build.out.

Where are libX11.a and X11/X.h located in your system?

Pearu




More information about the SciPy-User mailing list