NOTE: This is an unofficial port of postgres to HPUX - I do know that the postgres team are working on a version (see file HPUX.bugs), but in the mean-time.... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Here are some extra notes on installing postgres under HPUX. 1) For some reason postgres requires that the username "postgres" must be UID 6. I don't know what would happen if you set it otherwise but that's what I used; so beware. 2) To generate header files the Make script uses "grep -h" which is not available under HPUX (it excludes file names when printing results of a search). There are two ways to solve this: i) Get GNU grep and install that - this has all the required options. ii) Put the script $POSTGRESHOME/src/lib/Gen/ggrep into your PATH. I recommend that you do (i) but (ii) is a hack just in case this is not possible. NOTE: You can get ggrep from ftp.csc.liv.ac.uk:hpux/Gnu/grep-1.6.1.tar.Z 3) I have included a script "postgres_start" which you can put in your localrc file. This is in $POSTGRESHOME/src/scripts. 4) When compiling user files to be loaded by postgres ensure that they are compiled with the "+z" option - this ensures they can be built into shared libraries. 5) As the executables "postgres" and "postmaster" are setuid - ensure that $POSTGRESHOME/bin is on a setuid disk or is a soft-link to a setuid disk. 6) When compiling ignore warnings about stuff being non-natively aligned - this is OK (honest :-). 7) If you have any bugs to report about the HPUX port please let me know. My e-mail address is: rik@csc.liv.ac.uk 8) That's it!! Rik. .=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=. | | | | Richard Turnbull | HPUX Porting & Archive Centre | | | Dept. Computer Science | | E-mail:rik@csc.liv.ac.uk | University of Liverpool | | Phone: (051) 794 3704 | Liverpool L69 3BX | | | England | | | | .=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=.