From owner-freebsd-ports@FreeBSD.ORG Wed Jun 21 14:42:32 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D75E16A474 for ; Wed, 21 Jun 2006 14:42:32 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DF4143D48 for ; Wed, 21 Jun 2006 14:42:28 +0000 (GMT) (envelope-from avg@icyb.net.ua) Received: from [212.40.38.87] (oddity-e.topspin.kiev.ua [212.40.38.87]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA29662 for ; Wed, 21 Jun 2006 17:42:25 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <44995AD1.2050102@icyb.net.ua> Date: Wed, 21 Jun 2006 17:42:25 +0300 From: Andriy Gapon User-Agent: Thunderbird 1.5.0.4 (X11/20060615) MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 7bit Subject: freeraidus 1.1.2 build fails in rlm_sqlippool X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 14:42:32 -0000 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