[prev in list] [next in list] [prev in thread] [next in thread] 

List:       samba
Subject:    Re: Compiling samba 2.05a on solaris-2.6-sparc with gcc 2.95.1
From:       Urban Widmark <urban () svenskatest ! se>
Date:       1999-09-30 8:44:24
[Download RAW message or body]

On Thu, 30 Sep 1999, Matthias Brucke wrote:

> When I start the configure script as a normal user in my home directory
> it tells me:
> 
> loading cache ./config.cache
> checking for gcc... gcc
> checking whether the C compiler (gcc -O ) works... no
> configure: error: installation or configuration problem: C compiler
> cannot create executables.

Check config.log, it will contain the command that failed, and the
sources used to test if the compiler compiles.


> When I do that as root, everything works ok.

samba likes to be configured as root ... at least that is how I interpret:
"configure: warning: running as non-root will disable some tests"


> Is this a problem with the compiler installation or with the
> samba-configure-script??

Can you compile a "Hello World" program as a normal user? It really,
really looks like a compiler problem.

/Urban

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic