Before reading your mail, I've been trying another way. I install it with RH rpm's.
Maybe it is not the best way, but it works enough for testing purpose.
I'm sure the problem, I had where really a shared memory problem (found dozen web pages on this particular problem), maybe there is a flag somewhere for linux best compile, but don't have time now to find it !
About apache compilation error, I just stay @1.3.12 before finding a good/simple installation process.
Thank you.
Eric
Scott Marlowe wrote:
I've installed just that.
When installing postgresql, it is likely that it has placed it's lib file in a directory the OS doesn't know to look in, so that's likly the "shared memory error" you're mentioning. (i.e. can't find shared library). If it really is a shared memory problem, then I'm not sure what to do, as I've only run into that problem on slolaris.
To tell linux about your lib files, edit /etc/ld.so.conf and add a line with the path to the postgresql libs, then run ldconfig or reboot.
Next you run initdb to create the initial database.
After compiling and installing postgres, you have to run it as something other than the root (for security reasons, postmaster will refuse to run as a priviledged account)
It is best to make an account that does just this.
Try reading the INSTALL file for postgresql, it is very long and detailed.
For apache, read the README.configure file and find the section on DSO config. Use the shared=max modules=most setup, which wi....