Re: Hmm... 2.1.0 && radmin

2008-09-06 Thread Alan DeKok
John Horne wrote:
> Under CentOS 5.2 I'm having difficulty getting it to compile. It throws
> up errors such as 'undefined reference to `using_history''.

  Ah, the joys of different dependencies on different systems.  Why
can't we just have inter-library dependencies that work?

> 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.

  OK.  I'll fix configure, thanks.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Hmm... 2.1.0 && radmin

2008-09-05 Thread Alan DeKok
[EMAIL PROTECTED] wrote:
> I was about to email you about this. it loads, then it doesnt do anything
> (hangs after eg 'help' being typed)

  I can't help but feel at least partially responsible...

> rather than rely on knowing the radiusd.sock location, could it read the
> /etc/raddb/* config to find where it should look?  

  That can be done.  It's only a bit of work.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Hmm... 2.1.0 && radmin

2008-09-05 Thread John Horne

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.  
> 
> 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


Re: Hmm... 2.1.0 && radmin

2008-09-05 Thread A . L . M . Buxey
Hi,
>   Looking at this a little more, it looks like a bug crept in at the
> last minute that prevents radmin from working.  

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?  

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Hmm... 2.1.0 && radmin

2008-09-05 Thread Alan DeKok
  Looking at this a little more, it looks like a bug crept in at the
last minute that prevents radmin from working.  

  I'll issue 2.1.1 on Monday.  It's been an interesting week.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html