[Kroupware] Apache compile error
Dave Niemchick
david.niemchick at mint.steelcase.com
Fri Jun 13 10:24:58 CEST 2003
Yup, that fixed it... thanks! Whoever is in charge of maintaining the
QIM might want to include this for the benefit of RH9 users.
Thanks,
Dave N.
Sævaldur Gunnarsson wrote:
>Alright, it's fixed.
>
>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
>
>That did the trick for me :)
>
>On Monday 09 June 2003 14:00, Dave Niemchick wrote:
>
>
>>Anyone have a fix / response for this error? I get the exact same thing
>>on RH9.
>>
>>Thanks,
>>Dave N.
>>
>>addi at foo.is wrote:
>>
>>
>>>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
>>>_______________________________________________
>>>Kroupware mailing list
>>>Kroupware at mail.kde.org
>>>http://mail.kde.org/mailman/listinfo/kroupware
>>>
>>>
>
>
>
More information about the Kroupware
mailing list