Yes,

CC was already set to gcc and /usr/local/bin is listed first in $PATH







-----Original Message-----
From: Scott Sanders [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 11:24 AM
Cc: [EMAIL PROTECTED]
Subject: Re: Configure error



Try setting the variable

CC=gcc;export CC

also make sure /usr/ccs/bin is in your PATH after /usr/local/bin



"Quinn, Richard C. - Collinsville IT" wrote:

> Hi,
>
> I am trying to compile amanda vers  2.4.3b2   on my solaris 2.6 box.
>
> I am getting an error regarding the C Compiler not being able to
create
> executables.
>
> I did a google search on the particular error and saw postings
relating
> to the absence of 'ar' and 'ld', both of which are present on my box.
>
> Anyways:
>
> I run my configure command:
>
>  ./configure --with-user=amanda --with-group=backup
> --prefix=/usr/local/amanda --exec-prefix=/usr/local/amanda
>
> checking build system type... sparc-sun-solaris2.6
> ............
> .............
> checking for gcc... /usr/local/bin/gcc
> checking for C compiler default output... configure: error: C compiler
> cannot create executables
>
> I am running gcc version 2.95.3 20010315 (release)
>
> ld and ar are both under /usr/local/bin, which is listed first in
$PATH.
>
> Going off of what config.log told me, there is an if statement in the
> configure script that didn't get executed.
> Before I dig any deeper into the configure script, I want to find out
if
> this is something more obvious that I could easily fix.
>
> Any ideas?
>
> Thanks,
>
> Rich Quinn

--
Scott Sanders

Systems Administrator
Concepts Direct, Inc.
2950 Colorful Ave.
Longmont, CO 80504

(303) 682-7110 Phone
(303) 682-7140 Fax


Reply via email to