From: Kevin C. <kj...@gr...> - 2002-10-04 19:33:56
|
I had VPython working fine on my 7.2 system, but had a few minor glitches getting it going on the RH 8.0 Beta after returning from the Tech Circus last weekend. In my case, the fixes (after downloading the latest and greatest from vpython.org) were: 1) Make sure C++ is installed. (As I recall, in 8.0, the package name changes from "gcc-c++" to "gcc-cpp" but I won't swear to it. You can check w/ the command "rpm -q gcc-cpp" and/or "rpm -q gcc-c++" assuming you've installed it using RPM.) 2) Get the Mandrake Numeric RPM. Pretty current, and it installs no fuss, no muss. 3) As the documentation suggests, make sure you know where all your python stuff lives. Red Hat doesn't put any of it in /usr/local. So rip "/local" out wherever you see it. (I can't recall, but I think there was somewhere that I had to remove it that wasn't mentioned in the documentation. 4) In my case, I had to change cvisual/CXX/CXX_Config.h, as suggested by the README.htm in that directory -- though I was a bit surprised, considering the date mentioned: ================================================================ Version 3 (June 18, 1999) 1. CXX compiles with EGCS snapshot 19990616. EGCS requires a standard library class random_access_iterator that is not yet available in some other compilers (such as Windows VC6). Therefore a new switch: STANDARD_LIBRARY_HAS_ITERATOR_TRAITS has been added to CXX_Config.h that you may need to toggle if you get an error on the two lines that mention random_access_iterator. The current definition is correct for VC6 and EGCS-19990616. ================================================================ Hope this isn't redundant information (or worse yet, incorrect info.) In any case, it wasn't working til I got all of the above done, and now it seems fine. -- Kevin Cole, RHCE, Linux Admin | Key ID: 0xE6F332C7 Gallaudet Research Institute | WWW: http://gri.gallaudet.edu/~kjcole/ Hall Memorial Bldg S-419 | Voice: (202) 651-5135 Washington, D.C. 20002-3695 | FAX: (202) 651-5746 |