Alan,
Thanks for the prompt response!
> > 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/
> > configuration files in /usr/local/etc/raddb
>
> Which is the 'raddbdir', which SHOULD be set to '$(sysconfdir)/raddb'
So then, if I use the flag --with-sysconfdir=/etc, my raddbdir should now be
/etc/raddb and not ${prefix}/etc . Also, since I use
--with-localstatedir=/var, my localstatedir should be /var and not
${prefix}/var. Is that correct? That is what makes sense to me, but here is
what happens when I run configure with those flags:
*** from the Make.inc.in ***
# Location of files.
prefix = /usr/local
exec_prefix = ${prefix}
sysconfdir = ${prefix}/etc
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
mandir = ${prefix}/man
logdir = ${localstatedir}/log/radius
raddbdir = ${sysconfdir}/raddb
radacctdir = ${logdir}/radacct
This is why I think that either:
1)I am not understanding something, and the /usr/local must always be there
even if I use those two flags.
or
2)Those two flags are being ignored.
> > 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.
>
I did a fresh "tar xvzf freeradius-snapshot-20020503.tar.gz" and then ran the
above configure and flags.
It's not that I am unable to change the configure script myself, because I did
that and I already have the radius server up and running. I just want to make
sure that the configure script & flags work properly for everyone else, just
in case there was an error in there somewhere.
Another thing I noticed. While installing freeradius it also installs
"libltdl" from the libtool set which radiusd needs. This is fine, but it
installed libltdl.* in /usr/local/lib/ and /usr/local/lib was not in my
ld.so.conf, so radiusd couldn't run. I fixed it for my install but, should
something in the configure, make, or make install sequence check my
ld.so.conf to see if that path is valid and possibly add it and run ldconf?
Or is that beyond what the install sequence should be checking for?
Thanks!
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