Installing from subversion

Retrieving the source from subversion

The STXXL sourcecode is available in a subversion repository on sourceforge.net.
To learn more about subversion and (command line and graphical) subversion clients visit http://subversion.tigris.org/.

The main development line (in subversion called the "trunk") is located at https://stxxl.svn.sourceforge.net/svnroot/stxxl/trunk
Alternatively you might use a branch where a new feature is being developed. Branches have URLs like https://stxxl.svn.sourceforge.net/svnroot/stxxl/branches/foobar

For the following example let's assume you want to download the latest trunk version using the command line client and store it in a directory called stxxl-trunk (which should not exist, yet). Otherwise replace URL and path to your needs.

Run:

svn checkout https://stxxl.svn.sourceforge.net/svnroot/stxxl/trunk stxxl-trunk 

Change to stxxl directory:

cd stxxl-trunk 

Continue Installation

Now follow the regular installation and usage instructions, skipping over the tarball download and extraction parts.
For the STXXL_ROOT variable value choose something like $(HOME)/path/to/stxxl-trunk

Updating an existing subversion checkout

Once you have checked out the source code you can easily update it to the latest version later on.

Change to stxxl directory:

cd ...path/to/stxxl-trunk 

Run

svn update 

Usually you don't have to reconfigure anything, so just rebuild: