Hi, I was thinking of putting the following in the README.platforms.. Any comments ?.
Thanks -Madhu $ cvs diff README.platforms Index: README.platforms =================================================================== RCS file: /home/cvspublic/httpd-2.0/README.platforms,v retrieving revision 1.7 diff -u -r1.7 README.platforms --- README.platforms 8 Dec 2002 21:05:55 -0000 1.7 +++ README.platforms 30 Jan 2003 20:08:21 -0000 @@ -54,3 +54,34 @@ shell implementation (/bin/sh) on FreeBSD. Be sure to use v2.13 of autoconf. +================ + HP-UX (11.0 / 11i): + The dlopen() system call in HP-UX has problems when loading/unloading + C++ modules. To resove the problem, use either of the following two options: + (1) Recommended : Use the shl_load to do the module loading/unloading. + + - Create a config.cache file in $APACHE_SRC with the following contents: + ac_cv_func_dlopen=${ac_cv_func_dlopen=no} + ac_cv_header_dl_h=${ac_cv_header_dl_h=yes} + ac_cv_header_dlfcn_h=${ac_cv_header_dlfcn_h=yes} + ac_cv_lib_dl_dlopen=${ac_cv_lib_dl_dlopen=no} + ac_cv_lib_dld_shl_load=${ac_cv_lib_dld_shl_load=yes} + + Using the --config-cache option with the configure, forces the use + of shl_load system call instead of the dlopen to load the modules. + + - Download the cpprt0_stub.s from the web site : + http://h21007.www2.hp.com/hpux-devtools/CXX/hpux-devtools.0107/0083.html + + - Compile with the PIC option + cc -c +z cpprt0_stub.s + - OR - + gcc -c -fPIC cpprt0_stub.s + + - Continue using dlopen, and link the httpd binary with + "cpprt0_stub.o -lcl" + + (2) Link httpd with "cpprt0_stub.o -lcl -lCsup" + + HP-UX (11i version 1.5 and greater): + Link httpd with "cpprt0_stub.o -lcl -lunwind"