From: Leland M B. <lmb...@wi...> - 2012-02-02 16:12:50
|
I'm trying to set up pysparse to run on a 64 bit red hat linux machine (specifically Rocks v5.2). We have gcc v4.1.2. We also have the Enthought python distribution v7.1-2 (32 bit). with python 2.7. I'm having trouble installing pysparse v1.1.1. When I use the command python setup.py install I receive this error message: running install running build running build_py running build_ext building 'pysparse.spmatrix' extension gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -O2 -fPIC -DNUMPY=1 -DLENFUNC_OK=1 -IInclude -I/share/apps/Python2.7/epd-7.1-2-rh5-x86/lib/python2.7/site-packages/numpy/core/include -I/share/apps/Python2.7/epd-7.1-2-rh5-x86/include/python2.7 -c Src/spmatrixmodule.c -o build/temp.linux-x86_64-2.7/Src/spmatrixmodule.o In file included from /share/apps/Python2.7/epd-7.1-2-rh5-x86/include/python2.7/Python.h:58, from Src/spmatrixmodule.c:1: /share/apps/Python2.7/epd-7.1-2-rh5-x86/include/python2.7/pyport.h:849:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." error: command 'gcc' failed with exit status 1 I was hoping there might be someone else on the mailing list that encountered this and might have a solution. Please let me know if there is any more information I can supply that might be helpful in diagnosing the trouble. Thanks! VTY, Leland Barnard |