mysql build issue

Matthew Newton mcn4 at leicester.ac.uk
Sun Sep 30 00:16:29 CEST 2012


Hi

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
sql_mysql.c)

Cheers

Matthew



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

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

diff --git a/src/modules/rlm_sql/drivers/rlm_sql_mysql/all.mk.in b/src/modules/rlm_sql/drivers/rlm_sql_mysql/all.mk.in
index 72fc483..b4565c1 100644
--- a/src/modules/rlm_sql/drivers/rlm_sql_mysql/all.mk.in
+++ b/src/modules/rlm_sql/drivers/rlm_sql_mysql/all.mk.in
@@ -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@
-- 
1.7.2.5



-- 
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>

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 le.ac.uk>


More information about the Freeradius-Devel mailing list