[Kst] beta3-2
D. V. Wiebe
dvw at ketiltrout.net
Thu Oct 8 22:41:24 CEST 2009
On Thu, Oct 08, 2009 at 10:21:50AM -0400, Barth Netterfield wrote:
> I'm not sure I understand.
>
> why not
> ./install-kst release /dest/dir/absolute/prefix
>
> Assuming /absolute/prefix/lib is in ld.so.conf, everything should work fine
> when you unroll the package, shouldn't it?
>
> cbn
I suppose that would work, so long as none of the files that get install
have $PREFIX hard-coded in them. If it does, you'd get the situation that kst
would be looking in the (probably non-existant) $DESTDIR/$PREFIX for things
instead of the $PREFIX.
I think packagers prefer to assume that the installed programs do indeed
contain references to $PREFIX, and, as a result, prefer to separate $PREFIX
from $DESTDIR, to be sure that the installed files can't be contaminated by
$DESTDIR.
-dvw
> On Tuesday 06 October 2009 21:17:00 D. V. Wiebe wrote:
> > Looking at the qmake generated makefiles seem to indicate I should set
> > the envirnomental variable INSTALL_ROOT; so let's try creating a kst
> > that will eventually be installed in /absolute/prefix, but that I want
> > to stage, for packaging reasons in /dest/dir (ie. so everything will be
> > installed in /dest/dir/absolute/prefix/*) I tried:
> >
> > $ INSTALL_ROOT=/dest/dir ./install-kst anything-but-debug /absolute/prefix
> >
> > almost works. It installs things in /dest/dir/* instead of the intended
> > /dest/dir/absolute/prefix/*. (ie. setting INSTALL_ROOT ignores
> > INSTALL_PREFIX.)
> >
> > As an aside, you should point out in the INSTALL document that the
> > INSTALL_PREFIX passed to ./install-kst should be an absolute path or
> > weirdness will ensue. (The particular weirdness is things get installed
> > in the src tree.)
> >
> > Doing something like
> >
> > $ ./install-kst still-not-debug /some/path/not/usr
> >
> > properly installs kst2 in /some/path/not/usr, but the executable can't
> > be run, because there are no RPATHs in it pointing to
> > /some/path/not/usr/lib .
> >
> > Cheers,
> > -dvw
> >
--
Don Wiebe dvw at physics.ubc.ca
Department of Physics and Astronomy
University of British Columbia
6224 Agricultural Road Tele: +1-604-822-2585
University Endowment Lands, BC
Canada V6T 1Z1 http://ketiltrout.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kst/attachments/20091008/c706949f/attachment.sig
More information about the Kst
mailing list