Re: Building ROOT on VMS/Alpha: CMZ 1.50 environment variable problems

Matthew D. Langston (langston@SLAC.stanford.edu)
Tue, 13 Apr 1999 05:42:15 +0000


Hi Rene,

Rene Brun wrote:
>
> I am currently attending a workshop in Crete and have access to a very
> very slow line. I can you you some hints now, but you will have to
> wait a bit more for a complete answer. Do mess [$ROOTSYS] to
> dereference the variable. You can comminucate directly with Fons (he
> is at CERN) for more info. I have also forwarded your mail to my wife
> (she was in charge of CMZ). She is currently visiting her parents,
> but has access to email sporadically. The guy who ported Root on VMS
> is Chris Hagel from Austin. He succeeded in making the port starting
> from the root.cmz file.

Thank you for your quick response.

I appreciate you forwarding on my email to others who might be able to
help me get started with ROOT on VMS. Actually, Kris Hagel was kind
enough to see my post to the roottalk list and provide me some pointers.
However, even with yours and Kris' advice, I am still not able to get
started with the `root.cmz' file under OpenVMS/Alpha. I suspect (and
hope) that I am doing something silly, and that perhaps you could
comment on the following at your next convenience.

Kris suggested that I use the following definitions for ROOTSYS under
VMS:

$ ROOTSYS :== $ROOTSYS :== $SCR:[LANGSTON.ROOT.]

This assumes that I have the root.cmz file in
`$SCR:[LANGSTON.ROOT]root.cmz', which I do.

However, even with the above definitions, the `$kumacs/setup' macro
continues to exit complaining that '$ROOTSYS not defined'. I tried your
suggestion of doing a "mess [$ROOTSYS]", but the environment variable
continues to be undefined (the result of "mess [$ROOTSYS]" is
"$ROOTSYS", i.e. the variable is undefined).

I have also tried the following definitions with identical
(i.e. unsuccessful) results:

$ define ROOTSYS $SCR:[LANGSTON.ROOT.]
$ define $ROOTSYS $SCR:[LANGSTON.ROOT.]
$ ROOTSYS :== $SCR:[LANGSTON.ROOT.]
$ $ROOTSYS :== $SCR:[LANGSTON.ROOT.]

It is as if cmz doesn't understand how to dereference environment
variables under VMS (I am using cmz version 1.50, which has the version
string "CMZ Code Manager version 1.50/14 (21/01/99)").

As I suggested earlier, I suspect and hope that I am making a simple
mistake in defining the appropriate symbols and/or logicals under VMS.
If you have any further advice once you get back to CERN, I would be
grateful.

--
Matthew D. Langston
SLD, Stanford Linear Accelerator Center
langston@SLAC.Stanford.EDU