Install new version (2.1.10) to completely different location

Phil Mayers p.mayers at imperial.ac.uk
Wed May 11 18:22:01 CEST 2011


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.



More information about the Freeradius-Users mailing list