[M3devel] The undefined ROOT problem, rebuilding cm3

Olaf Wagner wagner at elegosoft.com
Fri Nov 14 09:35:07 CET 2008


Quoting "Rodney M. Bates" <rodney.bates at wichita.edu>:

> Here is how the undefined ROOT problem happens when trying to rebuild
> cm3 with itself.
>
> I had been making the assumption that commands build, ship, clean, when
> supplied to the do-cm3-*.sh scripts, did the same things as -build,
> -ship, -clean supplied to the cm3 command.  Not so.
>
> build actually does cm3 -build -override, as do buildlocal and empty
> commands to the scripts. clean does cm3 -clean -override, as does cleanlocal.
> There is a buildglobal command that does -build without -override, but
> it also does a ship as well.  There appears to be no way to just build,
> without either overriding or shipping.
>
> So, I have been running do-cm3-*.sh with no argument (and sometimes build).
> This starts a chain of events that eventually leads to an installed libm3
> that always executes quake script bundle-ov.tmpl, and it requires that
> either M3BUNDLE or ROOT be defined, neither of which normally is.  This
> will happen trying to compile any program that uses libm3, which is just
> about everything.
>
> We should document this somewhere.

Perhaps you could write up some paragraphs for the scripts' README
and the web pages?
I always seem to overlook or tend to obscure some crucial points for
other users :-/

Olaf
-- 
Olaf Wagner -- elego Software Solutions GmbH
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




More information about the M3devel mailing list