Hi there,
I'm not sure, if I'm mailing to the right list, but I will give it a
shot, anyway. I have a problem getting matplotlib installed. After
compiling fine for a while I get the error message:
..
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
building 'matplotlib._na_cntr' extension
gcc -DNDEBUG -O2 -g -pipe -D_GNU_SOURCE -fPIC -fPIC -I/usr/local/include
-I/usr/include -I/glb/home/nlhkl6/install/include -I.
-I/usr/include/python2.2 -c src/_na_cntr.c -o
build/temp.linux-x86_64-2.2/_na_cntr.o -DNUMARRAY=1
src/_na_cntr.c:1705: syntax error before "init_na_cntr"
error: command 'gcc' failed with exit status 1
I am using:
matplotlib 0.86.1
python 2.2
Numeric 24.2
numarray 1.5.0
I have modified basedir in setupext.py to
..
'linux2' : ['/usr/local', '/usr', '/glb/home/nlhkl6/install'],
'linux' : ['/usr/local', '/usr', '/glb/home/nlhkl6/install'],
..
the header files for the numarray and the Numeric package are at the
last location under include/Numeric and include/Numarray
Furthermore I have modified in setup.py
rc = dict([('backend', 'PS'), ('numerix', 'Numeric')])
because the original form threw errors.
Any help would be much appreciated!
All the best,
Hanno