[Kroupware] Problem building Apache

Stephan Buys s.buys at codefusion.co.za
Wed Jul 2 18:47:40 CEST 2003


Hello,

From the list archives: ( I have verified that this works with RedHat 8.0 )

>I compiled gdbm with: 
>rpm -bb gdbm.spec --define 'with_ndbm yes'
>
>and then apache with: 
>rpm -ba 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'at 

The important part is the --define 'with_gdbm_ndbm yes'

That will resolve your problem.

Regards,
Stephan


On Wednesday 02 July 2003 17:00, Laurent Rathle wrote:
> Hello,
>
> I get this message while building Apache :
>
> 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 20650#': No such
> file or directory
> error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.9270 (%install)
>
>
> I'm using Mandrake 9.1. Is it a problem with libimap ?
>
> Thank you,



More information about the Kroupware mailing list