|
From: Michael D. <md...@st...> - 2009-03-20 17:11:45
|
Michael Hearne wrote: > Two questions: > 1) I'm trying to upgrade an installation of matplotlib I have on a RHEL5 > system. When trying: > > /usr/local/bin/python setup.py build > > I get the error message: > "gcc: src/ft2font.cpp: C++ compiler not installed on this system > error: command 'gcc' failed with exit status 1" > > I do in fact have a C++ compiler on the system, in the form of g++. Is > there a place where I can configure the C++ compiler to use? > distutils will use the CXX environment variable if it is set. Though you should be able to compile C++ with gcc as well, if the C++ backend is installed -- that's why the error message is surprising to me if you're certain you have g++ installed. Can you compile a simple C++ file with gcc directly from the commandline? Cheers, Mike -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |