Thread: Installation bug

Installation bug

From
Joncheng Kuo
Date:
Hi,

When I tried to build PostgreSQL 7.0.3, I had a problem:

My Linux machine has its C++ include file in /usr/include/g++.  So I
added --with-includes=/usr/include/g++ when I run ./configure.  However,
the postgresql-7.0.3/src/interfaces/libpq++/Makefile doesn't have this
include path in its CXXFLAGS.

Thanks.

Joncheng Kuo

Re: Installation bug

From
Peter Eisentraut
Date:
Joncheng Kuo writes:

> When I tried to build PostgreSQL 7.0.3, I had a problem:
>
> My Linux machine has its C++ include file in /usr/include/g++.

So does mine, and I never had to set any extra include path.  This is
probably a fault in your compiler installation.

  So I
> added --with-includes=/usr/include/g++ when I run ./configure.  However,
> the postgresql-7.0.3/src/interfaces/libpq++/Makefile doesn't have this
> include path in its CXXFLAGS.

Consider upgrading to 7.1.  Installation should be easier there.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/