Install new version (2.1.10) to completely different location

John Dennis jdennis at redhat.com
Wed May 11 18:26:58 CEST 2011


On 05/11/2011 12:22 PM, Phil Mayers wrote:
> On 11/05/11 17:16, John Dennis wrote:
>> On 05/11/2011 12:04 PM, Gary Gatten wrote:
>>> Good morning,
>>>
>>> I’m wanting to upgrade to 2.1.10, however, I want to install **all**
>>> files to a different location so I don’t overwrite **any** 2.1.6
>>> production files. Once I’ve validated operation on 2.1.10 I’ll install
>>> it to it’s normal location.
>>>
>>> So, if I specify –prefix=/devel/; will this work OK for what I’m wanting
>>> – or do I need to take other actions as well, such as:
>>> --with-radacctdir= and --with-raddbdir=, etc.?
>>
>> The preferred mechanism is to specify DESTDIR, every installed
>> file/directory is then created in it's "normal" location, but hung under
>> a DESTDIR root. You can either:
>
> That's fine for packaging, but if you actually want to *run* the server
> from /devel, ./configure --prefix=/devel is surely preferred, as it'll
> update the include paths in the generated config&  dictionaries.

Good point, good explanation of the distinction.

-- 
John Dennis <jdennis at redhat.com>

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



More information about the Freeradius-Users mailing list