Skip site navigation (1) Skip section navigation (2)

Problems compiling PostgreSQL

From: Victor <victord(at)wwcd(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: Problems compiling PostgreSQL
Date: 1999-11-15 16:10:36
Message-ID: 3830307C.DC348DD8@wwcd.com (view raw or flat)
Thread:
Lists: pgsql-ports
Hi, I am getting this error when I run configure. Any ideas on what
could be the problem ???

./configure --prefix=/usr/local/pgsql \
--with-template=solaris_sparc_gcc \
--enable-hba \
--disable-locale

Here is the output

loading cache ./config.cache
checking host system type... sparc-sun-solaris2.7
checking echo setting...
checking setting template to... solaris_sparc_gcc
checking setting USE_LOCALE... enabled
checking setting CYR_RECODE... disabled
checking setting MULTIBYTE... disabled
checking setting DEF_PGPORT... 5432
checking setting DEF_MAXBACKENDS... 32
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... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
- setting CPPFLAGS=
- setting LDFLAGS=
checking for c++... c++
checking whether the C++ compiler (c++   ) works... no
configure: error: installation or configuration problem: C++ compiler
cannot create executables.
data[/usr/src/pgsql/src]$

Thanks,
Victor

P.S.
If you need any extra info or have suggestions, please email me.


pgsql-ports by date

Next:From: SteveDate: 1999-11-16 03:24:11
Subject: Successful install, but I have a question
Previous:From: Leon GoldovskiDate: 1999-11-14 12:08:46
Subject: primary key

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group