On Sat, Dec 20, 2008 at 12:19 AM, Ryan Wagner <rwag...@vni.com> wrote: > Hi guys, > > I've been trying to build the newest version of MPL on Ubuntu Intrepid > for a few days now. I'm not getting anywhere. I believe I have all the > correct dev packages installed. I had tried to build 0.98.3 but it came out > via apt-get. Can anyone take a look at my install output (attached) and give > me an idea of what I may be doing wrong? TIA
Is it possible you are not using g++ here ? The compile line that is failing is cc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -ansi -m64 -w -DCOMPUTER_LOPT64 -DANSI -I/usr/local/VNI/imsl/cnl600/linux64/include -fPIC -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.5 -c CXX/cxxextensions.c -o build/temp.linux-x86_64-2.5/CXX/cxxextensions.o In file included from CXX/cxxextensions.c:38: ./CXX/WrapPython.h:1: error: expected identifier or '(' before '/' token The line in question, line 1 of WrapPython.h, is simply a comment. Flags like -DANSI -I/usr/local/VNI/imsl/cnl600/linux64/include indicate to me you have some non-standard stuff in your build environment, and perhaps you are picking up a different compiler or library, perhaps the intel compiler? If you are trying to compile with the intel compiler, you may need to set the CC and CXX environment variables to make sure you are using the c++ compiler. If you can use g++, you are more likely to have success. Before building, I suggest export CC=gcc export CXX=g++ You might also try and remove the CFLAGS that are causing the "visual numerics" include flags to set. JDH ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users