[Box Backup] Error in install scripts in 0.09_plus2?

Chris Wilson boxbackup at fluffy.co.uk
Sat Feb 11 11:09:39 GMT 2006


Hi Martin,

> On Fri, 2006-02-10 at 17:57 -0500, Pascal Lalonde wrote:
>> The {$exec_prefix} variables in install-backup-server and
>> install-backup-client are not substitued once the build is over. I tried
>> this on OpenBSD and Linux.
>
> Ah yes. Autoconf deliberately doesn't expand those variables because
> make is able to change them when you do something like:
>  make install exec_prefix=/some/path
> Hence they are expanded at make time.
>
> We don't have that situation, those files are generated at configure
> time, so there is going to need to be some kind of a kludge. We also
> don't support the related:
>  make install DESTDIR=/some/path
> which is also annoying and would be good to fix one day.

I think the latter solution is the more standard one. Every project that I 
know of that uses prefixes, sets them at configure time. Most of those 
allow an additional path to be prepended at install time using DESTDIR.

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |




More information about the Boxbackup mailing list