Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 8646] sorcery 1.11.4: this patch correct INSTALL_ROOT features

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 8646] sorcery 1.11.4: this patch correct INSTALL_ROOT features
  • Date: Mon, 25 Apr 2005 21:56:28 -0700 (PDT)

http://bugs.sourcemage.org/show_bug.cgi?id=8646





------- Additional Comments From acedit AT armory.com 2005-04-25 21:56 -------
default track_root is /, as is install_root. this is to make it so you can
compile spells for use in an alternate environment seperately from your own,
the
other main use is to install stuff 'off to the side', but still use it in your
main system (not chrooted, or whatever), this is where track_root becomes
meaningful.

The behavior so far has NOT been such that files expect things to be in /,
they
expect them to be in install_root (according to the initial report, which no
ones actually verified to my knowledge).

Its unfortunate that install_root was seemingly hastily added with a poorly
thought out definition and the initial misconceptions and obscurities have
carried through with it such that virtually every spell assumes one behavior
or
another. The assumption is disambiguated (so far as we know) by the existence
of
track_root, again unfortunatly no spell has *ever* made use of it. Believe me,
im frustrated that years after INSTALL_ROOT was concieved of we're still
dealing
with the consequences of multiple interpritations and attempts at carrying
that
implementation through without considering the others or disambiguating the
problem first.

As for your depends problem, I cannot answer given the information provided,
my
guess is that if its a library it needs to link against, or headers it must
include, use $INSTALL_ROOT (compile time), the dynamic linker solves the
location issues at runtime. If its some other program it wants to execute or
file to find at runtime, then $TRACK_ROOT.

As for converting all 3000 spells, this is really only needed for the base
spells used by the iso and when its convenient. At least thats been my stance
from the begining. Hence my suggestion to adjust those first.

Also, for the majority of spells it probably isnt going to mean anything more
than it does already. Most people dont use either install or track root, so
they
fall through to empty values, it just (slightly) changes the behavior when
someone is cross compiling or install_rooting to something a bit more
realistic
with what it *should* be.

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




Archive powered by MHonArc 2.6.24.

Top of Page