Re: [Gambas-devel] problems while installing gambas into a buildroot (needed for packaging)
Brought to you by:
gambas
From: Benoit M. <ga...@us...> - 2003-12-23 20:48:14
|
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:ga...@us... |