RE: [ADMIN] Trying to build 6.3.2 w/o success... gcc errors

From: "Gilley, Charles H(dot)" <Charles(dot)Gilley(at)glenayre(dot)com>
To: "'pgsql-admin'" <pgsql-admin(at)postgresql(dot)org>
Subject: RE: [ADMIN] Trying to build 6.3.2 w/o success... gcc errors
Date: 1998-10-07 14:09:40
Message-ID: 18D7589E9C44D21199AC00805F31B047252D80@atlanta_nt2.atlanta.glenayre.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Bruce / whoever,

Good, the templates are now up-to-date. Are there other things missing
from the templates other than the gcc line? This is what is in
sparc_solaris-gcc:

$ more template/spa*gcc
CC:gcc
AROPT:crs
CFLAGS:
SHARED_LIB:-fPIC
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC

When I run configure, the following results. At this point, I'm at a loss
of
which direction to proceed.

$ ./configure --with-template=sparc_solaris-gcc
loading cache ./config.cache
checking host system type... sparc-sun-solaris2.5.1
checking echo setting...
checking setting template to... template/sparc_solaris-gcc
checking setting USE_LOCALE... disabled
checking setting CYR_RECODE... disabled
checking setting DEF_PGPORT... 5432
checking setting USE_TCL... disabled
checking setting USE_PERL... disabled
checking setting ASSERT CHECKING... disabled
checking for gcc... (cached) cc
checking whether the C compiler (cc ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
:

-----Original Message-----
From: Bruce Momjian [SMTP:maillist(at)candle(dot)pha(dot)pa(dot)us]
Sent: Tuesday, October 06, 1998 10:44 PM
To: Charles(dot)Gilley(at)glenayre(dot)com
Cc: pgsql-admin(at)postgreSQL(dot)org
Subject: Re: [ADMIN] Trying to build 6.3.2 w/o success... gcc
errors

> I have what I believe to be a simple configuration problem when I
attempt
> to compile on Solaris 2.5.1 with gcc 2.7.2. Using the appropriate
template,
>
> the ./configure command refuses to use gcc. Checking the template
files,
> I find that the sparc_solaris-gcc template does not contain a
CC:gcc entry.
> For that matter, many of the *gcc templates do not contain this
line. FYI.
>
> What part of the configuration did I miss? From the shell command
line,
> gcc is in the path.

This was a bug in 6.3.2, and is fixed in 6.4 beta. You have to
modify
the template files directly for solaris.

Browse pgsql-admin by date

  From Date Subject
Next Message Jackson, DeJuan 1998-10-07 15:43:02 RE: [ADMIN] Linux/Apache/PHP3 Slowneess
Previous Message Andrea Antibo 1998-10-07 13:48:35 initdb and WARN