next up previous contents index
Next: Make the software ready Up: Installation of the system Previous: Directories structure   Contents   Index


Set up the environment

You have to set up some environment variables used by MegaWave2. Put these definitions in a file which is executed at login time (such as .profile,.login,...) or when opening a new shell (e.g. .cshrc). They have to be set both for the administrator account and for all user accounts. Therefore, it may be better for the administrator to put the definitions in a file which will be sourced at login time by all users.

The system's macro mwsetenv helps you to generate such a file, see its description in Section 5.1. This macro is called by the shell Install (see Sections 2.1.5 and 5.1), so if you choose to install the software in this way you should not have to set up the environment manually.

The following variables are needed for the administrator only:

The following variables are needed for all users (including the administrator):

Special attention is requested if the directory path put in MEGAWAVE2 or MY_MEGAWAVE2 corresponds to a link or to an automounted file: you should always put the true pathname and not the link name. In short, if you type under your shell the command cd $MEGAWAVE2 followed by the command /bin/pwd (and not the shell built-in command pwd), you must get the same pathname as the one put in $MEGAWAVE2.

The following variables may be needed:

Note:

Last, you need to update your path variable in order to allow execution of the MegaWave2 commands from any location. Add the following paths (the first one should have greatest priority): ${MY_MEGAWAVE2}/shell, ${MY_MEGAWAVE2}/bin/${MW_MACHINETYPE},
${MEGAWAVE2}/sys/bin/${MW_MACHINETYPE}, ${MEGAWAVE2}/sys/shell,
${MEGAWAVE2}/bin/${MW_MACHINETYPE}.

Example:


set path=(${MEGAWAVE2}/sys/bin/${MW_MACHINETYPE} ${MEGAWAVE2}/sys/shell ...

${MEGAWAVE2}/bin/${MW_MACHINETYPE} $path)
set path=(${MY_MEGAWAVE2}/shell ${MY_MEGAWAVE2}/bin/${MW_MACHINETYPE} $path)


next up previous contents index
Next: Make the software ready Up: Installation of the system Previous: Directories structure   Contents   Index
mw 2004-05-05