Does you pg_config also spit out those values? $ pg_config
Maybe try gem install pg -- --with-pg-config=/path/to/pg_config I did a gem install pg into an empty gemset, and it works fine for me. Although, I have PG installed via brew (and it looks like you are on macports). On Mon, Nov 8, 2010 at 1:30 PM, Guyren Howe <[email protected]> wrote: > Google isn't helping me here. Following a disk repair, I need to reinstall > the pg gem for Ruby 1.9.2. > > I'm using: > gem install pg -- --with-opt-include=/opt/local/include/postgresql84/ > -opt-lib=/opt/local/lib/postgresql84/ > > and libpq-fe.h is definitely at: > > /opt/local/include/postgresql84/libpq-fe.h > > I've tried it with env ARCHFLAGS="-arch x86_64" and with env > ARCHFLAGS="-arch i386" > > I cannot imagine why this is failing in this manner. > > -- > SD Ruby mailing list > [email protected] > http://groups.google.com/group/sdruby -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby
