Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2006 17:42:25 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        freebsd-ports@freebsd.org
Subject:   freeraidus 1.1.2 build fails in rlm_sqlippool
Message-ID:  <44995AD1.2050102@icyb.net.ua>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44995AD1.2050102>