LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   gcc: installation problem, cannot exec `cc1': No such file or directory Error Message (https://www.linuxquestions.org/questions/programming-9/gcc-installation-problem-cannot-exec-%60cc1-no-such-file-or-directory-error-message-188213/)

08h 05-31-2004 08:43 PM

gcc: installation problem, cannot exec `cc1': No such file or directory Error Message
 
Hi-
I puchased SuSE Personal 9.1 just recently and began learing about Linux through a book I bought. When I got to the section on compiling a simple C program, I found out that SuSE Personal 9.1 doesn't include a c compiler- arrrghhh!!! I tried man gcc and it stated no manual entry found..etc...etc....Anyways, after a couple of days trying to figure what to do I finally decided to download the following RPM packages: gcc 3.3, binutils and glibc-devel. I tried to download the most recent rpm's available. Luckily, because I am a big-time Linux newbie I was able to install these packages through YaST. After YaST was through it showed that all the packages were installed. So, I went to the command prompt typed in man gcc and the man pages popped up!!! I was so exicited. Anways, to my disappointment, I then typed in gcc hello.c to simply see if my c program would simply compile and I get the following error: gcc: installation problem, cannot exec `cc1': No such file or directory.
This error is just to cryptic for me to handle and I have heard that the this website is very supportive so I am hoping some people could possible lend a hand in helping me figure out how to solve this problem. There may be more than one problem to solve, but solving this may help things along.
Could it have something to do with the PATH? I am cluless about changing PATH's etc... I have seen that a couple of times googling for this error message. Anyways, if could get some help that would be excellent. Thanks.
Newbie James

spotslayer 07-18-2004 01:10 PM

James, did you ever get an answer to this? I am having exactly the same problem and would appreciate the info.

David

jaykrishna 07-20-2006 11:44 AM

did u get any reply for your problem ,
i am having the same problem, could pls tell me how to fix this.
thanks


All times are GMT -5. The time now is 02:09 PM.