RE: [ADMIN] Trying to build 6.3.2 w/o success... gcc errors - Mailing list pgsql-admin

From Gilley, Charles H.
Subject RE: [ADMIN] Trying to build 6.3.2 w/o success... gcc errors
Date
Msg-id 18D7589E9C44D21199AC00805F31B047252D80@atlanta_nt2.atlanta.glenayre.com
Whole thread Raw
List 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@candle.pha.pa.us]
    Sent:    Tuesday, October 06, 1998 10:44 PM
    To:    Charles.Gilley@glenayre.com
    Cc:    pgsql-admin@postgreSQL.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.



pgsql-admin by date:

Previous
From: Andrea Antibo
Date:
Subject: initdb and WARN
Next
From: "Jackson, DeJuan"
Date:
Subject: RE: [ADMIN] Linux/Apache/PHP3 Slowneess