[M3devel] The undefined ROOT problem, rebuilding cm3

Olaf Wagner wagner at elegosoft.com
Mon Nov 17 10:10:43 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.

It seems that this time my email wasn't complete, for whatever reasons.
I was out of town for some days so I noticed only today.

Rodney, I did ask you if you could write up some paragraphs for the
README in scripts and the web pages that clarifies this matter so that
others won't run into it again?

I always seem to miss some crucial points when trying to explain the
build system myself...

Thanks in advance,

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