2007/12/3, David Andersen <[EMAIL PROTECTED]>: > > Hi, > > This is my first mail, so I hope I am doing this right. I am a complete > linux novice and I have spent close to 6 hours with this problem and read > the posts at for example: > http://pgfoundry.org/pipermail/pgpool-general/2006-October/000482.html > > I am trying to write install pgpool-II and I am trying to do the > ./configure step, but i just keep getting "configure: error: libpq is not > installed or libpq is old". > > I have PostgreSQL 8.2.3 installed (I am actually using the EC2 image > described here: > http://developer.amazonwebservices.com/connect/entry.jspa?categoryID=101&externalID=869 > > > I ran a locate libpq as this is my best guess of finding its path: > [EMAIL PROTECTED] /]# locate libpq > /home/journyx/jt/pd/Linux/pgres/doc/postgresql/html/libpq-async.html > /home/journyx/jt/pd/Linux/pgres/doc/postgresql/html/libpq- build.html > /home/journyx/jt/pd/Linux/pgres/doc/postgresql/html/libpq-connect.html > /home/journyx/jt/pd/Linux/pgres/doc/postgresql/html/libpq-control.html > /home/journyx/jt/pd/Linux/pgres/doc/postgresql/html/libpq- copy.html > /home/journyx/jt/pd/Linux/pgres/doc/postgresql/html/libpq-envars.html > /home/journyx/jt/pd/Linux/pgres/doc/postgresql/html/libpq-example.html > /home/journyx/jt/pd/Linux/pgres/doc/postgresql/html/libpq-exec.html > /home/journyx/jt/pd/Linux/pgres/doc/postgresql/html/libpq-fastpath.html > /home/journyx/jt/pd/Linux/pgres/doc/postgresql/html/libpq-files.html > /home/journyx/jt/pd/Linux/pgres/doc/postgresql/html/libpq-notify.html > /home/journyx/jt/pd/Linux/pgres/doc/postgresql/html/libpq- threading.html > /home/journyx/jt/pd/Linux/pgres/doc/postgresql/html/libpq-trace.html > /home/journyx/jt/pd/Linux/pgres/doc/postgresql/html/libpq.html > /home/journyx/jt/pd/Linux/pgres/doc/postgresql/html/lo-libpq.html > /home/journyx/jt/pd/Linux/pgres/include/libpq > /home/journyx/jt/pd/Linux/pgres/include/libpq/libpq-fs.h > /home/journyx/jt/pd/Linux/pgres/include/postgresql/internal/libpq > /home/journyx/jt/pd/Linux/pgres/include/postgresql/internal/libpq/pqcomm.h > > /home/journyx/jt/pd/Linux/pgres/include/postgresql/internal/libpq-int.h > /home/journyx/jt/pd/Linux/pgres/include/libpq-fe.h > /home/journyx/jt/pd/Linux/pgres/lib/libpq.so > /home/journyx/jt/pd/Linux/pgres/lib/libpq.so.3 > /home/journyx/jt/pd/Linux/pgres/lib/libpq.so.3.0 > /home/journyx/jt/pd/Linux/pgres/lib/libpq.a > /usr/lib/libpq.so.5 > /usr/lib/libpq.so.5.0 > /usr/share/locale/af/LC_MESSAGES/libpq.mo > /usr/share/locale/cs/LC_MESSAGES/libpq.mo > /usr/share/locale/de/LC_MESSAGES/libpq.mo > /usr/share/locale/es/LC_MESSAGES/libpq.mo > /usr/share/locale/fr/LC_MESSAGES/libpq.mo > /usr/share/locale/hr/LC_MESSAGES/libpq.mo > /usr/share/locale/it/LC_MESSAGES/libpq.mo > /usr/share/locale/ko/LC_MESSAGES/libpq.mo > /usr/share/locale/nb/LC_MESSAGES/libpq.mo > /usr/share/locale/pl/LC_MESSAGES/libpq.mo > /usr/share/locale/pt_BR/LC_MESSAGES/libpq.mo > /usr/share/locale/ru/LC_MESSAGES/libpq.mo > /usr/share/locale/sk/LC_MESSAGES/libpq.mo > /usr/share/locale/sl/LC_MESSAGES/libpq.mo > /usr/share/locale/sv/LC_MESSAGES/libpq.mo > /usr/share/locale/tr/LC_MESSAGES/libpq.mo > /usr/share/locale/zh_CN/LC_MESSAGES/libpq.mo > /usr/share/locale/zh_TW/LC_MESSAGES/libpq.mo > [EMAIL PROTECTED] /]# > > I then tried to run the following commands: > ./configure --with-pgsql=/home/journyx/jt/pd/Linux/pgres/include/libpq/ > ./configure > --with-pgsql=/home/journyx/jt/pd/Linux/pgres/include/postgresql/internal/ > ./configure > --with-pgsql=/home/journyx/jt/pd/Linux/pgres/include/postgresql/internal/libpq/ > ./configure --with-pgsql=/home/journyx/jt/pd/Linux/pgres/include/ > ./configure --with-pgsql=/home/journyx/jt/pd/Linux/pgres/lib/ > ./configure --with-pgsql=/usr/lib/ > > All resulting in the same error message. I also tried various other > parameters without success. My next steps from now would be to use the most > popular tool in any novice's toolbox: To do random stuff. > > If you would like access to the linux box itself I can send you the login > information. > > Regards, > > David > > _______________________________________________ > Pgpool-general mailing list > [email protected] > http://pgfoundry.org/mailman/listinfo/pgpool-general > > Hi,
you can try so: ./configure --with-pgsql=<Postgresql directory> ./configure --with-pgsql=/home/journyx/jt/pd/Linux/pgres - if you have installed the Postgresql server into this location... Probably, it helps. -- best regards, Oleg Laktionov
_______________________________________________ Pgpool-general mailing list [email protected] http://pgfoundry.org/mailman/listinfo/pgpool-general
