From: | eddie w <eddieChicago(at)usa(dot)net> |
---|---|
To: | pgsql-general(at)postgreSQL(dot)org |
Subject: | How to compile correctly with gcc? |
Date: | 1998-11-19 10:43:48 |
Message-ID: | 19981119164348.10869.qmail@www0q.netaddress.usa.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Dear Postgre SQL group:
Wonder if you can give me some hint with PostgreSQL 6.4 installation.
I never install a database before. I downloaded 6.4 and followed the
instructions to install then:
1)it created "postgresql-v6.4 directory
2)"src" is under this directory
3)I moved them up to stay under /usr/src/pgsql
4)it couldn't recognize C compiler
Here's the message from the installation. Could anyone help?
Thanks.
Eddie
Platform: Sun Enterprise-450 with Solaris 2.5.1
Others on the system-
Apache 1.2.5, Oracle 7.3.3, AutoXfer 2.7.5
# pwd
/usr/src/pgsql/src
# ls -l configure
-rwxr-xr-x 1 postgres postgres 186752 Nov 18 17:33 configure
# ./configure
loading cache ./config.cache
checking host system type... sparc-sun-solaris2.5.1
checking echo setting...
checking setting template to... solaris_sparc_gcc
checking setting USE_LOCALE... disabled
checking setting CYR_RECODE... disabled
checking setting MULTIBYTE... disabled
checking setting DEF_PGPORT... 5432
checking setting USE_TCL... disabled
checking setting USE_PERL... disabled
checking setting USE_ODBC... disabled
checking setting ASSERT CHECKING... disabled
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler
cannot crea.
tnesdp1# ./configure --with-template=solaris_sparc_gcc
loading cache ./config.cache
checking host system type... sparc-sun-solaris2.5.1
checking echo setting...
checking setting template to... solaris_sparc_gcc
checking setting USE_LOCALE... disabled
checking setting CYR_RECODE... disabled
checking setting MULTIBYTE... disabled
checking setting DEF_PGPORT... 5432
checking setting USE_TCL... disabled
checking setting USE_PERL... disabled
checking setting USE_ODBC... disabled
checking setting ASSERT CHECKING... disabled
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler
cannot crea.
#-rw-rw-rw- 1 root 182128 Nov 6 11:15 /usr/local/bin/gcc
____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1
From | Date | Subject | |
---|---|---|---|
Next Message | Bryan White | 1998-11-19 13:18:06 | Re: [GENERAL] performance comparisons... |
Previous Message | Matthew Hixson | 1998-11-19 09:20:11 | performance comparisons... |