I'm trying to set up fipy 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 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 also tried pysparse v1.2 with the same result (in addition to some
library linking errors that I'll also probably have to fix).
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
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
[ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]