Hi I'm a Linux Newbie(lot of us these days) Downloaded the new version of Samba 2.2.2 and I am trying to create the binaries for Mandrake 8.1 the files are located in the /root home directory when I run ./configure I get this checking for gcc.. no checking for cc.. no Error no acceptable cc found in $path I cannot seem to locate these files in Mandrake but it does have cpp installed which is supposed to be a C compiler. Thx. -------------- next part -------------- HTML attachment scrubbed and removed
If you have the ability to log in as root, one way to check this is: Login (or su) as root, do an "rpm -q gcc" to see if gcc is installed. If so type, "which cc" at the prompt. Then log in as the user you are trying to compile as and type "which" cc. If cc doesn't come up in the list, make sure the directory containing cc when you were logged in as root is in your PATH. Chris Tooley On Mon, 2001-10-15 at 10:41, samba-admin@lists.samba.org wrote:> Hi I'm a Linux Newbie(lot of us these days) > > Downloaded the new version of Samba 2.2.2 and I am trying to create the > binaries for Mandrake 8.1 the files are located in the /root home directory > when I run ./configure I get this > > checking for gcc.. no > checking for cc.. no > Error no acceptable cc found in $path > > I cannot seem to locate these files in Mandrake but it does have cpp > installed which is supposed to be a C compiler. > > Thx.
Generally, cpp is not a C compilier, it is the C pre-processor. You need to go back to the Mandrake installation CDs or FTP site and get the gcc-related packages. GCC is the most common C compiler for Linux. You can find the RPM packages here: http://jungle.metalab.unc.edu/pub/Linux/distributions/mandrake/ Mandrake/8.1/i586/Mandrake/RPMS/ I would suggest getting all of the gcc-*-2.96-*.rpm files, although you could omit the *-g77-* (fortran), *-java-* (Java), and *-objc-* (Objective-C) packages. Install the packages with: rpm -Uvh <package>.rpm Hope this helps. On Mon, 15 Oct 2001, Martin Tully wrote:> Hi I'm a Linux Newbie(lot of us these days) > > Downloaded the new version of Samba 2.2.2 and I am trying to create the > binaries for Mandrake 8.1 the files are located in the /root home directory > when I run ./configure I get this > > checking for gcc.. no > checking for cc.. no > Error no acceptable cc found in $path > > I cannot seem to locate these files in Mandrake but it does have cpp > installed which is supposed to be a C compiler. > > Thx. >-- Ian Cooper ian@wpi.edu
Hello, I like work with samba in environment Windows 2000. 1 - The samba option (encrypt passwords = yes) "required" the file /usr/local/samba/private/smbpasswd ??? or 2 - I can use samba without need file smbpasswd ??? Thank you very much. ___________________________________________________________ Mauricio Analista de Redes Embrapa-Brasil ___________________________________________________________