Обсуждение: re : libpq++ - getting it to work
>Does anyone have a BEGINNER's guide to installing the interface and basic usage?? >Thank you in advance! Did you get an answer ? I think the problem is a question of path ... you have to add something as -L.. -pq -pq++ as parameters for your gcc command. I can't remember precisely, have a look in the makefile of the libpq++ directory and try to guess. I resolved the problem of the path access copying all the headers files of postgres 1 level of directory upper. I'm sure there is a smarter way, but I've not yet found it. (I hear the laughts of those who know !) As you can see, I'm not a guru, but I'd like to help and be helped since documentation for libpq++ is either well hidden, either simply not included. (I think I've heard about man pages, but I was unable to find these; all I've found is some sample progs and a makefile that won't work ...) Is it "normal" ? Is it because of the Debian distrib & packages ? It's not a good answer, but it's my best one. Hope this will decide some expert to help us. KaDe
> >Does anyone have a BEGINNER's guide to installing the interface and > >basic usage?? > >Thank you in advance! > ... I'd like to help and be helped since > documentation for libpq++ is either well hidden, either simply not > included. (I think I've heard about man pages, but I was unable to > find these; all I've found is some sample progs and a makefile that > won't work ...) > Is it "normal" ? Is it because of the Debian distrib & packages ? You might want to take the time to grab the full Postgres source distribution from postgresql.org, and unpack it. The doc/ directory has substantial html and postscript docs, and the src/man directory has some man pages. *or*... The html and ps docs are also available on the postgresql.org ftp site as tar files, probably in the patch directory (rummage around one level deep from /pub and you'll find something; I just don't remember what I called them). libpq++ does not suffer from an overabundance of docs, but contributions are welcome. New info will help the next person who comes along trying to do the same thing... Good luck. - Tom