[SciPy-User] scipy installation error

x.piter@gmai... x.piter@gmai...
Sun Aug 5 11:15:13 CDT 2012


David Cournapeau <cournape@gmail.com> writes:
> We would need a bit more context to help you there. Can you give the
> rest of the log ?
Hi, thanks for these followups. 
Here is the end part were troubles start
I am an illiterate in C :(

##########################################
compiling C sources
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC

compile options: '-I/usr/include/python2.6 -I/usr/lib/pymodules/python2.6/numpy/core/include -I/usr/lib/pymodules/python2.6/numpy/core/include -c'
gcc: scipy/spatial/qhull/src/poly.c
In file included from /usr/include/python2.6/Python.h:8,
                 from scipy/spatial/qhull/src/mem.h:22,
                 from scipy/spatial/qhull/src/qhull_a.h:31,
                 from scipy/spatial/qhull/src/poly.c:17:
/usr/include/python2.6/pyconfig.h:1031:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/time.h:28,
                 from scipy/spatial/qhull/src/user.h:27,
                 from scipy/spatial/qhull/src/libqhull.h:34,
                 from scipy/spatial/qhull/src/qhull_a.h:27,
                 from scipy/spatial/qhull/src/poly.c:17:
/usr/include/features.h:210:1: warning: this is the location of the previous definition
In file included from scipy/spatial/qhull/src/qhull_a.h:31,
                 from scipy/spatial/qhull/src/poly.c:17:
scipy/spatial/qhull/src/mem.h:23:32: error: numpy/ndarraytypes.h: No such file or directory
In file included from scipy/spatial/qhull/src/qhull_a.h:31,
                 from scipy/spatial/qhull/src/poly.c:17:
scipy/spatial/qhull/src/mem.h:85: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ptr_intT’
scipy/spatial/qhull/src/poly.c: In function ‘qh_gethash’:
scipy/spatial/qhull/src/poly.c:407: error: ‘ptr_intT’ undeclared (first use in this function)
scipy/spatial/qhull/src/poly.c:407: error: (Each undeclared identifier is reported only once
scipy/spatial/qhull/src/poly.c:407: error: for each function it appears in.)
scipy/spatial/qhull/src/poly.c:407: error: expected ‘;’ before ‘hash’
scipy/spatial/qhull/src/poly.c:417: error: ‘hash’ undeclared (first use in this function)
scipy/spatial/qhull/src/poly.c:417: error: expected ‘;’ before ‘skipelem’
scipy/spatial/qhull/src/poly.c:420: error: expected ‘;’ before ‘elemp’
scipy/spatial/qhull/src/poly.c:423: error: expected ‘;’ before ‘elemp’
scipy/spatial/qhull/src/poly.c:427: error: expected ‘;’ before ‘elemp’
scipy/spatial/qhull/src/poly.c:431: error: expected ‘;’ before ‘elemp’
scipy/spatial/qhull/src/poly.c:435: error: expected ‘;’ before ‘elemp’
scipy/spatial/qhull/src/poly.c:443: error: ‘elem’ undeclared (first use in this function)
scipy/spatial/qhull/src/poly.c:443: error: expected ‘)’ before ‘skipelem’
scipy/spatial/qhull/src/poly.c: In function ‘qh_pointid’:
scipy/spatial/qhull/src/poly.c:1047: error: ‘ptr_intT’ undeclared (first use in this function)
scipy/spatial/qhull/src/poly.c:1047: error: expected ‘;’ before ‘offset’
scipy/spatial/qhull/src/poly.c:1055: error: ‘offset’ undeclared (first use in this function)
scipy/spatial/qhull/src/poly.c:1056: error: ‘id’ undeclared (first use in this function)
In file included from /usr/include/python2.6/Python.h:8,
                 from scipy/spatial/qhull/src/mem.h:22,
                 from scipy/spatial/qhull/src/qhull_a.h:31,
                 from scipy/spatial/qhull/src/poly.c:17:
/usr/include/python2.6/pyconfig.h:1031:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/time.h:28,
                 from scipy/spatial/qhull/src/user.h:27,
                 from scipy/spatial/qhull/src/libqhull.h:34,
                 from scipy/spatial/qhull/src/qhull_a.h:27,
                 from scipy/spatial/qhull/src/poly.c:17:
/usr/include/features.h:210:1: warning: this is the location of the previous definition
In file included from scipy/spatial/qhull/src/qhull_a.h:31,
                 from scipy/spatial/qhull/src/poly.c:17:
scipy/spatial/qhull/src/mem.h:23:32: error: numpy/ndarraytypes.h: No such file or directory
In file included from scipy/spatial/qhull/src/qhull_a.h:31,
                 from scipy/spatial/qhull/src/poly.c:17:
scipy/spatial/qhull/src/mem.h:85: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ptr_intT’
scipy/spatial/qhull/src/poly.c: In function ‘qh_gethash’:
scipy/spatial/qhull/src/poly.c:407: error: ‘ptr_intT’ undeclared (first use in this function)
scipy/spatial/qhull/src/poly.c:407: error: (Each undeclared identifier is reported only once
scipy/spatial/qhull/src/poly.c:407: error: for each function it appears in.)
scipy/spatial/qhull/src/poly.c:407: error: expected ‘;’ before ‘hash’
scipy/spatial/qhull/src/poly.c:417: error: ‘hash’ undeclared (first use in this function)
scipy/spatial/qhull/src/poly.c:417: error: expected ‘;’ before ‘skipelem’
scipy/spatial/qhull/src/poly.c:420: error: expected ‘;’ before ‘elemp’
scipy/spatial/qhull/src/poly.c:423: error: expected ‘;’ before ‘elemp’
scipy/spatial/qhull/src/poly.c:427: error: expected ‘;’ before ‘elemp’
scipy/spatial/qhull/src/poly.c:431: error: expected ‘;’ before ‘elemp’
scipy/spatial/qhull/src/poly.c:435: error: expected ‘;’ before ‘elemp’
scipy/spatial/qhull/src/poly.c:443: error: ‘elem’ undeclared (first use in this function)
scipy/spatial/qhull/src/poly.c:443: error: expected ‘)’ before ‘skipelem’
scipy/spatial/qhull/src/poly.c: In function ‘qh_pointid’:
scipy/spatial/qhull/src/poly.c:1047: error: ‘ptr_intT’ undeclared (first use in this function)
scipy/spatial/qhull/src/poly.c:1047: error: expected ‘;’ before ‘offset’
scipy/spatial/qhull/src/poly.c:1055: error: ‘offset’ undeclared (first use in this function)
scipy/spatial/qhull/src/poly.c:1056: error: ‘id’ undeclared (first use in this function)
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -I/usr/lib/pymodules/python2.6/numpy/core/include -I/usr/lib/pymodules/python2.6/numpy/core/include -c scipy/spatial/qhull/src/poly.c -o build/temp.linux-i686-2.6/scipy/spatial/qhull/src/poly.o" failed with exit status 1




More information about the SciPy-User mailing list