[Samba] Problems installing SAMBA

Diego Julian Remolina dijuremo at math.gatech.edu
Fri Mar 26 18:08:19 GMT 2004


Looks like none of the compilers are on your path or they are not
installed. Have you compiled stuff before?  What OS are you using?

Try the following (This is on Solaris 9 just in case you wonder why cc
is in /opt/SUNWpro/bin :)
math209:/home/dijuremo % which gcc
/usr/local/bin/gcc
math209:/home/dijuremo % which cc
/opt/SUNWspro/bin/cc

math209:/home/dijuremo % which TEST_DOES_NOT_EXIST
TEST_DOES_NOT_EXIST: Command not found.

If you get command not found then you need to make sure you have a
compiler installed and you have the PATH set to include the location of
the binarie:

In tcsh:
setenv PATH
"/usr/bin:/urs/local/bin:/opt/local/bin:/path/to/your/other/bin/directories"

In bash:
export
PATH="/usr/bin:/urs/local/bin:/opt/local/bin:/path/to/your/other/bin/directories"

HTH,

Diego


On Fri, 26 Mar 2004, gils wrote:

> Dear All,
> following the instructions in the manual  ,HOWTO , written by David
> Lechnyr, arriving at the point
>
> ./configure      --prefix=/usr      --localstatedir=/var
> --with-configdir=/etc/samba
> --with-privatedir=/etc/samba/private      --with-lockdir=/var/lock
> --with-piddir=/var/run      --with-logfilebase=/var/log
> --with-smbmount      --with-utmp      --with-syslog
> checking for gcc... no
> checking for cc... no
> checking for cc... no
> checking for cl... no
> configure: error: no acceptable C compiler found in $PATH
>
> What happen?
>
> Thanks in advance
>
> Paolo
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list