On Fri, 2008-09-05 at 16:34 +0100, [EMAIL PROTECTED] wrote:
> Hi,
> >   Looking at this a little more, it looks like a bug crept in at the
> > last minute that prevents radmin from working.  <sigh>
> 
> I was about to email you about this. it loads, then it doesnt do anything
> (hangs after eg 'help' being typed)
> 
> rather than rely on knowing the radiusd.sock location, could it read the
> /etc/raddb/* config to find where it should look?  
> 
Under CentOS 5.2 I'm having difficulty getting it to compile. It throws
up errors such as 'undefined reference to `using_history''.

The config.log file shows:

==============================================================
configure:21093: checking for readline in -lreadline
configure:21128: gcc -o conftest -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS   conftest.c -lreadline -lnsl -lresolv
-lpthread >&5
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined
reference to `PC'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined
reference to `tgetflag'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined
reference to `tgetent'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined
reference to `UP'
==============================================================

It looks like the 'configure' test needs to include '-lcurses' as well
as '-lreadline' when checking for readline. Then if the test passes set
the libraries to include '-lreadline -lhistory -lcurses'. I did that and
then both configure and make worked okay.



John.

-- 
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 587287
E-mail: [EMAIL PROTECTED]       Fax: +44 (0)1752 587001
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to