Building from Source

Arjan Sinnige a.sinnige at sae.edu
Sat Oct 10 15:33:12 CEST 2015


I've just finished building freeradius 2.2.9 from source on an Ubuntu 15.04
Server.
Comments here are so other looking for info can find it here.

I came across a few issues that one might want to solve in source or wiki.

1 - Build failed because it was unable to locate : /usr/include/isql.h
	There is an old thread on this list about removing the smart try
entry but it now actually fails because of that removal.
	It is located on /usr/include/iodbc/isql.h  on Ubuntu 15.04.
(upgraded from 14.10)
	I had to enter the source of :
	
freeradius-server-2.2.9/src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure
	search for isql.h and change the data just above it to :            
	smart_try_dir="$iodbc_include_dir /usr/include/iodbc
/usr/local/iodbc/include"

2 - Dependancies were quite a few missing : quilt for one..  they are not
all installed by 
	apt-get build-dep freeradius 
	but need to be installed 
	apt-get install quilt

3 - Lots of errors caused by systemctl taking over on Ubuntu and service
start/stop not functioning. Also caused by 4.

4- It will also fail to start because of openssl versioning :
	Put : 
	allow_vulnerable_openssl = yes
	under Security in /etc/freeradius/radius.conf
	
Hope this helps someone in the future..

Arjan Sinnige



More information about the Freeradius-Users mailing list