From: "Berger, Daniel" Date: 2005-11-15T01:44:20+09:00 Subject: Re: Building postgresql on Windows > -----Original Message----- > From: Park Heesob [mailto:phasis68@hotmail.com] > Sent: Friday, November 11, 2005 11:54 PM > To: ruby-talk ML > Subject: Re: Building postgresql on Windows > I made it work like this: > > 1) modify extconf.rb > # Line 36 > $LDFLAGS += "-link -libpath:#{libdir}" > # Line 39 > if have_library("libpq", "PQsetdbLogin") > > 2) run : ruby > extconf.rb > --with-pgsql-include-dir=c:/progra~1/postgresql/8.1/include > --with-pgsql-lib-dir=c:/progra~1/postgresql/8.1/lib/ms Thanks Heesob. Based on this, I've submitted a patch to Dave Lee, including some extra info in the README file. Hopefully he'll incorporate them into the next release. - Dan