The simplest way to install the software is to call the shell
Install located at the root directory
of the MegaWave2 package
$PRIVATE_MEGAWAVE2, and to answer some questions.
Actually, this shell simply calls the macro
with parameters depending on your answers (see the description of this system macro in
mwinstall successfully exits, you should not have to do anything else to install the software
but to include the environment file generated by
mwsetenv in your
If your system is the same as one we have, the installation procedure should be straightforward.
If not or if something goes wrong during the installation procedure, you will have to compile the whole thing
manually. The following explains the main steps you should manually complete. You may also have a look on
the installation shells, such as
mwinstall, for a better understanding of what has
to be done. Once the environment variables are set (see Section 2.1.4), you should try to compile
the kernel first, and the modules and user's macros afterwards.
The kernel, that is to say the system functions and the MegaWave2 preprocessor, is no longer pre-compiled on
MegaWave2 versions 2.x. You may compile it for your system architecture using the shell
The software contains the modules as source files (located in the directory
$MEGAWAVE2/src), so they have to be
compiled for your machine architecture.
cmw2_all $MEGAWAVE2/src to compile all the modules located in the subdirectories
If your system can run the compiler, you probably won't encounter a lot of errors at this time.
Most likely errors are those about standard libraries or include files not found: check the environment setup or the installation of your operating system.
If you get an error about an unsatisfied symbol while compiling a module
A, it is probably because
A calls a module
B which has not been already compiled.
To fix that, you may type
cmw2_all $MEGAWAVE2/src one more time or, preferably,
use the option
-2p (two pass - does not work for all linkers, see