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

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


Hi Kris,

Thank you for your quick response and detailed, helpful instruction.

I am still having a minor problem with getting cmz under OpenVMS/Alpha
to dereference the "$ROOTSYS environment variable" , which I wondered if
you might be able to further comment on.

FYI, I have CC'ed you on a more detailed email that I sent to Rene Brun
concerning this same issue.

Kris Hagel wrote:
>
>
> On OpenVMS, ROOTSYS needs to be defined in the following way:
>
> ROOTSYS :== $ROOTSYS :== $SCR:[LANGSTON.ROOT.]
>
> if I assume that the root distribution is in $SCR:[LANGSTON.ROOT]

I have tried this procedure without success. To be more precise, I
tried the following definitions just to cover all of my bases:

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

However, I still can't seem to get cmz running under OpenVMS/Alpha to
dereference the "$ROOTSYS environment variable". Do you have any
further advice after inspecting the four definitions above (I literally
cut-and-pasted those four lines from my VMS session).

By the way, do you know what cmz considers to be an environment
variable? Are they symbols or logicals (or both)?

> The cmz install procedure compiles all the files and builds the
> libraries as well as links cint. However, it does not yet link root.
> To do that, you need the following command file.

Thank you for sending me this `.com' file. I hope I get to use it soon
:-)

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

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