I have postgresql-client-8.4.8 newly installed on a clean system and got
the following in databases/rubygem-pg:

===>  Checking if databases/rubygem-pg already installed
/usr/bin/env  /usr/local/bin/gem18 install -l --no-update-sources
--no-ri --install-dir /usr/local/lib/ruby/gems/1.8
/usr/ports/distfiles/rubygem/pg-0.11.0.gem -- --build-args
--with-pgsql-include-dir=`/usr/local/bin/pg_config --includedir`
--with-pgsql-lib-dir=`/usr/local/bin/pg_config --libdir`
Building native extensions.  This could take a while...
ERROR:  Error installing /usr/ports/distfiles/rubygem/pg-0.11.0.gem:
        ERROR: Failed to build gem native extension.

        /usr/local/bin/ruby18 extconf.rb --build-args
--with-pgsql-include-dir=/usr/local/include
--with-pgsql-lib-dir=/usr/local/lib
checking for pg_config... yes
Using config values from /usr/local/bin/pg_config
checking for libpq-fe.h... yes
checking for libpq/libpq-fs.h... yes
checking for PQconnectdb() in -lpq... no
checking for PQconnectdb() in -llibpq... no
checking for PQconnectdb() in -lms/libpq... no
Can't find the PostgreSQL client library (libpq)
*** 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=/usr/local/bin/ruby18
        --with-pg
        --without-pg
        --with-pg-dir
        --without-pg-dir
        --with-pg-include
        --without-pg-include=${pg-dir}/include
        --with-pg-lib
        --without-pg-lib=${pg-dir}/lib
        --with-pg-config
        --without-pg-config
        --with-pg_config
        --without-pg_config
        --with-pqlib
        --without-pqlib
        --with-libpqlib
        --without-libpqlib
        --with-ms/libpqlib
        --without-ms/libpqlib


Gem files will remain installed in
/usr/local/lib/ruby/gems/1.8/gems/pg-0.11.0 for inspection.
Results logged to
/usr/local/lib/ruby/gems/1.8/gems/pg-0.11.0/ext/gem_make.out
*** Error code 1

Stop in /usr/ports/databases/rubygem-pg.


Thanks,

Doug

-- 

        Nothin' ever doesn't change, but nothin' changes much.
                        -- OK Go

        Breadth of IT experience, and depth of knowledge in the DNS.
        Yours for the right price.  :)  http://SupersetSolutions.com/

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ruby
To unsubscribe, send any mail to "[email protected]"

Reply via email to