GNUwolrd Problem Compiling

Ask your questions about ircu and GNUWorld, share your ideas, and help the coders in their work.
aa211
Posts: 1

GNUwolrd Problem Compiling

Post by aa211 »

pgsqlDB.cc:32:22: error: libpq-fe.h: Too many levels of symbolic links
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: 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: 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:116: error: 'lastResult' was not declared in this scope
pgsqlDB.cc:118: error: 'PQclear' was not declared in this scope
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: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_COPY_IN' was not declared in this scope
pgsqlDB.cc:139: error: 'status' was not declared in this scope
pgsqlDB.cc:140: error: 'PGRES_TUPLES_OK' was not declared in this scope
pgsqlDB.cc:140: error: 'status' was not declared in this scope
pgsqlDB.cc:141: error: 'PGRES_COMMAND_OK' was not declared in this scope
pgsqlDB.cc:141: error: 'status' was not declared in this scope
pgsqlDB.cc:147: error: 'PGRES_COPY_IN' was not declared in this scope
pgsqlDB.cc:147: error: 'status' was not declared in this scope
pgsqlDB.cc:148: error: 'PGRES_TUPLES_OK' was not declared in this scope
pgsqlDB.cc:148: error: 'status' was not declared in this scope
pgsqlDB.cc:149: error: 'PGRES_COMMAND_OK' was not declared in this scope
pgsqlDB.cc:149: error: 'status' was not declared in this scope
pgsqlDB.cc: In member function 'virtual bool gnuworld::pgsqlDB::StopCopyIn()':
pgsqlDB.cc:166: error: 'lastResult' was not declared in this scope
pgsqlDB.cc:170: error: 'theDB' was not declared in this scope
pgsqlDB.cc:170: error: 'PQputCopyEnd' was not declared in this scope
pgsqlDB.cc: In member function 'virtual bool gnuworld::pgsqlDB::PutLine(const std::string&)':
pgsqlDB.cc:175: error: 'lastResult' was not declared in this scope
pgsqlDB.cc:179: error: 'theDB' was not declared in this scope
pgsqlDB.cc:179: error: 'PQputline' was not declared in this scope
pgsqlDB.cc: In member function 'virtual unsigned int gnuworld::pgsqlDB::countTuples() const':
pgsqlDB.cc:184: error: 'lastResult' was not declared in this scope
pgsqlDB.cc:188: error: 'lastResult' was not declared in this scope
pgsqlDB.cc:188: error: 'PQntuples' was not declared in this scope
pgsqlDB.cc: In member function 'virtual const std::string gnuworld::pgsqlDB::ErrorMessage() const':
pgsqlDB.cc:193: error: 'theDB' was not declared in this scope
pgsqlDB.cc:193: error: 'PQerrorMessage' was not declared in this scope
pgsqlDB.cc: In member function 'virtual const std::string gnuworld::pgsqlDB::GetValue(unsigned int, unsigned int) const':
pgsqlDB.cc:199: error: 'lastResult' was not declared in this scope
pgsqlDB.cc:203: error: 'lastResult' was not declared in this scope
pgsqlDB.cc:203: error: 'PQgetvalue' was not declared in this scope
pgsqlDB.cc: In member function 'virtual const std::string gnuworld::pgsqlDB::GetValue(unsigned int, const std::string&) const':
pgsqlDB.cc:209: error: 'lastResult' was not declared in this scope
pgsqlDB.cc:215: error: 'lastResult' was not declared in this scope
pgsqlDB.cc:215: error: 'PQfnumber' was not declared in this scope
pgsqlDB.cc:221: error: 'PQgetvalue' was not declared in this scope
pgsqlDB.cc: In member function 'virtual bool gnuworld::pgsqlDB::isConnected() const':
pgsqlDB.cc:226: error: 'CONNECTION_OK' was not declared in this scope
pgsqlDB.cc:226: error: 'theDB' was not declared in this scope
pgsqlDB.cc:226: error: 'PQstatus' was not declared in this scope
gmake[1]: *** [pgsqlDB.lo] Error 1
gmake[1]: *** Waiting for unfinished jobs....
mv -f .deps/gnuworldDB.Tpo .deps/gnuworldDB.Plo
gmake[1]: Leaving directory `/home/gnuworld/gnuworld/db'
gmake: *** [all-recursive] Error 1

I have postgresql-8.1.9.tar.gz
and the cvs verson of gnuworld
i try cu configure ./configure --enable-modules=cservice,ccontrol --with-pgsql-home=/usr/local/pgsql - but it don't worck


how can i compile?

Judge--
Posts: 3

Post by Judge-- »

Take a look at here: http://forum.undernet.org/viewtopic.php?f=7&t=9393

Regards,
Judge--

TimberHacker
Posts: 7

Post by TimberHacker »

I just went in to #coder-room to try and discuss a similar issue I am having and nobody was in there. Is there something wrong with the server, I have never had that happen before? Either way I am having some issues with which paths to follow when re-configuring while hooked to my DVD burning software, I will try again in another hour or so. I guess one option for both you and I would be to run some disaster recovery software. I am going to do it just because nothing else is seeming to work. :chinese:
"Let's Hope They Never Find Us in the Underworld"