Невозможно установить pg gem в Windows

У меня две версии Ruby: 1.8.7 и 1.9.2 и PostgreSQL 8.3. Я не могу установить pg gem ни на один из них. Получение этой ошибки:

C:/Development/Ruby187/bin/ruby.exe extconf.rb
checking for pg_config... yes
not recorded
checking for libpq-fe.h... no
Can't find the 'libpq-fe.h header
*** 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:
 --with-opt-dir
 --without-opt-dir
 --with-opt-include
 --without-opt-include=${opt-dir}/include
 --with-opt-lib
 --without-opt-lib=${opt-dir}/lib
 --with-make-prog
 --without-make-prog
 --srcdir=.
 --curdir
 --ruby=C:/Development/Ruby187/bin/ruby
 --with-pg
 --without-pg
 --with-pg-config
 --without-pg-config
 --with-pg-dir
 --without-pg-dir
 --with-pg-include
 --without-pg-include=${pg-dir}/include
 --with-pg-lib
 --without-pg-lib=${pg-dir}/lib

Я знаю, что это обычная проблема, но я еще не нашел рабочего решения ... О, я добавил C: \ Program Files (x86) \ PostgreSQL \ 8.3 \ bin в свой PATH.

32
задан sNiCKY 2 December 2010 в 13:58
поделиться