All pastes #813989 Raw Edit

Someone

public text v1 · immutable
·published 2007-12-12 22:38 UTC
rendered paste body
creating gnuworld
gmake[1]: Leaving directory `/home/gnuworld/gnuworld/src'
Making all in db
gmake[1]: Entering directory `/home/gnuworld/gnuworld/db'
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include     -W -Wall -pipe -I../libltdl -I../db -g -O0 -pthread -MT pgsqlDB.lo -MD -MP -MF .deps/pgsqlDB.Tpo -c -o pgsqlDB.lo pgsqlDB.cc
 g++ -DHAVE_CONFIG_H -I. -I../include -W -Wall -pipe -I../libltdl -I../db -g -O0 -pthread -MT pgsqlDB.lo -MD -MP -MF .deps/pgsqlDB.Tpo -c pgsqlDB.cc  -fPIC -DPIC -o .libs/pgsqlDB.o
pgsqlDB.cc:32:22: libpq-fe.h: No such file or directory
In file included from pgsqlDB.cc:34:
pgsqlDB.h:40: error: ISO C++ forbids declaration of `PGconn' with no type
pgsqlDB.h:40: error: expected `;' before '*' token
pgsqlDB.h:41: error: ISO C++ forbids declaration of `PGresult' with no type
pgsqlDB.h:41: error: expected `;' before '*' token
pgsqlDB.cc: In constructor `gnuworld::pgsqlDB::pgsqlDB(const std::string&, short unsigned int, const std::string&, const std::string&, const std::string&)':
pgsqlDB.cc:54: error: class `gnuworld::pgsqlDB' does not have any field named `theDB'
pgsqlDB.cc:55: error: class `gnuworld::pgsqlDB' does not have any field named `lastResult'
pgsqlDB.cc:73: error: `theDB' was not declared in this scope
pgsqlDB.cc:73: error: `PQconnectdb' was not declared in this scope
pgsqlDB.cc:73: warning: unused variable 'PQconnectdb'
pgsqlDB.cc: In constructor `gnuworld::pgsqlDB::pgsqlDB(const std::string&)':
pgsqlDB.cc:93: error: `theDB' was not declared in this scope
pgsqlDB.cc:93: error: `PQconnectdb' was not declared in this scope
pgsqlDB.cc:93: warning: unused variable 'PQconnectdb'
pgsqlDB.cc: In destructor `virtual gnuworld::pgsqlDB::~pgsqlDB()':
pgsqlDB.cc:111: error: `theDB' was not declared in this scope
pgsqlDB.cc:113: error: `PQfinish' was not declared in this scope
pgsqlDB.cc:113: warning: unused variable 'PQfinish'
pgsqlDB.cc:116: error: `lastResult' was not declared in this scope
pgsqlDB.cc:118: error: `PQclear' was not declared in this scope
pgsqlDB.cc:118: warning: unused variable 'PQclear'
pgsqlDB.cc: In member function `virtual bool gnuworld::pgsqlDB::Exec(const std::string&, bool)':
pgsqlDB.cc:127: error: `lastResult' was not declared in this scope
pgsqlDB.cc:129: error: `PQclear' was not declared in this scope
pgsqlDB.cc:129: warning: unused variable 'PQclear'
pgsqlDB.cc:132: error: `lastResult' was not declared in this scope
pgsqlDB.cc:132: error: `theDB' was not declared in this scope
pgsqlDB.cc:132: error: `PQexec' was not declared in this scope
pgsqlDB.cc:134: error: `ExecStatusType' was not declared in this scope
pgsqlDB.cc:134: error: expected `;' before "status"
pgsqlDB.cc:139: error: `PGRES_TUPLES_OK' was not declared in this scope
pgsqlDB.cc:139: error: `status' was not declared in this scope
pgsqlDB.cc:139: warning: unused variable 'PGRES_TUPLES_OK'
pgsqlDB.cc:139: warning: unused variable 'status'
pgsqlDB.cc:144: error: `PGRES_COMMAND_OK' was not declared in this scope
pgsqlDB.cc:144: error: `status' was not declared in this scope
pgsqlDB.cc:144: warning: unused variable 'PGRES_COMMAND_OK'
pgsqlDB.cc:144: warning: unused variable 'status'
pgsqlDB.cc:132: warning: unused variable 'lastResult'
pgsqlDB.cc:132: warning: unused variable 'theDB'
pgsqlDB.cc:132: warning: unused variable 'PQexec'
pgsqlDB.cc:134: warning: unused variable 'ExecStatusType'
pgsqlDB.cc: In member function `virtual bool gnuworld::pgsqlDB::StopCopyIn()':
pgsqlDB.cc:160: error: `lastResult' was not declared in this scope
pgsqlDB.cc:160: warning: unused variable 'lastResult'
pgsqlDB.cc:164: error: `theDB' was not declared in this scope
pgsqlDB.cc:164: error: `PQputCopyEnd' was not declared in this scope
pgsqlDB.cc:164: warning: unused variable 'theDB'
pgsqlDB.cc:164: warning: unused variable 'PQputCopyEnd'
pgsqlDB.cc: In member function `virtual bool gnuworld::pgsqlDB::PutLine(const std::string&)':
pgsqlDB.cc:169: error: `lastResult' was not declared in this scope
pgsqlDB.cc:169: warning: unused variable 'lastResult'
pgsqlDB.cc:173: error: `theDB' was not declared in this scope
pgsqlDB.cc:173: error: `PQputline' was not declared in this scope
pgsqlDB.cc:173: warning: unused variable 'theDB'
pgsqlDB.cc:173: warning: unused variable 'PQputline'
pgsqlDB.cc: In member function `virtual unsigned int gnuworld::pgsqlDB::countTuples() const':
pgsqlDB.cc:178: error: `lastResult' was not declared in this scope
pgsqlDB.cc:178: warning: unused variable 'lastResult'
pgsqlDB.cc:182: error: `lastResult' was not declared in this scope
pgsqlDB.cc:182: error: `PQntuples' was not declared in this scope
pgsqlDB.cc:182: warning: unused variable 'lastResult'
pgsqlDB.cc:182: warning: unused variable 'PQntuples'
pgsqlDB.cc: In member function `virtual const std::string gnuworld::pgsqlDB::ErrorMessage() const':
pgsqlDB.cc:187: error: `theDB' was not declared in this scope
pgsqlDB.cc:187: error: `PQerrorMessage' was not declared in this scope
pgsqlDB.cc:187: warning: unused variable 'theDB'
pgsqlDB.cc:187: warning: unused variable 'PQerrorMessage'
pgsqlDB.cc: In member function `virtual const std::string gnuworld::pgsqlDB::GetValue(unsigned int, unsigned int) const':
pgsqlDB.cc:193: error: `lastResult' was not declared in this scope
pgsqlDB.cc:193: warning: unused variable 'lastResult'
pgsqlDB.cc:197: error: `lastResult' was not declared in this scope
pgsqlDB.cc:197: error: `PQgetvalue' was not declared in this scope
pgsqlDB.cc:197: warning: unused variable 'lastResult'
pgsqlDB.cc:197: warning: unused variable 'PQgetvalue'
pgsqlDB.cc: In member function `virtual const std::string gnuworld::pgsqlDB::GetValue(unsigned int, const std::string&) const':
pgsqlDB.cc:203: error: `lastResult' was not declared in this scope
pgsqlDB.cc:203: warning: unused variable 'lastResult'
pgsqlDB.cc:209: error: `lastResult' was not declared in this scope
pgsqlDB.cc:209: error: `PQfnumber' was not declared in this scope
pgsqlDB.cc:215: error: `PQgetvalue' was not declared in this scope
pgsqlDB.cc:209: warning: unused variable 'PQfnumber'
pgsqlDB.cc:215: warning: unused variable 'PQgetvalue'
pgsqlDB.cc: In member function `virtual bool gnuworld::pgsqlDB::isConnected() const':
pgsqlDB.cc:220: error: `CONNECTION_OK' was not declared in this scope
pgsqlDB.cc:220: error: `theDB' was not declared in this scope
pgsqlDB.cc:220: error: `PQstatus' was not declared in this scope
pgsqlDB.cc:220: warning: unused variable 'CONNECTION_OK'
pgsqlDB.cc:220: warning: unused variable 'theDB'
pgsqlDB.cc:220: warning: unused variable 'PQstatus'
gmake[1]: *** [pgsqlDB.lo] Error 1
gmake[1]: Leaving directory `/home/gnuworld/gnuworld/db'
gmake: *** [all-recursive] Error 1
gnuworld@irc:~/gnuworld$