I am trying to build matplotlib 0.84 on my Linux box: python 2.2, Redhat 3.2.3-53, gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-53)
The error I got is listed below - I am at a loss as to what is up. I have built 0.84 with no problem on my OS X machine.
The point in the code indicated by the error is just after a #if / else checking whether Numeric of Numarray is present. I have only Numeric on this machine and the error occurs just after the #else indicating Numeric is present.
My OS X box has numarray, so I guess this branch of code is not hit when I compile there.
I did comment out the py-modules line as suggested in the setup.py since I am using python 2.2.
Thanks for any help.
building 'matplotlib._nc_cntr' extension
cc -DNDEBUG -O -fPIC -I/usr/local/include -I/usr/include -I/export/cdat/cdat-3.3/include/python2.2 -c src/_nc_cntr.c -o build/temp.linux-i686-2.2/_nc_cntr.o -DNUMERIC=1
src/_nc_cntr.c:1718: syntax error before "init_nc_cntr"
error: command 'cc' failed with exit status 1