Differences between revisions 18 and 33 (spanning 15 versions)
Revision 18 as of 2011-01-15 16:28:20
Size: 1759
Comment:
Revision 33 as of 2019-02-03 13:16:06
Size: 0
Editor: AndrewHoopes
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Access the read-only CVS source-code repository =
Firstly, make sure that you [[FreeSurferOpenSourceLicense|read the license terms]]. Basically, the source can be used only for non-commercial and non-clinical applications.

To check-out a copy of the main 'dev' (development) trunk, type this:

{{{
cvs -d :pserver:anonymous@fsvm.nmr.mgh.harvard.edu:/usr/fscvsroot login
}}}
press Enter when prompted for the password (there isn't one). Then type:

{{{
cvs -d :pserver:anonymous@fsvm.nmr.mgh.harvard.edu:/usr/fscvsroot checkout -P dev
}}}
This will begin the download of the source-code trunk, creating a directory named 'dev'. The -P flag will purge the junk files that have been deleted from the repository over the years.

To get a copy of the current 'stable' branch (the code used to build the public release), insert '-r stable5' before 'dev' in the second command, like this:

{{{
cvs -d :pserver:anonymous@fsvm.nmr.mgh.harvard.edu:/usr/fscvsroot checkout -P -r stable5 dev
}}}
Note that this will also create a directory named 'dev', so you should probably create a directory named 'stable5', cd to that, and then do the checkout.

Build instructions are found in the DevelopersGuide, but in any case, you will first need to type this:

{{{
cd dev
./setup_configure
}}}
which will setup the autoconf and automake files for your platform. You need only do this once (or whenever you change configure.in).

The DevelopersGuide will describe how to need to {{{configure}}}, {{{make}}}, and {{{make install}}}.

Remember that cvs will cache the location of CVSROOT (the 'pserver' string from above), so to perform an update, you need only type:

{{{
cvs update -d
}}}
See also [[ReadOnlyCVSadmin|admin notes]].