Getting C++ Working in Mandrake 7.1
Another Mandrake nightmare. . .
I'm taking a C++ course at OSU this fall so I wanted to get C-Forge up
and running so I tried a simple Hello World program and it failed to compile.
After searching the web, installing everything I could find as root w/anything
with the letters c++ using "rpmdrake," and otherwise becoming agitated,
I returned to this page:
http://www.pcs.cnu.edu/linux/wwwboard/messages/344.html .
I ran, as suggested:
shell> rpm -qa | grep "g[+|c]"
to see what relevant packages were installed.
I failed to find:
gcc-c++-2.95.2-7mdk.i586.rpm
(This is the one that is needed to compile c++ programs on Mandrake 7.1!)
You can find it on the Mandrake 7.1 Installation CD (first one, as Matt
Shivers posted, under /Mandrake/RPMS)
After installing you can do a:
shell> g++ -v
to see if you get recognition.
WHeww. . .
other sources:
http://www.arachnoid.com/cpptutor/setup_unix.html
http://www.pcs.cnu.edu/linux/wwwboard/messages/344.html
J.M. 09/06/01
back to tips