<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I don't know, but something doesn't seem right.<BR>
<BR>
D:\cm3>dir /s/b bund* *ov* *temp* *tmp*<BR>...<BR>
D:\cm3\pkg\libm3\src\bundleintf\bundle.tmpl<BR>
<BR>
if defined("M3BUNDLE")<BR> _M3BUNDLE = M3BUNDLE<BR>else<BR> _M3BUNDLE = BIN_USE & SL & "m3bundle"<BR>end<BR><BR>
D:\dev2\cm3.2>dir /s/b /a-d bund*tmp*<BR>D:\dev2\cm3.2\doc\help\gen_html\libm3\src\bundleintf\bundle.tmpl.html<BR>D:\dev2\cm3.2\m3-libs\libm3\src\bundleintf\bundle-ov.tmpl<BR>D:\dev2\cm3.2\m3-libs\libm3\src\bundleintf\bundle.tmpl<BR>
<BR>
:\dev2\cm3.2>dir /s/b /a-d bund*tmp*<BR>:\dev2\cm3.2\doc\help\gen_html\libm3\src\bundleintf\bundle.tmpl.html<BR>:\dev2\cm3.2\m3-libs\libm3\src\bundleintf\bundle-ov.tmpl<BR>:\dev2\cm3.2\m3-libs\libm3\src\bundleintf\bundle.tmpl<BR>
<BR>
bundle-ov.tmp:<BR>
<BR>
if defined("M3BUNDLE")<BR> _M3BUNDLE = M3BUNDLE<BR>else<BR> _M3BUNDLE = format(ROOT & SL & "m3-tools" & SL & "m3bundle" & SL & "%s" &<BR> SL & "m3bundle", BUILD_DIR)<BR> M3BUNDLE = _M3BUNDLE<BR>end<BR><BR>
=> this file requires ROOT or M3BUNDLE like you say, but this isn't normally used.<BR>
<BR>
D:\dev2\cm3.2>dir /s/b m3makefile | findstr /i bundleintf<BR>D:\dev2\cm3.2\m3-libs\libm3\src\bundleintf\m3makefile<BR>
<BR>
if defined("_M3BUNDLE_OVERRIDE")<BR> template ("bundle-ov")<BR>end<BR>template ("bundle")<BR><BR>
You defined _M3BUNDLE_OVERRIDE somewhere along the way?<BR>
<BR>
Try replacing the one file with the other..<BR>
<BR>
- Jay<BR><BR><BR><BR>> Date: Thu, 13 Nov 2008 17:29:17 -0600<BR>> From: rodney.bates@wichita.edu<BR>> To: m3devel@elegosoft.com<BR>> Subject: [M3devel] The undefined ROOT problem, rebuilding cm3<BR>> <BR>> Here is how the undefined ROOT problem happens when trying to rebuild<BR>> cm3 with itself.<BR>> <BR>> I had been making the assumption that commands build, ship, clean, when<BR>> supplied to the do-cm3-*.sh scripts, did the same things as -build,<BR>> -ship, -clean supplied to the cm3 command. Not so.<BR>> <BR>> build actually does cm3 -build -override, as do buildlocal and empty<BR>> commands to the scripts. clean does cm3 -clean -override, as does cleanlocal.<BR>> There is a buildglobal command that does -build without -override, but<BR>> it also does a ship as well. There appears to be no way to just build,<BR>> without either overriding or shipping.<BR>> <BR>> So, I have been running do-cm3-*.sh with no argument (and sometimes build).<BR>> This starts a chain of events that eventually leads to an installed libm3<BR>> that always executes quake script bundle-ov.tmpl, and it requires that<BR>> either M3BUNDLE or ROOT be defined, neither of which normally is. This<BR>> will happen trying to compile any program that uses libm3, which is just<BR>> about everything.<BR>> <BR>> We should document this somewhere.<BR><BR></body>
</html>