2. Get the sources

To compile NMM form SourceForge CVS you need at least the nmm-Module. You should create a new directory to store the used modules (e.g. ~/sf/nmm/). To get the first working copy of the SourceForge CVS repository you need an initial checkout which is described in the remaining section.

2.1. Anonymous user

If you are not registered as developer for this project, you must first login as user anonymous with the following command:

   cvs -d:pserver:anonymous@nmm.cvs.sourceforge.net:/cvsroot/nmm login
When prompted for a password for anonymous user, simply press the Enter key. After this you can check out the core nmm-module with the following command:
   cvs -z3 -d:pserver:anonymous@nmm.cvs.sourceforge.net:/cvsroot/nmm co nmm
To checkout the remaining modules lib and include enter:
   cvs -z3 -d:pserver:anonymous@nmm.cvs.sourceforge.net:/cvsroot/nmm co lib 
   cvs -z3 -d:pserver:anonymous@nmm.cvs.sourceforge.net:/cvsroot/nmm co include
        
After an initial checkout, you find a subdirectory for each module. Now you can change into these directories and receive the latest cvs changes with the following command:
   cvs update
Important note: If you receive the error message cvs [checkout aborted]: recv() from .... " during checkout or update from the SourceForge CVS, then too many users are trying to access this server and you must retry at a later date.

2.2. Developer:

If you are registered as developer for this project you can receive the first working copy of the CVS repository via ssh. First you must set the environment variable CVS_RSH via

setenv CVS_RSH ssh
(if you use tcsh) or
export CVS_RSH=ssh
(if you use a bash)

Now you can checkout the core nmm module using the command

   cvs -z3 -d:ext:<developername>@nmm.cvs.sourceforge.net:/cvsroot/nmm co nmm
To checkout the remaining modules lib and include enter:
   cvs -z3 -d:ext:<developername>@nmm.cvs.sourceforge.net:/cvsroot/nmm co lib
   cvs -z3 -d:ext:<developername>@nmm.cvs.sourceforge.net:/cvsroot/nmm co include
        
After an initial checkout, you find a subdirectory for each module. Now you can change into these directories and receive the latest cvs changes with the following command:
   cvs update