Can't compile C++ programs from RH 7.1 in RH9

Поиск
Список
Период
Сортировка
Искать

Can't compile C++ programs from RH 7.1 in RH9

От:
"Mike S. Nowostawsky" <mikenowo@sympatico.ca>
Дата:
I am having trouble compiling programs (that I created back in Red Hat 
v7.1) because of the libpq++ libs (they don't exist in RH9). I tried 
finding them on the net but can't install them because of the various 
dependency conflicts with RH9.

My compile statement is (in a script):
c++ -o ../cgi-bin/$1.cgi -I/usr/include/libpq -lpq++ $1.c++ cgi.o 
HTMLstream.o

The include statement in the code is:
#include 


How can I get this to compile now in RH9? Is there a replacement for the 
old libpq++ libs I can point to? Thx!

Mike.



Re: Can't compile C++ programs from RH 7.1 in RH9

От:
Patrick Welche <prlw1@newn.cam.ac.uk>
Дата:
On Mon, Feb 09, 2004 at 04:46:31PM -0500, Mike S. Nowostawsky wrote:
> 
> How can I get this to compile now in RH9? Is there a replacement for the 
> old libpq++ libs I can point to? Thx!

Have a look at http://gborg.postgresql.org/
There you should find the old libpq++, and the new libpqxx.


Cheers,

Patrick

FAQ