It looks like Travis committed a numpy 1.0 compatibility fix on July 7th. It includes the header which addresses your error. You will have to use >=matplotlib-0.87.4 if you want to use the latest numpy.
- Charlie On 7/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > OK, > I removed the rpms, and used a direct install of numpy-1.0b1 from the > tar.gz package. > > Then, I tried to install matplotlib-0.87 from the tar.gz package. > > Apparently, same problem: > > python setup.py build >& build.log > [EMAIL PROTECTED] matplotlib-0.87.3]# tail build.log > gcc: src/_ns_cntr.c > src/_ns_cntr.c: In function 'Cntr_init': > src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in > this function) > src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported > only once > src/_ns_cntr.c:1582: error: for each function it appears in.) > src/_ns_cntr.c: In function 'Cntr_init': > src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in > this function) > src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported > only once > src/_ns_cntr.c:1582: error: for each function it appears in.) > error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g > -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 > -mtune=pentium4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC > -I/usr/lib/python2.4/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.4 -c > src/_ns_cntr.c -o build/temp.linux-i686-2.4/src/_ns_cntr.o -DSCIPY=1" > failed with exit status 1 > > > On Fri, 28 Jul 2006, Charlie Moad wrote: > > > What version of numpy are you using, and was it installed from source > > or package? > > > > On 7/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >> Hello, > >> I am trying to install matplotlib-0.87.3 on a Fedora Core 4 box > >> > >> The system has python-2.4 installed > >> > >> All of the necessary addons- scipy, numarray, Numeric, gtk, etc have > >> been added. > >> > >> I am including the output of running > >> > >> $ python setup.py install > >> > >> Any help is appreciated. > >> > >> -Thanks, > >> -sen1 > >> > >> Output of above script: > >> > >> /usr/lib/python2.4/site-packages/numpy/lib/utils.py:92: > >> DeprecationWarning: get_ > >> numpy_include is deprecated, use get_include > >> DeprecationWarning) > >> running install > >> running build > >> running build_py > >> running build_ext > >> building 'matplotlib._ns_cntr' extension > >> C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe > >> -Wp,-D_FORTI > >> FY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 > >> -fasynchronous-unwind- > >> tables -D_GNU_SOURCE -fPIC -fPIC > >> > >> compile options: > >> '-I/usr/lib/python2.4/site-packages/numpy/core/include -I/usr/l > >> ocal/include -I/usr/include -I. -I/usr/include/python2.4 -c' > >> extra options: '-DSCIPY=1' > >> gcc: src/_ns_cntr.c > >> src/_ns_cntr.c: In function 'Cntr_init': > >> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in > >> this functi > >> on) > >> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported > >> only once > >> src/_ns_cntr.c:1582: error: for each function it appears in.) > >> src/_ns_cntr.c: In function 'Cntr_init': > >> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in > >> this functi > >> on) > >> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported > >> only once > >> src/_ns_cntr.c:1582: error: for each function it appears in.) > >> error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g > >> -pipe -Wp,-D_F > >> ORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 > >> -fasynchronous-unw > >> ind-tables -D_GNU_SOURCE -fPIC -fPIC > >> -I/usr/lib/python2.4/site-packages/numpy/co > >> re/include -I/usr/local/include -I/usr/include > >> -I. -I/usr/include/python2.4 -c s > >> rc/_ns_cntr.c -o build/temp.linux-i686-2.4/src/_ns_cntr.o -DSCIPY=1" > >> failed with > >> exit status 1 > >> > >> > >> ------------------------------------------------------------------------- > >> Take Surveys. Earn Cash. Influence the Future of IT > >> Join SourceForge.net's Techsay panel and you'll get the chance to share > >> your > >> opinions on IT & business topics through brief surveys -- and earn cash > >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >> > >> _______________________________________________ > >> Matplotlib-users mailing list > >> Matplotlib-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > >> > >> > >> > > > > -- > --------------------------------------------------------------------------- > | Sheldon E. Newhouse | e-mail: [EMAIL PROTECTED] | > | Mathematics Department | | > | Michigan State University | telephone: 517-355-9684 | > | E. Lansing, MI 48824-1027 USA | FAX: 517-432-1562 | > --------------------------------------------------------------------------- > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users