Ad Widget

Collapse

compiling with pgsql problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • simonuk1
    Member
    • Mar 2009
    • 66

    #1

    compiling with pgsql problem

    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
    Junior Member
    • Apr 2009
    • 7

    #2
    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...

    Originally posted by simonuk1
    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

    Comment

    • simonuk1
      Member
      • Mar 2009
      • 66

      #3
      Originally posted by davet47
      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

      Comment

      Working...