Upgrading freeradius from source

John Dennis jdennis at redhat.com
Tue May 12 16:50:35 CEST 2009


mctiew at yahoo.com wrote:
> 
> I have done some testing on 2.1.4 and I like the flexibility
> comparing to 1.x.
> 
> Unfortunately, I am using for production a pretty old distribution
> 1.1.7. For such an old distro, it's almost impossible to do an 
> upgrade and still maintaining the rpm package info and what not, 
> so I am considering upgrading by compiling from source, ie
> configure and make install.

Hmm... 1.1.7 RPM makes it sound like an old Fedora release. Alan gave
you some good suggestions about the 1.x to 2.x upgrade, I have a
suggestion about building and packages. It's always possible to build
from source, but it has some downsides, you'll need to make sure all
your build prerequisites are satisfied, you've passed all the right
values to "configure", not the least of which is to assure the install
path information is correct, you've fully removed the old RPM so there
aren't conflicts and then when you're done you'll have lost all the
advantages of having a package manager (e.g. rpm) which tracks
dependencies, watches for conflicts, and knows the version of software
installed on the system, sets the right file permissions and SELinux
labeling. Plus the source RPM (SRPM) will have any patches applied which
are necessary.

I think you'll save yourself a lot of headaches if you stick with RPM
based packages. If the version of FreeRADIUS is not available as an RPM
for the version of the distro you're using then you can find
instructions for how to download, build and install the *RPM* for a
current version here:

http://wiki.freeradius.org/Red_Hat_FAQ


> Any thing I should consider before I have go down to this path ?



-- 
John Dennis <jdennis at redhat.com>

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/



More information about the Freeradius-Users mailing list