[Kroupware] Apache compile problems

Carlo Kok ck at carlo-kok.com
Mon Aug 4 17:48:55 CEST 2003


I'm having a problem compiling apache, both:

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' --declare 'with-gdbm yes' --declare
'with-ndbm yes'

and

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'

Give:

/kolab/bin/cc -c -I/kolab/include -I./os/unix -I./include   -DLINUX=22 -DTAR
GET=\"apache\" -DNO_DBM_REWRITEMAP -DMOD_SSL=208114 -DEAPI -DEAPI_MM -O2 -pi
pe -I/kolab/include `./apaci` modules.c
/kolab/bin/cc -c -I/kolab/include -I./os/unix -I./include   -DLINUX=22 -DTAR
GET=\"apache\" -DNO_DBM_REWRITEMAP -DMOD_SSL=208114 -DEAPI -DEAPI_MM -O2 -pi
pe -I/kolab/include `./apaci` buildmark.c
/kolab/bin/cc  -DLINUX=22 -DTARGET=\"apache\" -DNO_DBM_REWRITEMAP -DMOD_SSL=
208114 -DEAPI -DEAPI_MM -O2 -pipe -I/kolab/include
`./apaci` -L/kolab/lib -L/kolab/lib -L/kolab/lib -rdynamic \
      -o apache buildmark.o modules.o modules/ssl/libssl.a
modules/php4/libphp4.a modules/dav/libdav.a modules/standard/libstandard.a
modules/extra/libextra.a modules/proxy/libproxy.a main/libmain.a
./os/unix/libos.a
ap/libap.a   -lldap -llber -lssl -lcrypto -Wl,-rpath,/kolab/lib  -rdynamic -
L/kolab/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 
   -rdynamic -L/kolab/lib -lcrypt  -limap  -lssl -lcrypto -lcrypt -lmm -llda
p -llber -lcrypt -lintl -lssl -lcrypto -lresolv -lm -ldl -lnsl  -liconv -lsa
sl2 -lssl -lcrypto -lcrypt -lcrypt   -lm -lcrypt  -lssl -lcrypto -lmm -lexpa
t -ldl
/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[2]: *** [target_static] Error 1
make[2]: Leaving directory `/kolab/RPM/TMP/apache-1.3.27/apache_1.3.27/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/kolab/RPM/TMP/apache-1.3.27/apache_1.3.27'
make: *** [build] Error 2

How can I fix this?

Carlo Kok




More information about the Kroupware mailing list