freeraidus 1.1.2 build fails in rlm_sqlippool

Andriy Gapon avg at icyb.net.ua
Wed Jun 21 14:42:32 UTC 2006


Port configuration:
===> The following configuration options are available for freeradius-1.1.2:
     KERBEROS=off "With Kerberos support"
     HEIMDAL=off (default) "With Heimdal Kerberos support"
     LDAP=on "With LDAP user database"
     MYSQL=off "With MySQL user database"
     PGSQL=off "With PostgreSQL use database"
     SNMP=off "With SNMP support"
     EXPERIMENTAL=on "Build experimental modules"


Error messages:
gmake[6]: Entering directory
`/usr/ports/net/freeradius/work/freeradius-1.1.2/src/modules/rlm_sqlippool'

/usr/ports/net/freeradius/work/freeradius-1.1.2/libtool --mode=compile
cc  -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe
-march=athlon-xp -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall
-D_GNU_SOURCE -DNDEBUG  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/ports/net/freeradius/work/freeradius-1.1.2/src/include
-I../rlm_sql  -c rlm_sqlippool.c

rm -f .libs/rlm_sqlippool.lo

cc -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe
-march=athlon-xp -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall
-D_GNU_SOURCE -DNDEBUG -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/ports/net/freeradius/work/freeradius-1.1.2/src/include
-I../rlm_sql -c rlm_sqlippool.c  -fPIC -DPIC -o .libs/rlm_sqlippool.lo

In file included from rlm_sqlippool.c:37:
/usr/ports/net/freeradius/work/freeradius-1.1.2/src/include/modpriv.h:7:18:
ltdl.h: No such file or directory
In file included from rlm_sqlippool.c:37:
/usr/ports/net/freeradius/work/freeradius-1.1.2/src/include/modpriv.h:16:
error: syntax error before "lt_dlhandle"
In file included from rlm_sqlippool.c:39:
../rlm_sql/rlm_sql.h:15:18: ltdl.h: No such file or directory
In file included from rlm_sqlippool.c:39:
../rlm_sql/rlm_sql.h:68: error: syntax error before "lt_dlhandle"
gmake[6]: *** [rlm_sqlippool.lo] Error 1


Local fix:
I could fix this by adding $(INCLTDL) to RLM_CFLAGS in
src/modules/rlm_sqlippool/Makefile:

RLM_CFLAGS  =  -I../rlm_sql $(INCLTDL)

-- 
Andriy Gapon


More information about the freebsd-ports mailing list