From: Gary <pa...@in...> - 2002-12-13 18:16:50
|
Hi all. I've got Mandrake 9.0, python 2.2.1, Numeric 21.0. I've tried to follow all the advice, except that I didn't install the Mesa libs. (Could that be my problem? I've got a nicely functioning OpenGL with my NVIDIA card...) I've set the STANDARD_LIBRARY_HAS_ITERATOR_TRAITS flag. One thing I don't know how to do is run g++ at an earlier version. The hints on the web site suggest changing /etc/colorgccrc. My system has no file called colorgccrc. Anyway, here's the first few and last few lines of the output I get when compiling: TIA, Gary -------------------------------------------- [VPython]# ./install Preparing... ########################################### [100%] package gtkglarea-1.2.2-10 is already installed 1:gtkglarea ########################################### [100%] ./install: line 12: /usr/lib/python2.2: is a directory g++ -I. -I./CXX/Include -I/usr/include/python2.2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/X11R6/include -w -c -o arrow.o arrow.cpp In file included from CXX/Include/CXX_Exception.h:10, from CXX/Include/CXX_Objects.h:20, from pvector.h:6, from cvisual.h:6, from display.h:5, from prim.h:5, from axial.h:5, from arrow.cpp:1: CXX/Include/CXX_Config.h:5: parse error before numeric constant In file included from CXX/Include/CXX_Objects.h:20, from pvector.h:6, from cvisual.h:6, from display.h:5, from prim.h:5, from axial.h:5, from arrow.cpp:1: CXX/Include/CXX_Exception.h:21: ISO C++ forbids declaration of `Exception' with no type CXX/Include/CXX_Exception.h:25: ISO C++ forbids declaration of `Exception' with no type CXX/Include/CXX_Exception.h:35: parse error before `}' token CXX/Include/CXX_Exception.h:37: parse error before `{' token ------------------------------------------------------------------------ ...and on and on and on ... and at the end: -------------------------------------------------- CXX/Include/CXX_Objects.h:1480: template argument 1 is invalid CXX/Include/CXX_Objects.h:1480: confused by earlier errors, bailing out make: *** [arrow.o] Error 1 cp: cannot stat `cvisualmodule.so': No such file or directory ----------------------------------------------------- |