Hello,

I noticed a problem with compiling the rlm_counter module. Configure detects a missing 
header file, but still marks the module as to-be-compiled. Here is the output from 
configure:

loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for gdbm.h... no
checking for gdbm_open in -lgdbm... yes
checking to see GDBM_SYNC status... SYNCs by default.
checking for gdbm_fdesc... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged

You see, that gdbm.h is not found. But configure claims that it finds gdbm_open in 
-lgdbm, so configure finds that compiling this module is a good idea. But we know 
linking without compiling does not work. So I conclude, that the rlm_counter module 
configure script is buggy. 
Am I on the right track here? if yes I will look into how to fix configure.in for that 
module.

Chris

PS: The reason why configure finds the lib, but not the include is strange. It looks 
like gcc looks at  /usr/local/gnu/lib by default , but the preprocessor (gpp) does not 
look at  /usr/local/gnu/include . Or probably the "wrong" preprocessor is picked by 
configure.

-- 
cityweb DSL start ab monatlich 3,49 Euro *** http://www.cityweb.de/dsl ***
        Sekundenschneller Seitenaufbau, Downloads, Videos und vieles mehr. Mit
        Cityweb-DSL wird der Blick auf die Uhr beim Surfen überflüssig!


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

Reply via email to