Hi all,
I'm trying to build do_postgres on Windows using Ruby 1.9 but fail
because of a missing postgres.h file.
I have posted my preliminary results on the github wiki:
http://wiki.github.com/datamapper/do/postgresql
I also tried using the Postgres sources instead of the binary
installation,
but I never can get the gem installing process to find all required
header files.
I tried several combinations of:
--with-pgsql-client-include=path\to\downloaded\postgresql-8.4.1\src
\interfaces (finds libpq\libpq-fe.h, but does not find postgres.h)
--with-pgsql-client-include=path\to\downloaded\postgresql-8.4.1\src
\include (postgres.h is located in this directory, but it doesn't even
get that far because of missing libpq\libpq-fe.h)
--with-pgsql-win32-dir="C:\Program Files\PostgreSQL\8.4"
However, I couldn't get it to work.
Maybe someone with more experience can have a look and update the wiki
with the correct instructions :D
Thanks a lot!
Martin