[SciPy-user] Building SciPy Fails

Oystein Birkenes birkenes at iet.ntnu.no
Tue Nov 2 04:09:23 CST 2004


On Mon, 2004-11-01 at 21:56, Travis Oliphant wrote:
> Oystein Birkenes wrote:
> 
> >On Mon, 2004-11-01 at 21:58, Pearu Peterson wrote:
> >  
> >
> >>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
> >>
> >>    
> >>
> >I can't find the files you asked for, but I have a file called
> >/usr/X11R6/lib/libX11.so.6.2
> >  
> >
> You probably need the libX11-devel rpm or something equivalent. 
> 
> -Travis
> 
Great, now I managed to install SciPy and everything seems to be fine!
What I did is that I installed the xorg-x11-devel package using yum
(didn't find a package named libX11-devel for Fedora) and the X Software
Development Tools using the Package Management. Thanks again for help!

Oystein



More information about the SciPy-user mailing list