next up previous contents index
Next: No longer registration, but Up: Installation of the system Previous: Set up the environment   Contents   Index


Make the software ready

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 mwinstall with parameters depending on your answers (see the description of this system macro in Section 5.1). If 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 .profile or .cshrc.

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 Install and 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 $PRIVATE_MEGAWAVE2/kernel/Install.

The software contains the modules as source files (located in the directory $MEGAWAVE2/src), so they have to be compiled for your machine architecture. Just type cmw2_all $MEGAWAVE2/src to compile all the modules located in the subdirectories of $MEGAWAVE2/src. 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 Section 5).


next up previous contents index
Next: No longer registration, but Up: Installation of the system Previous: Set up the environment   Contents   Index
mw 2004-05-05