[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: install PREFIX during packaging

From: Wolfgang Lux
Subject: Re: install PREFIX during packaging
Date: Mon, 12 May 2014 18:02:27 +0200

Am 12.05.2014 um 17:54 schrieb Riccardo Mottola <address@hidden>:

> Hi,
> I'm facing a problem while packaging base (but i start with that, i suppose 
> it will happen with many other packages)
> When configuring, I specify a certain prefix /xxx/yyy
> Then I build the package.
> Instead of installing direclty, the package wants to install in an directory 
> of its own usage, passed with PREFIX=, I was told this is a standard feature. 
> Currently gnustep-base tries to install directly in its destination 
> directory, which is not allowed (especially because a package gets built as a 
> user and thus cannot install into a system dir)
> How can I installa  gnustep package in a specific location? I suppose 
> different packaging system might have face a similar scenario.

The standard solution is to set the DESTDIR environment variable to a staging 
directory where you can install the package, e.g.,
  make install DESTDIR=/tmp/gnustep-base


reply via email to

[Prev in Thread] Current Thread [Next in Thread]