[newbie] Make fails - cpp0: No such file or directory

2002-07-07 Thread Ralph Dratman

Since installing 8.2 a few days ago, I have tried to compile a couple 
of source packages. I keep getting the following sequence:

--
# make
gcc -c  -DSTACK_DIRECTION=0 -g hello.c
gcc: installation problem, cannot exec `cpp0': No such file or directory
make: *** [hello.o] Error 1
--

So then I try

--
# locate cpp0
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.0.4/tradcpp0
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.0.4/cpp0
--

A couple of messages I found in archives suggest that the gcc setup 
is somehow wrong, or there are extra compilers installed, but I have 
not been able to find any specifics on how to fix the problem.

So I tried

--
# locate bin/gcc
/usr/bin/gcc-2.96
/usr/bin/gcc
--

Does anyone know what is going wrong and what I might do to make it better?

Thank you.

Regards,

Ralph



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



Re: [newbie] Make fails - cpp0: No such file or directory

2002-07-07 Thread Bill Davidson

On Sun, 07 Jul 2002 19:08:40 -0400
Ralph Dratman [EMAIL PROTECTED] wrote:

 Since installing 8.2 a few days ago, I have tried to compile a couple 
 of source packages. I keep getting the following sequence:
 
 --
 # make
 gcc -c  -DSTACK_DIRECTION=0 -g hello.c
 gcc: installation problem, cannot exec `cpp0': No such file or
 directory make: *** [hello.o] Error 1
 --
 
 So then I try
 
 --
 # locate cpp0
 /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.0.4/tradcpp0
 /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.0.4/cpp0
 --
 
 A couple of messages I found in archives suggest that the gcc setup 
 is somehow wrong, or there are extra compilers installed, but I have 
 not been able to find any specifics on how to fix the problem.
 
 So I tried
 
 --
 # locate bin/gcc
 /usr/bin/gcc-2.96
 /usr/bin/gcc

You've got gcc3.0-cpp. You need gcc-cpp-2.96.

Bill



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