CGI Security Documentation

CGIWrap Compilation Notes

This page collects platform-specific notes for compiling CGIWrap on older Unix systems and less common environments. These notes are brief, but they matter because small differences in compiler behavior, library handling, header files, or system calls can affect whether CGIWrap builds cleanly or behaves correctly after installation.

While the main installation instructions cover the standard build path, these notes are here to help administrators who run into platform-specific edge cases. They are especially useful when working with legacy systems that require different compiler flags, missing headers, or reduced feature support.

Platform-Specific Compilation Notes

The following notes preserve the original platform guidance while presenting it in a cleaner format. If you are building CGIWrap on one of these systems, review the relevant notes before assuming the default build and runtime behavior will match a more common Unix environment.

CDC 4680 EP/IX 2.1.1ad

This platform may require specific compiler and option settings during the build process.

CC=cc
CCOPT=-systype sysv -I/usr/include/bsd -lbsd

Do not include strings.h when compiling on this platform.

HP-UX 9.0.x

Do not enable setrlimit checking on HP-UX 9.0.x, because it is not completely supported by HPUX. If you rely on resource-limiting features elsewhere, keep in mind that this platform may not behave the same way.

SCO Unixware 2.03

There can be problems with sete[ug]id. You may need to undefine these in the config.sh file at the end of the Configure run before building or finalizing the setup.