Ad Widget

Collapse

Trouble cohfiguring Postgres

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • usao
    Junior Member
    • Jan 2015
    • 13

    #1

    Trouble cohfiguring Postgres

    Im attempting to follow the directions in the manual.

    Specifically, im trying to run the following command:
    ./configure --enable-server --enable-agent --with-postgresql=/usr/pgsql-9.4/lib --with-net-snmp --with-libcurl --with-libxml2

    and receiving the following error:
    checking for pg_config... /usr/pgsql-9.4/lib
    ./configure: line 11315: /usr/pgsql-9.4/lib: is a directory
    ./configure: line 11319: /usr/pgsql-9.4/lib: is a directory
    checking for PostgreSQL libraries... no
    configure: error: PostgreSQL library not found

    I could use some friendly advice on how to properly configure for a compile.
  • tchjts1
    Senior Member
    • May 2008
    • 1605

    #2
    I'm not sure as I use MySql, but try doing it without specifying the DB library path. Like this:

    ./configure --enable-server --enable-agent --with-postgresql --with-net-snmp --with-libcurl --with-libxml2

    See if/what error message it throws then.

    Comment

    Working...