Installation bug

Started by Joncheng Kuoabout 25 years ago2 messagesbugs
Jump to latest
#1Joncheng Kuo
ckuo01@syr.edu

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

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Joncheng Kuo (#1)
Re: Installation bug

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/