Okay, I spent some time today playing with Win2k (my day job).
Thanks to Sam Snow, who pointed to me to Cygwin, I had a perfectly
good excuse for doing nothing very useful all day :)
Cygwin (the latest available download anyway) comes with PG7.1
pre installed - very hoopy. You need to download some extra
things to be able to start the postmaster (took me all of two
minutes to
fetch and install), after which the postmaster kindly starts,
without fuss (Although it didn't have fizz either, it was quite
slow).
I downloaded OpenACS (from CVS) and loaded the datamodel, without
any problems. All you need to change is the
.../var/lib/something/plpgsql.so in postgres.sql to
/lib/plpgsql.dll.
The next part was AOLServer. You
need to do some editing to get the config files working, but
AOLServer will start and answer queries, no problem.
Next I needed the Postgres 7.1 source to be able to compile the
nsd-postgres driver-2.3. Compiling the driver on Win2K sucks, but
after figuring out which headers to use, which .lib to use (DO NOT
link against the static libpq.lib, it won't work - use
lippqdll.lib) I got it to compile without errors.
That's how far I got. It took me plenty of time, 6 hours in all,
most of it trying to compile AOLServer-pg-driver against the
postgres libs. I started AOLServer once, but the postgres driver
wouldn't load (windows error 128, it said (or was it 126?) ). It may
well be that the postmaster just wasn't listening on 127.0.0.1:5432,
I'll figure that out on friday - which might well be my last day at
with my current job, we'll probably go belly-up. Anyone got a nice
(OpenACS) job for me?