configure: error: no acceptable cc found in $PATH

Thomas Cameron tcameron at linux-magic.com
Tue Jan 23 18:38:47 GMT 2001


I would rename the default cc, then symlink gcc to it (make sure it is a
symlink to the original location).

Thomas

On Tue, 23 Jan 2001, Super-User wrote:

> Hi,
>
> First I would like to mention that my UNIX skills suck, but I have been
> tasked with getting Samba installed on my Solaris 8.0 Intel platform.
> I have installed all the latest patches and the gcc complier from
> www.freesunware.com and setup my $PATH env. I have been successful
> compling other apps such as Tomcat and Apache, but for what ever resaon
> I can get the ./configure to run in order to get my make file.
>
> below is the error I get
>
>
> # ./configure
> loading cache ./config.cache
> checking for gcc... no
> checking for cc... no
> configure: error: no acceptable cc found in $PATH
>
> So it appears that it cannot find gcc or cc in the $PATH but, below is
> the output from running gcc from the same location
>
> # gcc
> gcc: No input files ( So this is working fine)
>
> Now if I run cc from the same location I  get this
>
> # cc
> /usr/ucb/cc:  language optional software package not installed
>
>
> Any Ideas?
>
>
> Thanks a bunch
>
>
>
>





More information about the samba mailing list