[SciPy-user] Problem when building scipy 0.3 for alpha OSF1

Jean-Luc Menut jeanluc.menut at free.fr
Fri May 21 11:01:40 CDT 2004


Pearu Peterson a écrit :

> Anyways, it's looks like xplt is the only scipy module that fails to 
> build. You can disable it by adding 'xplt' to ignore_packags list at the 
> end of setup.py file, at least you could then install and test scipy.

I have 6 packages which show the same kind of message :'cluster', 
'xplt', 'stats', 'signal', 'sparse', 'optimize' (1). I can build and 
install scipy without these package but when I write "import scipy" 
under python i have this message :

Python 2.3.3 (#8, May 21 2004, 12:13:46)
[GCC 3.3.3] on osf1V5
Type "help", "copyright", "credits" or "license" for more information.
 >>> import scipy
Floating point exception

and i return on the shell.

Jean-Luc

(1): I copy here the error messages for cluster only :


c++ options: '-pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes'
creating build/temp.osf1-V5.1-alpha-2.3/Lib/cluster
creating build/temp.osf1-V5.1-alpha-2.3/Lib/cluster/src
compile options: '-I/home2/menut/prg/python2.3/include/python2.3 -c'
c++: Lib/cluster/src/vq_wrap.cpp
In file included from 
/home2/menut/prg/python2.3/include/python2.3/Python.h:8,
                  from Lib/cluster/src/vq_wrap.cpp:176:
/home2/menut/prg/python2.3/include/python2.3/pyconfig.h:840:1: warning: 
"_OSF_SOURCE" redefined
In file included from 
/usr/local/lib/gcc-lib/alphaev67-dec-osf5.1/3.3.3/include/string.h:61,
                  from Lib/cluster/src/vq_wrap.cpp:27:
/usr/include/standards.h:206:1: warning: this is the location of the 
previous definition
In file included from 
/home2/menut/prg/python2.3/include/python2.3/Python.h:8,
                  from Lib/cluster/src/vq_wrap.cpp:176:
/home2/menut/prg/python2.3/include/python2.3/pyconfig.h:847:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from 
/usr/local/lib/gcc-lib/alphaev67-dec-osf5.1/3.3.3/include/string.h:61,
                  from Lib/cluster/src/vq_wrap.cpp:27:
/usr/include/standards.h:198:1: warning: this is the location of the 
previous definition
In file included from 
/home2/menut/prg/python2.3/include/python2.3/Python.h:8,
                  from Lib/cluster/src/vq_wrap.cpp:176:
/home2/menut/prg/python2.3/include/python2.3/pyconfig.h:859:1: warning: 
"_XOPEN_SOURCE" redefined
In file included from 
/usr/local/lib/gcc-lib/alphaev67-dec-osf5.1/3.3.3/include/string.h:61,
                  from Lib/cluster/src/vq_wrap.cpp:27:
/usr/include/standards.h:188:1: warning: this is the location of the 
previous definition
In file included from 
/home2/menut/prg/python2.3/include/python2.3/pyport.h:99,
                  from 
/home2/menut/prg/python2.3/include/python2.3/Python.h:48,
                  from Lib/cluster/src/vq_wrap.cpp:176:
/usr/include/sys/time.h:71: error: 'suseconds_t' is used as a type, but 
is not
    defined as a type.
In file included from 
/home2/menut/prg/python2.3/include/python2.3/pyport.h:157,
                  from 
/home2/menut/prg/python2.3/include/python2.3/Python.h:48,
                  from Lib/cluster/src/vq_wrap.cpp:176:
/usr/local/lib/gcc-lib/alphaev67-dec-osf5.1/3.3.3/include/sys/stat.h:213: 
error: '
    blksize_t' is used as a type, but is not defined as a type.
/usr/local/lib/gcc-lib/alphaev67-dec-osf5.1/3.3.3/include/sys/stat.h:213: 
error: '
    blkcnt_t' is used as a type, but is not defined as a type.
In file included from Lib/cluster/src/vq_wrap.cpp:499:
Lib/cluster/src/vq.h:57:7: warning: no newline at end of file
In file included from 
/home2/menut/prg/python2.3/include/python2.3/Python.h:8,
                  from Lib/cluster/src/vq_wrap.cpp:176:
/home2/menut/prg/python2.3/include/python2.3/pyconfig.h:840:1: warning: 
"_OSF_SOURCE" redefined
In file included from 
/usr/local/lib/gcc-lib/alphaev67-dec-osf5.1/3.3.3/include/string.h:61,
                  from Lib/cluster/src/vq_wrap.cpp:27:
/usr/include/standards.h:206:1: warning: this is the location of the 
previous definition
In file included from 
/home2/menut/prg/python2.3/include/python2.3/Python.h:8,
                  from Lib/cluster/src/vq_wrap.cpp:176:
/home2/menut/prg/python2.3/include/python2.3/pyconfig.h:847:1: warning: 
"_POSIX_C_SOURCE" redefined
In file included from 
/usr/local/lib/gcc-lib/alphaev67-dec-osf5.1/3.3.3/include/string.h:61,
                  from Lib/cluster/src/vq_wrap.cpp:27:
/usr/include/standards.h:198:1: warning: this is the location of the 
previous definition
In file included from 
/home2/menut/prg/python2.3/include/python2.3/Python.h:8,
                  from Lib/cluster/src/vq_wrap.cpp:176:
/home2/menut/prg/python2.3/include/python2.3/pyconfig.h:859:1: warning: 
"_XOPEN_SOURCE" redefined
In file included from 
/usr/local/lib/gcc-lib/alphaev67-dec-osf5.1/3.3.3/include/string.h:61,
                  from Lib/cluster/src/vq_wrap.cpp:27:
/usr/include/standards.h:188:1: warning: this is the location of the 
previous definition
In file included from 
/home2/menut/prg/python2.3/include/python2.3/pyport.h:99,
                  from 
/home2/menut/prg/python2.3/include/python2.3/Python.h:48,
                  from Lib/cluster/src/vq_wrap.cpp:176:
/usr/include/sys/time.h:71: error: 'suseconds_t' is used as a type, but 
is not
    defined as a type.
In file included from 
/home2/menut/prg/python2.3/include/python2.3/pyport.h:157,
                  from 
/home2/menut/prg/python2.3/include/python2.3/Python.h:48,
                  from Lib/cluster/src/vq_wrap.cpp:176:
/usr/local/lib/gcc-lib/alphaev67-dec-osf5.1/3.3.3/include/sys/stat.h:213: 
error: '
    blksize_t' is used as a type, but is not defined as a type.
/usr/local/lib/gcc-lib/alphaev67-dec-osf5.1/3.3.3/include/sys/stat.h:213: 
error: '
    blkcnt_t' is used as a type, but is not defined as a type.
In file included from Lib/cluster/src/vq_wrap.cpp:499:
Lib/cluster/src/vq.h:57:7: warning: no newline at end of file
error: Command "c++ -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes -I/home2/menut/prg/python2.3/include/python2.3 -c 
Lib/cluster/src/vq_wrap.cpp -o 
build/temp.osf1-V5.1-alpha-2.3/Lib/cluster/src/vq_wrap.o" failed with 
exit status 1



More information about the SciPy-user mailing list