Differences between revisions 30 and 32 (spanning 2 versions)
Revision 30 as of 2012-02-01 11:45:49
Size: 2103
Comment:
Revision 32 as of 2016-11-21 10:35:39
Size: 2550
Editor: ZekeKaufman
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
First, [[https://surfer.nmr.mgh.harvard.edu/opensourcereg.html|register to receive the password to this repository]]. This registration form includes [[FreeSurferSoftwareLicense|the license terms]]. Note: tkmedit, tksurfer and tkregister2 are covered under [[FreeSurferCorTechsLicense|the CorTechs license]].
Line 4: Line 3:
To check-out a copy of the main 'dev' (development) trunk, type this: The freesurfer CVS repository is now deprecated as we have transitioned to git. Please go to the following page for instructions on how to access the read-only source-code repository:
Line 6: Line 5:
{{{
cvs -d :pserver:anonymous@fsvm.nmr.mgh.harvard.edu:/usr/fscvsroot login
}}}
You will supply the password received via email after completing the registration form. Then type:
   http://surfer.nmr.mgh.harvard.edu/fswiki/freesurfer_linux_developers_page
Line 11: Line 7:
{{{
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.
## First, [[https://surfer.nmr.mgh.harvard.edu/opensourcereg.html|register to receive the password to this repository]]. This registration form includes [[FreeSurferSoftwareLicense|the license terms]]. Note: tkmedit, tksurfer and tkregister2 are covered under [[FreeSurferCorTechsLicense|the CorTechs license]].
Line 16: Line 9:
To get a copy of the current 'stable' branch (the code used to build the public release but that has been internally updated with bug fixes), insert '-r stable5' before 'dev' in the second command, like this: ## You will need about 7GB of disk space, and the download will likely take several hours.
Line 18: Line 11:
{{{
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.
## To check-out a copy of the main 'dev' (development) trunk, type this:
Line 23: Line 13:
If you need the version used in the 5.1 public release, then use 'release_5_1_0' as the revision tag (instead of 'stable5'). ## {{{
## cvs -d :pserver:anonymous@fsvm.nmr.mgh.harvard.edu:/usr/fscvsroot login
## }}}
## You will supply the password received via email after completing the registration form. Then type:
Line 25: Line 18:
Build instructions are found in the DevelopersGuide, but in any case, you will first need to type this: ## {{{
## 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.
Line 27: Line 23:
{{{
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).
## To get a copy of the current 'stable' branch (the code used to build the public release but that has been internally updated with bug fixes), insert '-r stable5' before 'dev' in the second command, like this:
Line 33: Line 25:
The DevelopersGuide will describe how to need to {{{configure}}}, {{{make}}}, and {{{make install}}}. ## {{{
## 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.
Line 35: Line 30:
Remember that cvs will cache the location of CVSROOT (the 'pserver' string from above), so to perform an update, you need only type: ## If you need the version used in the 5.1 public release, then use 'release_5_1_0' as the revision tag (instead of 'stable5').
Line 37: Line 32:
{{{
cvs update -d
}}}
See also [[ReadOnlyCVSadmin|admin notes]].
## 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]].

Access the read-only CVS source-code repository

The freesurfer CVS repository is now deprecated as we have transitioned to git. Please go to the following page for instructions on how to access the read-only source-code repository: