I am trying to create C based application using freeradius-3.0.12, but its not possible to build. To use some of the definitions (viz. fr_pair_make) , I need to include libradius.h but then it gives the error saying freeradius/autoconf.h is missing. Similarly I need to use radclient structure in my application, but its defined in clients.h which is not there in the installed package headers. As a quick fix to the problem, I have manually copied these missing static header files in the installed package include path. But, is there any way by which I can get these missing header files through installation? Or any better solution? Thanks Anjali Gupta On Tue, Jan 31, 2017 at 4:00 PM, Matthew Newton <mcn4@leicester.ac.uk> wrote:
On Tue, Jan 31, 2017 at 02:55:14PM +0530, Anjali Gupta wrote:
I followed below steps for installation: tar -zxvf freeradius-server-3.0.12.tar.gz cd freeradius-server-3.0.12 ./configure --prefix=/etc/freeradius
That is weird. I wouldn't install the package in /etc/freeradius. /etc is for system config files, not binaries. Personally I'd suggest /opt/freeradius instead if you don't want it in the default of /usr/local.
make make install
Once it is complete, some of the header files are missing from the include path /etc/freeradius/include/freeradius:
Right; not all headers are installed.
Any help is greatly appreciated.
Maybe try explaining what you are trying to do and why this is actually a problem?
Thanks,
Matthew
-- Matthew Newton, Ph.D. <mcn4@leicester.ac.uk>
Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk> - List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
-- Anjali Gupta