Unable to install dm-postgres-adapter on windows - Could not find PostgreSQL build environment

Skip to first unread message

Ben Shaw

Jun 24, 2013, 5:59:05 PM6/24/13
to datam...@googlegroups.com
When I attempt to install dm-postgress-adapter i get the bellow error msg.
I have postgress installed via the standard installer
I have the DevKit installed
I have installed pg (not that it seems to make a difference)

$ gem install dm-postgres-adapter
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing dm-postgres-adapter:
        ERROR: Failed to build gem native extension.

    c:/Ruby200-x64/bin/ruby.exe extconf.rb
checking for main() in -lpq... yes
checking for libpq-fe.h... yes
checking for libpq/libpq-fs.h... yes
checking for postgres.h... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
Could not find PostgreSQL build environment (libraries & headers): Makefile not created
Reply all
Reply to author
0 new messages