[K12OSN] no C compiler in $Path

"Terrell Prudé, Jr." microman at cmosnetworks.com
Sat Feb 5 18:15:54 UTC 2005

anthony baldwin wrote:

> Hi,
> I did install gcc, and it's in /usr/libexec/gcc, but when I just tried 
> to ./configure something (logjam, a livejournal client),
> I got:
> WARNING: no acceptable C compiler in $PATH
> I'm assuming I merely need to place gcc in my $path, but how do I do 
> that?
> tony

Here's how:

  export PATH=$PATH:/usr/libexec/gcc

You can type this at your command prompt.  To automatically have it 
every time you log in, just open up your .bash_profile file in your home 
directory and add that path to the end.

Do you GNU!? <http://www.gnu.org>
Be virus- and spam-free with Free/Open Source Software (FOSS). Check it 
out! <http://www.mozilla.org/thunderbird>

More information about the K12OSN mailing list