C compilers anywhere in your PATH: gcc cc acc c89

I'm tring to install Apache Server on my Linux "Mandrake" box. But when I try to configure it I get the error.
-----------
Creating Makefile in src
 + configured for Linux platform
Error: could not find any of these C compilers
 anywhere in your PATH:  gcc cc acc c89
Configure terminate
----------------
Is it posible to fix this? And can I use telnet?
Theo
theocAsked:
Who is Participating?
 
jlevieCommented:
Are the compilers installed? Typically you'd expect to find them in /usr/bin. If that's not in your path (check with "echo $PATH"), you need to add it in.
0
 
theocAuthor Commented:
I don't know what or how to (check with "ech$PATH"). Can I up date it in a telnet session?
Bonus points. How many hours in a fortnight?
0
 
jlevieCommented:
Just type "echo $PATH" in a terminal window. Assuming you are using the default shell (bash), you'd do;

> export PATH=/usr/bin:$PATH

How about putting the output of:

> echo $SHELL
> echo $PATH
> echo $HOME

Into a comment so I can see it. The default setup should have put /usr/bin in your path. If it's not there there's a more serious error that needs to be fixed.

For bonus points... It's the amount of time an African Swallow needs to fly from Cambridge to Paris.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.