Release Notes › Policy Server Release Notes › Installation and Upgrade Considerations › HP-UX Considerations › Apache 1.3.28 Web Server Installation Fails on HP-UX 11i (28327) (28302)
Apache 1.3.28 Web Server Installation Fails on HP-UX 11i (28327) (28302)
When you install the Apache 1.3.28 Web Server on HP-UX 11i, the installation program fails and issues a parsing error in the socket.h file during gmake. You can resolve this issue doing one of the following:
- Rename the types.h header file
- Compile Apache using the native HP compiler
To rename the types.h header file
- Rename the types.h header file that comes with the gcc installation to types.old.
Note: The file is located in usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/include/sys
- Move the types.h system header file from /usr/include/sys to the latter directory.
To compile Apache using the native HP compiler
- Export and set the variable CC to the following: cc -Ae +02
- Run the Apache configuration script.
- Run gmake.