[Gambas-devel] problems while installing gambas into a buildroot (needed for packaging)

Benoit Minisini gambas at ...1...
Tue Dec 23 21:48:36 CET 2003


On Tuesday 23 December 2003 20:54, Rob wrote:
> On Tuesday 23 December 2003 13:53, Benoit Minisini wrote:
> > Could you explain me what is a "buildroot" ? I never heard
> > about the $DESTIR variable before, and I don't understand it,
> > because every variables like $(bindir), $(datadir), or
> > $(libdir) are already absolute paths given by the prefix
> > option of the configure script. Why adding something before an
> > absolute path ?
>
> You need to prefix your absolute install paths with a buildroot
> when building packages, because it's typically not done as root
> and therefore the user doesn't have access to install the files
> to their final destinations.  However, having packaged Gambas
> for almost a year now, I have simply replaced "make install"
> with the following in my specfiles:
>

But why using ./configure --prefix=$DESTDIR/usr would not be sufficient ? I 
don't understand yet... :-(

-- 
Benoit Minisini
mailto:gambas at ...1...





More information about the Devel mailing list