Nick Davis <[EMAIL PROTECTED]> wrote:
> 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

  That looks OK so far.

> configuration files in /usr/local/etc/raddb

  Which is the 'raddbdir', which SHOULD be set to '$(sysconfdir)/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

  Did you 'rm -f config.cache'?  The configure script does weird
things with the cache.

> 2) the localstatdir and sysconfdir flags are now ignored

  I'm not seeing that on my system.  The 'raddb/radiusd.conf' file has
the correct value for 'localstatedir', that I specified on the command
line to 'configure'

> 3) I am misunderstanding something

  Maybe.

  Alan DeKok.

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

Reply via email to