scipy installation error

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

scipy installation error

x.piter
Hi
I try to install scpy 10.1 (or 11) on debian testing, but get the
following error:
 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
Does anybody knows a solution for it?
Thanks.
Petro

_______________________________________________
SciPy-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/scipy-user
Reply | Threaded
Open this post in threaded view
|

Re: scipy installation error

David Cournapeau
Hi Petro,

On Sun, Aug 5, 2012 at 12:14 PM,  <[hidden email]> wrote:
> Hi
> I try to install scpy 10.1 (or 11) on debian testing, but get the
> following error:
>  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
> Does anybody knows a solution for it?

We would need a bit more context to help you there. Can you give the
rest of the log ?

David
_______________________________________________
SciPy-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/scipy-user
Reply | Threaded
Open this post in threaded view
|

Re: scipy installation error

Pauli Virtanen-3
In reply to this post by x.piter
05.08.2012 13:14, [hidden email] kirjoitti:
> Hi
> I try to install scpy 10.1 (or 11) on debian testing, but get the
> following error:
>  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
> Does anybody knows a solution for it?
[clip]

Paste the whole build log on gist.github.com or pastebin. It's
impossible to say much based on this snippet.

--
Pauli Virtanen


_______________________________________________
SciPy-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/scipy-user
Reply | Threaded
Open this post in threaded view
|

Re: scipy installation error

x.piter
In reply to this post by David Cournapeau
David Cournapeau <[hidden email]> 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


_______________________________________________
SciPy-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/scipy-user