Thus spake Steven Boothe ([EMAIL PROTECTED]):

> Hello everyone:
> 
> I seem to have a problem compiling a simple hello.cpp program:
> """""""""""""""""""""""""
> #include <iostream.h>
> int main()
> {
>   cout << "Hello, world." << endl;
>   return 0;
> }
> """""""""""""""""""""""""
> 
> The error I get is:
> 
> [sboothe@poretz sboothe]$ gcc hello.cpp
> gcc: installation problem, cannot exec `cpp0': No such file or directory
> [sboothe@poretz sboothe]
> 
> For the record here is the output of some hopefully meaningful commands:
> 
> [steven]$ rpm -qa | grep gcc && rpm -qa | grep gcc && rpm -qa | grep libstd
> gcc3.0-cpp-3.0.4-2mdk
> gcc-2.96-0.76mdk
> gcc-c++-2.96-0.76mdk
> libgcc3.0-3.0.4-2mdk
> gcc3.0-cpp-3.0.4-2mdk
> gcc-2.96-0.76mdk
> gcc-c++-2.96-0.76mdk
> libgcc3.0-3.0.4-2mdk
> libstdc++3.0-devel-3.0.4-2mdk
> libstdc++2.10-2.96-0.76mdk
> libstdc++3.0-3.0.4-2mdk
> libstdc++2.10-devel-2.96-0.76mdk
> [steven]$
> 
> Thanks to anyone who read this message.

Hmmm, well a 
        which cpp
for me (Mdk 8.1) returns 
        /usr/bin/cpp
and a
        rpm -q -f `which cpp`
tells me the file belongs to both gcc-cpp-2.96-0.62mdk and
gcc3.0-cpp-3.0.1-1mdk. 

Perhaps this is an 8.2 thing?

What do the above commands give on your system?
-- 
|Deryk Barker, Computer Science Dept. | Music does not have to be understood|
|Camosun College, Victoria, BC, Canada| It has to be listened to.           |
|email: [EMAIL PROTECTED]         |                                     |
|phone: +1 250 370 4452               |         Hermann Scherchen.          |


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to