[Kroupware] Apache compile error

Sævaldur Gunnarsson addi at foo.is
Wed Jun 4 23:44:55 CEST 2003


I'm building the Kolab-1.0 src.rpms on RedHat 9, and everything is going well until get to the apache package.
Near the end it spawns this error:


/raid/kolab/bin/cc  -DLINUX=22 -DTARGET=\"apache\" -DNO_DBM_REWRITEMAP -DMOD_SSL=208114 -DEAPI -DEAPI_MM -O2 -pipe -I/raid/k
olab/include `./apaci` -L/raid/kolab/lib -L/raid/kolab/lib -L/raid/kolab/lib -rdynamic \
      -o apache buildmark.o modules.o modules/ssl/libssl.a modules/php4/libphp4.a modules/dav/libdav.a modules/standard/libs
tandard.a modules/extra/libextra.a modules/proxy/libproxy.a main/libmain.a ./os/unix/libos.a ap/libap.a   -lldap -llber -lss
l -lcrypto -Wl,-rpath,/raid/kolab/lib  -rdynamic -L/raid/kolab/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lm
odphp4    -rdynamic -L/raid/kolab/lib   -lmm -lldap -llber -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl  -lsasl2 -lcrypt
 -lm -lcrypt  -lssl -lcrypto -lmm -lexpat -ldl
/raid/kolab/lib/libldap.a(os-ip.o): In function `ldap_pvt_is_socket_ready':
os-ip.o(.text+0x399): `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
os-ip.o(.text+0x390): `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
modules/proxy/libproxy.a(proxy_cache.o): In function `ap_proxy_cache_update':
proxy_cache.o(.text+0x267e): the use of `mktemp' is dangerous, better use `mkstemp'
modules/standard/libstandard.a(mod_auth_dbm.o): In function `get_dbm_pw':
mod_auth_dbm.o(.text+0xb6): undefined reference to `dbm_open'
mod_auth_dbm.o(.text+0xd3): undefined reference to `dbm_fetch'
mod_auth_dbm.o(.text+0xe8): 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

Any ideas ?
And yes, the gdbm package is installed:
titanium.foo /raid/kolab$ /raid/kolab/bin/rpm -q gdbm
gdbm-1.8.3-20030213


-- 
Sævaldur Gunnarsson
RedHat Certified Engineer


More information about the Kroupware mailing list