Hello,
 I just wanted to check to see if anyone else noticed this.

In doc/README it states this:
****
To get the defaults that Cistron Radius used up to 1.5.4.3-beta18, use:

        ./configure --localstatedir=/var --sysconfdir=/etc

  That means binaries will get installed in /usr/local/{bin,sbin},
  manpages in /usr/local/man, configuration files in /etc/raddb,
  and logfiles in /var/log and /var/log/radacct.
****

If I run configure with these flags:

./configure 
--with-localstatedir=/var --with-sysconfdir=/etc --with-thread-pool 
--with-mysql-include-dir=/usr/include/mysql/ --with-mysql-lib-dir=/usr/lib/ 
--with-mysql-dir=/usr/bin/

The localstatdir and sysconfdir flags seem to get ignored. The result is this:

binaries will get installed in /usr/local/{bin,sbin}
manpages in /usr/local/man
configuration files in /usr/local/etc/raddb
logfiles in /usr/local/var/log and /usr/local/var/log/radacct
pid file in /usr/local/var/run

I then went and edited the configure script and changed them myself:
sysconfdir='${prefix}/etc' changed to sysconfdir='/etc'
localstatedir='${prefix}/var'  changed to localstatedir='/var'

these changes gave the desired effect as described in doc/README

This leads me to a couple possible conclusions.
1) I am using the configure flags wrong
2) the localstatdir and sysconfdir flags are now ignored
3) I am misunderstanding something

Can someone fill me in on the real reasons why it works this way?

Thanks and have a great day!

Nick
-- 
Nick Davis 
Associate Systems Administrator 
[EMAIL PROTECTED] 
Internet Exposure, Inc. 
http://www.iexposure.com  

(612)676-1946 
Web Development-Web Marketing-ISP Services

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

Reply via email to