Hi Rene, I am trying to build ROOT on VMS/Alpha using nothing but cmz and the latest `root.cmz' file. However, cmz version 1.50 on SLAC's VMS/Alpha computers can't seem to dereference environment variables like I expect it to. In particular, the $kuamcs/setup macro is exiting whenever I try to build ROOT because it calls the $kumacs/checkenv macro which tests to determine if the $ROOTSYS environment variable is set properly. For reference, here is the $kumacs/checkenv macro: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< begin $kumacs/checkenv <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< +DECK,checkenv. *CMZ : 0.90/01 29/10/96 15.16.11 by Fons Rademakers *-- Author : Fons Rademakers 23/07/96 macro checkenv * make sure $ROOTSYS is defined if $ROOTSYS = '$ROOTSYS' then mess '$ROOTSYS' not defined exit endif return <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< end $kumacs/checkenv <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< I have tried setting the following logicals and variables in my VMS/Alpha environment, but the $kumacs/checkenv macro still can't dereference $ROOTSYS: $ define ROOTSYS $SCR:[LANGSTON] $ define $ROOTSYS $SCR:[LANGSTON] $ ROOTSYS :== $SCR:[LANGSTON] $ $ROOTSYS :== $SCR:[LANGSTON] Here is some sample output from running cmz on the `root.cmz' file. In particular, notice that calling the cmz built-in function "mess $ENV(ROOTSYS)" properly dereferences ROOTSYS, but that calling "mess $ROOTSYS" does not. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< begin cms output <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< SLDA6:LANGSTON> run $bin:cmz ********************************************************* * CMZ Code Manager version 1.50/14 (21/01/99) * * * * Version news at http://wwwinfo.cern.ch/cmz/index.html * ********************************************************* Welcome to ROOT root [1] mess $ENV(ROOTSYS) $SCR:[LANGSTON] root [2] mess '$ROOTSYS' $ROOTSYS root [3] mess 'ROOTSYS' ROOTSYS root [4] root [4] exec setup setup called for machine=- and optimisation=opt $ROOTSYS not defined All connected CMZ files are now released **** CMZ normal termination **** *** MACRO/EXEC: macro file SELECTSYSTEM not found *** MACRO/EXEC: cannot execute SELECTSYSTEM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> end cmz output >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Can you tell me how I define the ROOTSYS environment variable properly under VMS so that the macros in the $kumacs PATCH work properly? I ultimately want to do a "cmz -install root" under VMS/Alpha to see how\ far I can get with compiling, linking and hopefully running. Thank you. Regards, Matt -- Matthew D. Langston SLD, Stanford Linear Accelerator Center langston@SLAC.Stanford.EDU
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:31 MET