Operating System - HP-UX
1833502 Members
2855 Online
110056 Solutions
New Discussion

Touble building Apache mm_mod_auth_ldap on HPUX B.11.11

 
Brian Foddy
New Member

Touble building Apache mm_mod_auth_ldap on HPUX B.11.11

Of & on for weeks I've been trying to build mm_mod_auth_ldap http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap.html
against apache 2.0.49 (from depot):
/opt/hpws/apache/bin/httpd -V
Server version: Apache/2.0.49 HP-UX_Apache-based_Web_Server
Server built: Apr 6 2004 21:20:33
Server's Module Magic Number: 20020903:7
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/worker"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PROC_PTHREAD_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D APR_PROCESS_LOCK_IS_GLOBAL
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/opt/hpws/apache"
-D DEFAULT_CHROOT_DIR=""
-D SUEXEC_BIN="/opt/hpws/apache/bin/suexec"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"


The problem is generally the final link step. In the case of mm_mod_auth_ldap3.07, if I remove the --silent from apxs, I see:
/opt/hpws/apache/build/libtool --mode=link ld -b -o mm_mod_auth_ldap.la -module -avoid-version -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_MALLOC_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SOCKET=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_YP_GET_DEFAULT_DOMAIN=1 -DHAVE_LIBNSL=1 -DHAVE_RES_SEARCH=1 -DHAVE_INET_ATON=1 -DHAVE_DN_SKIPNAME=1 -DWITH_APACHE_2=1 -DHAVE_LDAP=1 -DHAVE_3ARG_SETREBINDPROC=1 -DHAVE_LDAP_START_TLS_S=1 -DHAVE_LDAP_INITIALIZE=1 -DUSE_MEM_CACHE -DMM_ADD -module -avoid-version mm_mod_auth_ldap.lo
rm -fr .libs/mm_mod_auth_ldap.la .libs/mm_mod_auth_ldap.* .libs/mm_mod_auth_ldap.*
ar cru .libs/mm_mod_auth_ldap.al mm_mod_auth_ldap.lo
ranlib .libs/mm_mod_auth_ldap.al
creating mm_mod_auth_ldap.la
(cd .libs && rm -f mm_mod_auth_ldap.la && ln -s ../mm_mod_auth_ldap.la mm_mod_auth_ldap.la)


Notice, there is no actual ld or gcc command to create the .sl share lib needed by apache, and I've been unable to manually build it either.

I'm just looking for someone to either help get the normal make process to work, or someone who can quote me the manual gcc command to build the sl correctly.

Neither the module author or apache support forums have been any help so far. If this isn't the correct forum for this question, can someone redirect me?

Many thanks,
Brian