when i had to install ruby-postgres 0.7.1 within standard ruby on MacOS
X (1.6.8) i had to change lines in “extconf.rb” :
$CFLAGS = " -I/usr/include/openssl "
$LDFLAGS = " -L/usr/lib -lssl -lcrypto "
but, with Ruby 1.8.1 i still have this error :
checking for PQsetdbLogin() in -lpq… no
Could not find PostgreSQL libraries: Makefile not created
i’m sure i’m using ruby 1.8.1 with “extconf.rb”
···
–
yt
i found it °;=)
ruby extconf.rb --with-pgsql-include-dir=/usr/local/pgsql/include
–with-pgsql-lib-dir=/usr/local/pgsql/lib
apologize for the noise…
···
Yvon Thoraval yvon.thoravalNO-SPAM@free.fr wrote:
when i had to install ruby-postgres 0.7.1 within standard ruby on MacOS
X (1.6.8) i had to change lines in “extconf.rb” :
$CFLAGS = " -I/usr/include/openssl "
$LDFLAGS = " -L/usr/lib -lssl -lcrypto "
but, with Ruby 1.8.1 i still have this error :
checking for PQsetdbLogin() in -lpq… no
Could not find PostgreSQL libraries: Makefile not created
i’m sure i’m using ruby 1.8.1 with “extconf.rb”
–
yt