[Kroupware] apache compile problems

gb gillian.bennett at celentia.com
Sun Aug 17 23:34:45 CEST 2003


hi,

I too am having some problems compiling apache according to QIM. I am
running rh9 , with kolab server 1.0 src downloads.

I have run both the 

rpm -ba apache/apache.spec --define 'with_mod_ssl yes' --define
'with_mod_dav yes' --define 'with_mod_auth_ldap yes' --define
'with_mod_php_openldap yes' --define 'with_mod_php_imap yes' --define
'with_mod_php yes' --define 'with_mod_php_gettext yes' --define
'with_gdbm yes' --define 'with_ndbm yes'

and
rpm -ba apache/apache.spec --define 'with_mod_ssl yes' --define
'with_mod_dav yes' --define 'with_mod_auth_ldap yes' --define
'with_mod_php_openldap yes' --define 'with_mod_php_imap yes' --define
'with_mod_php yes' --define 'with_mod_php_gettext yes' --define
'with_gdbm_ndbm yes' 

with the following results:
the first stanza gives me this error:
/kolab/lib/libimap.a(osdep.o)(.text+0xa2a3): In function
`ssl_server_init':
/kolab/RPM/TMP/imap-2002d/c-client/osdep.c:267: the use of `tmpnam' is
dangerous, better use `mkstemp'
/kolab/lib/libldap.a(os-ip.o)(.text+0x39b): In function
`ldap_pvt_is_socket_ready':
: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/kolab/lib/libldap.a(os-ip.o)(.text+0x392): In function
`ldap_pvt_is_socket_ready':
: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
modules/proxy/libproxy.a(proxy_cache.o)(.text+0x261c): In function
`ap_proxy_cache_update':
: the use of `mktemp' is dangerous, better use `mkstemp'
modules/standard/libstandard.a(mod_auth_dbm.o)(.text+0xb6): In function
`get_dbm_pw':
: undefined reference to `dbm_open'
modules/standard/libstandard.a(mod_auth_dbm.o)(.text+0xd3): In function
`get_dbm_pw':
: undefined reference to `dbm_fetch'
modules/standard/libstandard.a(mod_auth_dbm.o)(.text+0xe8): In function
`get_dbm_pw':
: undefined reference to `dbm_close'
collect2: ld returned 1 exit status
make[3]: *** [target_static] Error 1
make[2]: *** [build-std] Error 2
make[1]: *** [build] Error 2
make: *** [install-all] Error 2
+ /kolab/lib/openpkg/shtool install -c -m 644 /dev/null
/kolab/RPM/TMP/apache-1.3.27-root/kolab/etc/apache/php.ini
cp: cannot create regular file
`/kolab/RPM/TMP/apache-1.3.27-root/kolab/etc/apache/#INST at 20798#': No
such file or directory
error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.99643 (%install)


RPM build errors:
    Bad exit status from /kolab/RPM/TMP/rpm-tmp.99643 (%install)


the second stanza gives me this error:
error: failed build dependencies:
        gdbm::with_ndbm = yes is needed by apache-1.3.27-20030611

Please could you tell me where I am going wrong with this?


Thanks, Gillian





More information about the Kroupware mailing list