Problems compiling PostgreSQL - Mailing list pgsql-ports

From Victor
Subject Problems compiling PostgreSQL
Date
Msg-id 3830307C.DC348DD8@wwcd.com
Whole thread Raw
List 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:

Previous
From: Leon Goldovski
Date:
Subject: primary key
Next
From: Constantino Martins
Date:
Subject: