471,306 Members | 835 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,306 software developers and data experts.

I need your help. I'm confused with the files ...

Hi! I've downloaded postgreqsql-base-7.2.4.tar.gz but it says in the
readme file that

"This distribution also contains several language bindings, including
C, Perl, Python, and Tcl, as well as a JDBC driver.

The ODBC and C++ interfaces have been moved to the PostgreSQL
Projects Web Site at http://gborg.postgresql.org for separate
maintenance. "

From what I've read, it meant that if I downloaded
postgreqsql-base-7.2.4.tar.gz, it won't work for C++ unless I
download libpq++-4.0. Is there a package that already contatins
libpq++-4.0 ? Actually I've already installed
postgreqsql-base-7.2.4.tar.gz (performed gmake, install, etc) then I
installed libpq++ inside the folder. I tried compiling a sample file
but then I received this message (below). I won't be able to debug
this since the error points to the actual heade files that were
provided by libpq++. I think there are other errors which caused the
errors below to come out. It might be I've done something wrong inthe
installation. HOpe you could help. I really need to get this wokring
within the wk.. Thanks a lot!! :) :)

--------------------------------

/usr/include/pgsql/libpq++/pgconnection.h:49: error: syntax error
before `{'
token
/usr/include/pgsql/libpq++/pgconnection.h:55: error: parse error
before
`public
'
/usr/include/pgsql/libpq++/pgconnection.h:57: error: destructors must
be
member
functions
/usr/include/pgsql/libpq++/pgconnection.h:57: error: virtual outside
class
declaration
/usr/include/pgsql/libpq++/pgconnection.h:60: error: non-member
function `
ConnStatusType Status()' cannot have `const' method qualifier
/usr/include/pgsql/libpq++/pgconnection.h:61: error: non-member
function
`bool
ConnectionBad()' cannot have `const' method qualifier
/usr/include/pgsql/libpq++/pgconnection.h:62: error: non-member
function
`const
char* ErrorMessage()' cannot have `const' method qualifier
/usr/include/pgsql/libpq++/pgconnection.h:65: error: non-member
function
`const
char* DBName()' cannot have `const' method qualifier
/usr/include/pgsql/libpq++/pgconnection.h:76: error: parse error
before `
protected'
/usr/include/pgsql/libpq++/pgconnection.h:79: error: syntax error
before `('
token
/usr/include/pgsql/libpq++/pgconnection.h:81: error: ISO C++ forbids
declaration of `PgConnection' with no type
/usr/include/pgsql/libpq++/pgconnection.h:81: error: new declaration
`int
PgConnection()'
........

---------------------------------
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
Nov 12 '05 #1
1 2075
Peggy Go writes:
Hi! I've downloaded postgreqsql-base-7.2.4.tar.gz but it says in the
readme file that


Why are you bothering with old versions? Download 7.4, or at least 7.3.4
if you don't want to live on the cutting edge.

--
Peter Eisentraut pe*****@gmx.net
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Active8 | last post: by
6 posts views Thread by WhiteWizard | last post: by
2 posts views Thread by beary | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.