diff --git a/chapters/install.hpux.xml b/chapters/install.hpux.xml index 6811e8c1ab..74cae2bfbc 100644 --- a/chapters/install.hpux.xml +++ b/chapters/install.hpux.xml @@ -1,5 +1,5 @@ - + Unix/HP-UX installs @@ -18,37 +18,38 @@ You need gzip, download a binary distribution from http://hpux.connect.org.uk/ftp/hpux/Gnu/gzip-1.2.4a/gzip-1.2.4a-sd-10.20.depot.Z - uncompress the file and install using swinstall + uncompress the file and install using swinstall. You need gcc, download a binary distribution from http://gatekeep.cs.utah.edu/ftp/hpux/Gnu/gcc-2.95.2/gcc-2.95.2-sd-10.20.depot.gz. - gunzip this file and install gcc using swinstall. + uncompress this file and install gcc using swinstall. You need the GNU binutils, you can download a binary distribution from http://hpux.connect.org.uk/ftp/hpux/Gnu/binutils-2.9.1/binutils-2.9.1-sd-10.20.depot.gz. - gunzip and install using swinstall. + uncompress this file and install binutils using swinstall. You now need bison, you can download a binary distribution from http://hpux.connect.org.uk/ftp/hpux/Gnu/bison-1.28/bison-1.28-sd-10.20.depot.gz, - install as above. + install as above. You now need flex, you need to download the source from one of the http://www.gnu.org mirrors. It is in the non-gnu directory of the ftp - site. Download the file, gunzip, then tar -xvf it. - Go into the newly created flex directory and do a ./configure, then a - make, and then a make install + site. Download the file, gunzip, then + tar -xvf it. Go into the newly created flex directory + and run ./configure, followed by + make, and then make install. If you have errors here, it's probably because gcc etc. are not in your @@ -62,8 +63,8 @@ - gunzip and tar -xvf them. We - need to hack a couple of files so that they can compile ok. + gunzip and tar -xvf them. We + need to hack a couple of files so that they can compile ok. @@ -72,19 +73,19 @@ track of the fact that you are a hpux machine, there will be a better way of doing this but a cheap and cheerful hack is to put lt_target=hpux10.20 on line 47286 of the configure - script. + script. Next, the Apache GuessOS file needs to be hacked. Under - apache_1.3.9/src/helpers change line 89 from echo + apache_1.3.9/src/helpers change line 89 from echo "hp${HPUXMACH}-hpux${HPUXVER}"; exit 0 to: echo "hp${HPUXMACH}-hp-hpux${HPUXVER}"; exit 0 - + You cannot install PHP as a shared object under HP-UX so you must compile it as a static, just follow the instructions at the Apache page. @@ -94,8 +95,8 @@ PHP and Apache should have compiled OK, but Apache won't start. you need to create a new user for Apache, eg www, or apache. You then - change lines 252 and 253 of the conf/httpd.conf in Apache so that - instead of + change lines 252 and 253 of the conf/httpd.conf in + Apache so that instead of User nobody @@ -109,7 +110,7 @@ User www Group sys - This is because you can't run Apache as nobody under hp-ux. Apache and + This is because you can't run Apache as nobody under hp-ux. Apache and PHP should then work.