Compilation errors in 1.0.4

Oleg M. Golovanov olmi at 4net.ru
Wed Jun 22 05:59:06 CEST 2005


I fixed the shown error but got the following.
I set CPPFLAGS in my configure script as follows
--
CPPFLAGS="-I/usr/local/include -I/usr/local/pgsql/include" 
LDFLAGS="-L/usr/local/lib -L/usr/local/pgsql/lib" ./configure 
--prefix=/usr/local/freeradius --with-raddbdir=/usr/local/freeradius/etc 
--with-logdir=/var/log/radius --with-radacctdir=/var/log/radacct 
--without-rlm-krb5 --without-rlm-sql-mysql --without-rlm-sql-oracle 
--with-iodbc-lib-dir=/usr/local/lib --without-rlm-sql-unixodbc 
--with-rlm-counter-include-dir=/usr/local/include 2>&1 > sci-freeradius.log
--
But it don't help to solve it.
--
gcc  -g -O2 -pthread -D_THREAD_SAFE -DOPENSSL_NO_KRB5   -Wall 
-D_GNU_SOURCE -DNDEBUG  -I../../include  -c rlm_counter.c -o rlm_counter.o
rlm_counter.c:38: gdbm.h: No such file or directory
gmake[5]: *** [rlm_counter.o] Error 1
gmake[5]: Leaving directory 
`/usr/home/olmi/com/freeradius-1.0.4/src/modules/rlm_counter'
gmake[4]: *** [common] Error 2
gmake[4]: Leaving directory 
`/usr/home/olmi/com/freeradius-1.0.4/src/modules'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory 
`/usr/home/olmi/com/freeradius-1.0.4/src/modules'
gmake[2]: *** [common] Error 2
gmake[2]: Leaving directory `/usr/home/olmi/com/freeradius-1.0.4/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/home/olmi/com/freeradius-1.0.4/src'
gmake: *** [common] Error 2
*** Error code 2

Stop in /usr/home/olmi/com/freeradius-1.0.4
--

Respectively,

Oleg Golovanov
Krasnoyarsk city
Russia



More information about the Freeradius-Users mailing list