[SciPy-user] problem installing sciPy

marco turchi marco.turchi at gmail.com
Fri Oct 5 10:48:47 EDT 2007


Dear Davis,
I have send to a file the output of the installation.
I have found the following error:
1)
./xconfig -d s /usr/local/scipy/garnumpy-0.3
/bootstrap/ATLAS/work/main.d/atlas-3.7.33/GarObj/../ -d b
/usr/local/scipy/garnumpy- 0.3/bootstrap/ATLAS/work/main.d/atlas-3.7.33/GarObj
-Si archdef 1 -Ss flapack /home/ematxmt/garnumpyinstall/lib/liblapack.a -b
32 -C if g77 -Fa alg

ERROR around arg 20 (out of arguments).

2)
building extension "numpy.random.mtrand" sources
creating build/src.linux-i686-2.5/numpy/random
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -fPIC
compile options: '-Inumpy/core/src -Inumpy/core/include -I/usr/local/Python-
2.5.1/Include -I/usr/local/Python-2.5.1 -c'
gcc: _configtest.c
_configtest.c:7:2: #error No _WIN32
_configtest.c:7:2: #error No _WIN32
failure.
removing: _configtest.c _configtest.o

3)
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -fPIC

compile options: '-Inumpy/core/src -Inumpy/core/include -I/usr/local/Python-
2.5.1/Include -I/usr/local/Python-2.5.1 -c'
gcc: _configtest.c
_configtest.c:7:2: #error No _WIN32
_configtest.c:7:2: #error No _WIN32
failure.
removing: _configtest.c _configtest.o

4)
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC
-I/home/ematxmt/garnumpyinstall/lib/python2.5/site-packages/numpy/core/include
-I/usr/local/include -I/usr/include -I. -Isrc -Iswig -Iagg23/include -I.
-I/usr/local/include -I/usr/include -I.
-I/home/ematxmt/garnumpyinstall/lib/python2.5/site-packages/numpy/core/include/freetype2
-I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
-Isrc/freetype2 -Iswig/freetype2 -Iagg23/include/freetype2 -I./freetype2
-I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
-I/usr/local/Python-2.5.1/Include -I/usr/local/Python-2.5.1 -c
src/_image.cpp -o build/temp.linux-i686-2.5/src/_image.o -DSCIPY=1
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
src/_image.cpp:5:17: png.h: No such file or directory
In file included from /usr/local/Python-2.5.1/Include/Python.h:8,
                 from src/_image.cpp:7:
/usr/local/Python-2.5.1/pyconfig.h:932:1: warning: "_POSIX_C_SOURCE"
redefined
In file included from
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../../include/c++/3.4.6/i386-redhat-linux/bits/os_defines.h:39,
                 from
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../../include/c++/3.4.6/i386-redhat-linux/bits/c++config.h:35,
                 from
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../../include/c++/3.4.6/iostream:44,
                 from src/_image.cpp:1:
/usr/include/features.h:150:1: warning: this is the location of the previous
definition
src/_image.cpp: In member function `Py::Object Image::write_png(const
Py::Tuple&)':
src/_image.cpp:654: error: `png_structp' was not declared in this scope
src/_image.cpp:654: error: expected `;' before "png_ptr"
src/_image.cpp:655: error: `png_infop' was not declared in this scope
src/_image.cpp:655: error: expected `;' before "info_ptr"
etc etc

is it possible that for error 4) it depends on the old version of gcc?

sorry about all these email...
Thanks
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20071005/bd82995d/attachment.html>


More information about the SciPy-User mailing list