Thanks for the help it works now.

But you have to change the lines in src/modules/rlm_dbm/configure (line
1445 and 1566). Chaning it in confugre.in and then running autoconf has
not worked. No idea why.

Regards
Berndt

On Fri, 2003-08-08 at 10:00, Nicolas Baradakis wrote:
> Paul Hampson wrote:
> 
> > > Jan Berkel wrote:
> > > > 
> > > > try changing line 70 in src/modules/rlm_dbm/configure.in:
> > > > - if test "x$ac_cv_lib_gdbm_dbm_open" != "xyes"; then
> > > > + if test "x$ac_cv_lib_gdbm_compat_dbm_open" != "xyes"; then
> > > 
> > > ... and after that run autoconf to generate a correct configure
> > > script.
> > 
> > From the description above, wouldn't this fix break attempts
> > to build with libgdbm2? Or was it just a typo the first time?
> 
> I never tried it with libgdbm2 which is now neither in woody nor in
> sarge but it seems clearly it's a typo when you read the lines above
> and below the test.
> 
>   AC_SMART_CHECK_LIB(gdbm_compat, dbm_open)
> - if test "x$ac_cv_lib_gdbm_dbm_open" != "xyes"; then
> + if test "x$ac_cv_lib_gdbm_compat_dbm_open" != "xyes"; then
>     fail="$fail (libndbm or libgdm)"
>   fi
> 
> Indeed the macro AC_SMART_CHECK_LIB() sets the variable
> ac_cv_lib_${sm_lib_safe}_${sm_func_safe} when the library is found.
> So you're supposed to test ac_cv_lib_gdbm_compat_dbm_open and not
> ac_cv_lib_gdbm_dbm_open.
-- 
Diese Message wurde erstellt mit freundlicher Unterstuetzung
eines freilaufenden Pinguins aus artgerechter Freilandhaltung.
Sie ist garantiert frei von Microsoftschen Viren.
 
-----------------------------------------
TGM - Die Schule der Technik
IT-Service
A-1200 Wien, Wexstr. 19-23
Tel. +43(1)33126/316 Fax: +43(1)33126/154
E-Mail: [EMAIL PROTECTED]
-----------------------------------------



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to