Forum OpenACS Q&A: Response to error compiling pgdriver on MacOS X

Collapse
Posted by russ m on
It's all up and running, and seems fine...

postgresql 7.1 compiled from unmodified sources

aolserver3.2+ad12 with one change made - commented out the
6 lines in nsthread.h that reset FD_SETSIZE to 1024 (this is a
bandaid so that postgres.so will build later on - I'm assuming
leaving this at 256 will cause problems of some sort)

postgres.so built by hand since the makefile duffed it

and then the regular amount of messing around to turn the
openacs tarball into a running server...

http://203.43.143.246/aolserver-postgres-Darwin.zip contains
what should be ready-to-install binaries of postgresql, aolserver
and postgres.so - unzip, untgz the postgres and aolserver
directories, stick them in /usr/local, replace the postgres.so in
the aolserver directory with the one from the zipfile (oops), initdb,
createdb, etc...