mysql build issue

Matthew Newton mcn4 at
Sun Sep 30 00:16:29 CEST 2012


Current master won't build here using BOILER=yes without the below
patch (which is probably the wrong solution given my understanding
of the build system, but it fixes it for me.)

(Failure is inability to find rlm_sql.h when compiling



>From ce31f4cc52e355ae6f6de60f225df5d07910e5b6 Mon Sep 17 00:00:00 2001
From: Matthew Newton <mcn4 at>
Date: Sat, 29 Sep 2012 23:09:49 +0100
Subject: [PATCH] mysql includes missing

 .../rlm_sql/drivers/rlm_sql_mysql/        |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/modules/rlm_sql/drivers/rlm_sql_mysql/ b/src/modules/rlm_sql/drivers/rlm_sql_mysql/
index 72fc483..b4565c1 100644
--- a/src/modules/rlm_sql/drivers/rlm_sql_mysql/
+++ b/src/modules/rlm_sql/drivers/rlm_sql_mysql/
@@ -6,5 +6,5 @@ endif
 SOURCES		= sql_mysql.c
-SRC_CFLAGS	= @sql_mysql_cflags@
+SRC_CFLAGS	= @sql_mysql_cflags@ -I${top_srcdir}/src/modules/rlm_sql
 TGT_LDLIBS	= @sql_mysql_ldflags@

Matthew Newton, Ph.D. <mcn4 at>

Systems Architect (UNIX and Networks), Network Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at>

More information about the Freeradius-Devel mailing list