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

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Tue Apr 26 00:56:28 EDT 2005


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.



More information about the SM-Grimoire-Bugs mailing list