Building AMC from subversion repository (deprecated)
Version 10 (Anirvan Sarkar, 05/09/2014 02:01 pm) → Version 11/12 (Pieter Van den Hombergh, 05/09/2014 02:01 pm)
h1. Building AMC from @subversion@ repository (deprecated)
*Note*: _Building from @subversion@ repository is not recommended. Please follow the instructions on [[Building AMC from mercurial repository]]_
This how to assumes a debian/ubuntu system and has been tested on all "stable versions of Ubuntu.":https://wiki.ubuntu.com/Releases#Current
The steps to execute are:
h3. 1) Install @subversion@
<pre>
$ sudo apt-get install subversion
</pre>
h3. 2) Download (checkout) from the repository
<pre>
$ svn co http://svn.gna.org/svn/auto-qcm/trunk auto-qcm
</pre>
h3. 3) Build
<pre>
$ cd auto-qcm
$ make deb
</pre>
This might show some unfulfilled dependencies and therefore might fail.
The dependencies may include *libnetpbm10-dev libcv-dev libhighgui-dev dblatex docbook-xsl librsvg2-bin libxml-libxml-perl g++ and
libgtk2-notify-perl *
g++*
h3. 4) Install dependencies
<pre>
$ sudo apt-get install libnetpbm10-dev libcv-dev libhighgui-dev dblatex docbook-xsl librsvg2-bin libxml-libxml-perl g++ libgtk2-notify-perl
$ make deb
</pre>
This should produce four .deb package in the /tmp directory, which can be checked.
The package will be named:
* auto-multiple-choice_x.y.z-u_v.deb
* auto-multiple-choice-common_x.y.z-u_all.deb
* auto-multiple-choice-doc_x.y.z-u_all.deb
* auto-multiple-choice-doc-pdf_x.y.z-u_all.deb,
where x, y, z, u and v depend on your processor architecture and the revision at the moment of your checkout.
h3. 5) Install AMC
# First install the platform independent files
<pre>
$ sudo dpkg -i /tmp/auto-multiple-choice-common_x.y.z-u_all.deb
</pre>
# Then install the documentation
<pre>
$ sudo dpkg -i /tmp/auto-multiple-choice-doc_x.y.z-u_all.deb
$ sudo dpkg -i /tmp/auto-multiple-choice-doc-pdf_x.y.z-u_all.deb
</pre>
# Now install the platform dependent files
<pre>
$ sudo dpkg -i /tmp/auto-multiple-choice_x.y.z-u_v.deb
</pre>
@dpkg@ might complain that some dependencies are not fulfilled. You can install them using @sudo apt-get install@ as above.
You should also consider installing the _recommended_ packages (see the @Recommends:@ line in source:debian/control) with @apt-get@, as @dpkg@ does not tell you if they are missing!
h3. 6) Update AMC
If you want to stay on the bleeding edge, @svn update@ in the auto-qcm sub directory and then rerun the package making and installation process.
<pre>
$ cd .../auto-qcm
$ svn up
$ make deb
</pre>
*Note*: _Building from @subversion@ repository is not recommended. Please follow the instructions on [[Building AMC from mercurial repository]]_
This how to assumes a debian/ubuntu system and has been tested on all "stable versions of Ubuntu.":https://wiki.ubuntu.com/Releases#Current
The steps to execute are:
h3. 1) Install @subversion@
<pre>
$ sudo apt-get install subversion
</pre>
h3. 2) Download (checkout) from the repository
<pre>
$ svn co http://svn.gna.org/svn/auto-qcm/trunk auto-qcm
</pre>
h3. 3) Build
<pre>
$ cd auto-qcm
$ make deb
</pre>
This might show some unfulfilled dependencies and therefore might fail.
The dependencies may include *libnetpbm10-dev libcv-dev libhighgui-dev dblatex docbook-xsl librsvg2-bin libxml-libxml-perl g++ and
libgtk2-notify-perl *
g++*
h3. 4) Install dependencies
<pre>
$ sudo apt-get install libnetpbm10-dev libcv-dev libhighgui-dev dblatex docbook-xsl librsvg2-bin libxml-libxml-perl g++ libgtk2-notify-perl
$ make deb
</pre>
This should produce four .deb package in the /tmp directory, which can be checked.
The package will be named:
* auto-multiple-choice_x.y.z-u_v.deb
* auto-multiple-choice-common_x.y.z-u_all.deb
* auto-multiple-choice-doc_x.y.z-u_all.deb
* auto-multiple-choice-doc-pdf_x.y.z-u_all.deb,
where x, y, z, u and v depend on your processor architecture and the revision at the moment of your checkout.
h3. 5) Install AMC
# First install the platform independent files
<pre>
$ sudo dpkg -i /tmp/auto-multiple-choice-common_x.y.z-u_all.deb
</pre>
# Then install the documentation
<pre>
$ sudo dpkg -i /tmp/auto-multiple-choice-doc_x.y.z-u_all.deb
$ sudo dpkg -i /tmp/auto-multiple-choice-doc-pdf_x.y.z-u_all.deb
</pre>
# Now install the platform dependent files
<pre>
$ sudo dpkg -i /tmp/auto-multiple-choice_x.y.z-u_v.deb
</pre>
@dpkg@ might complain that some dependencies are not fulfilled. You can install them using @sudo apt-get install@ as above.
You should also consider installing the _recommended_ packages (see the @Recommends:@ line in source:debian/control) with @apt-get@, as @dpkg@ does not tell you if they are missing!
h3. 6) Update AMC
If you want to stay on the bleeding edge, @svn update@ in the auto-qcm sub directory and then rerun the package making and installation process.
<pre>
$ cd .../auto-qcm
$ svn up
$ make deb
</pre>