Обсуждение: problem to compile 7.0.2
Hello I downloaded the postgresql 7.0.2 source package, read instructions for installation. When I try to configure it as root with the "./configure" command, I have an error: ... checking setting debug compiler flag... using default checking for c++... no checking for g++... no checking for gcc... gcc checking whether the C++ compiler (gcc ) works... no configure: error: installation or configuration problem: C++ compiler cannot create executables. I work with a Suse6.3 distribution and I think my gcc is ok : # gcc --version 2.7.2.3 Do you have an idea Thanks Lionel -- Information Géographique CNERTA 26 bvd Dr Petitjean 21000 DIJON tél. : 03.80.77.28.49 http://www.cnerta.educagri.fr/infogeo/
Lionel Bargeot <l.bargeot@educagri.fr> writes:
> checking whether the C++ compiler (gcc )
> works... no
> configure: error: installation or configuration
> problem: C++
> compiler cannot create executables.
Looks like you'll have to omit the C++ interface library. Do
./configure --without-CXX
regards, tom lane