Re: Postgres problem when compiling C++ in Red Hat 6.2 - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: Postgres problem when compiling C++ in Red Hat 6.2
Date
Msg-id Pine.LNX.4.30.0105182138300.900-100000@peter.localdomain
Whole thread Raw
In response to Postgres problem when compiling C++ in Red Hat 6.2  ("Mike S. Nowostawsky" <mikenowo@sympatico.ca>)
List pgsql-general
Mike S. Nowostawsky writes:

> The compile script the teacher gave us for 7.1 is:
>
>     c++ -o sql_test -I/usr/include/pgsql -lpq++ using_sql.c++
>
> but when I run it it gives me this error:
>
>     sql_test.c++:7: pgsql/libpq++.h: No such file or directory

Change #include "pgsql/libpq++.h" to #include "libpq++.h".

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Vacuum Failed - backend closed the channel unexpectedly
Next
From: Jan Wieck
Date:
Subject: Re: