PDA

View Full Version : compiling with pgsql problem


simonuk1
30-04-2009, 21:45
I have postgres on a dedicated server to the zabbix application server.

I am try to compile with the --with-pgsql option, but it keeps error with:

checking for pg_conf ... no
no
configure: error: Not Found PostgreSQL Library

I have look the the configure script and its looking for pg_conf, which I would have though would only be installed on the server if I had postgres install on the application server.

Is the anything I am doing wrong, or a switch i can add to the the config script not to look for pg_conf, or do I need to install postgres onto the application server to trick the configure script.

Thanks in advance for any help.

Simon

davet47
01-05-2009, 14:10
if you don't have the devel package installed, it probably won't work - i ran into something similar with mysql. installing the mysql-devel package fixed that problem. I'm assuming there's some sort of pgsql-devel package that needs to be installed...

I have postgres on a dedicated server to the zabbix application server.

I am try to compile with the --with-pgsql option, but it keeps error with:

checking for pg_conf ... no
no
configure: error: Not Found PostgreSQL Library

I have look the the configure script and its looking for pg_conf, which I would have though would only be installed on the server if I had postgres install on the application server.

Is the anything I am doing wrong, or a switch i can add to the the config script not to look for pg_conf, or do I need to install postgres onto the application server to trick the configure script.

Thanks in advance for any help.

Simon

simonuk1
01-05-2009, 21:08
if you don't have the devel package installed, it probably won't work - i ran into something similar with mysql. installing the mysql-devel package fixed that problem. I'm assuming there's some sort of pgsql-devel package that needs to be installed...

Thnaks Dave, yep that sorted it :)