[SciPy-User] Building SciPy on Debian with Intel compilers

Klonuo Umom klonuo at gmail.com
Wed Jul 6 15:59:36 EDT 2011


Debian 6.0.1
Python 2.6.7

ifort 11.1 20100806
icc 11.1 20091130
mkl 10.3


After successfully building latest stable NumPy (1.6.1RC2) I tried to
build SciPy (0.9.0) following two sources:

http://new.scipy.org/building/linux.html
http://blog.sun.tc/2010/11/numpy-and-scipy-with-intel-mkl-on-linux.html

But I get this error:

------------------------------------------------

...

building 'qhull' library
compiling C sources
C compiler: icc -fPIC

compile options: '-I/usr/include/python2.6
-I/usr/local/lib/python2.6/dist-packages/numpy/core/include
-I/usr/local/lib/python2.6/dist-packages/numpy/core/include -c'
icc: scipy/spatial/qhull/src/poly.c
scipy/spatial/qhull/src/qhull_a.h(106): warning #77: this declaration
has no storage class or type specifier
  template <typename T>
  ^

scipy/spatial/qhull/src/qhull_a.h(106): error: expected a ";"
  template <typename T>
           ^

scipy/spatial/qhull/src/qhull_a.h(115): warning #12: parsing restarts
here after previous syntax error
  void    qh_qhull(void);
                        ^

compilation aborted for scipy/spatial/qhull/src/poly.c (code 2)
scipy/spatial/qhull/src/qhull_a.h(106): warning #77: this declaration
has no storage class or type specifier
  template <typename T>
  ^

scipy/spatial/qhull/src/qhull_a.h(106): error: expected a ";"
  template <typename T>
           ^

scipy/spatial/qhull/src/qhull_a.h(115): warning #12: parsing restarts
here after previous syntax error
  void    qh_qhull(void);
                        ^

compilation aborted for scipy/spatial/qhull/src/poly.c (code 2)
error: Command "icc -fPIC -I/usr/include/python2.6
-I/usr/local/lib/python2.6/dist-packages/numpy/core/include
-I/usr/local/lib/python2.6/dist-packages/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 2

------------------------------------------------

As Google did not return anything about this error, and I just
installed Debian two days ago, without any Linux experience, I might
miss something.
Or what can cause this error?


Thanks



More information about the SciPy-User mailing list