From: | Peggy Go <shatz_go(at)yahoo(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | I need your help. I'm confused with the files ... |
Date: | 2003-12-01 14:06:18 |
Message-ID: | 20031201140618.72874.qmail@web41308.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-12-01 14:10:15 | Re: export FUNC_MAX_ARGS as a read-only GUC variable |
Previous Message | Andrew Rawnsley | 2003-12-01 13:45:01 | Re: Humor me: Postgresql vs. MySql (esp. licensing) |