Building AMC from subversion repository (deprecated)
Version 4 (Pieter Van den Hombergh, 05/09/2014 02:01 pm) → Version 5/12 (Anirvan Sarkar, 05/09/2014 02:01 pm)
h1. Building AMC from repository
Alexis taught me how to build from sources.
This how to assumes an debian/ubuntu system and has been tested on ubuntu 10.04, 11.10, 12.04 11.10 and 12.10. 12.04.
The steps to execute are
# download (checkout) from the repository
<pre>
$ svn co http://svn.gna.org/svn/auto-qcm/trunk auto-qcm
</pre>
# build
<pre>
$ cd auto-qcm
$ make deb
</pre>
This might show some unfulfilled dependencies and therefore might fail.
In my case those were: *libnetpbm10-dev libcv-dev libhighgui-dev dblatex docbook-xsl librsvg2-bin*
# Install these dependencies, then have another go (two steps).
<pre>
$ sudo apt-get install libnetpbm10-dev libcv-dev libhighgui-dev dblatex docbook-xsl librsvg2-bin
$ make deb
</pre>
This should produce a .deb package in the /tmp directory, which can be checked.
The package will be named auto-multiple-choice_x.y.z-u_i386.deb where x, y, z and u depend on the revision at the moment of your checkout.
# After that you're done and can install this package the usual way with e.g. (As I did just now on my ubuntu 10.04 machine)
<pre>
sudo dpkg -i /tmp/auto-multiple-choice_1.0.977-1_i386.deb
</pre>
dpkg might complain that some dependencies are not fulfilled. You can install the using apt-get install the usual way.
If you want to stay on the bleeding edge, svn update in the auto-qcm sub directory and the rerun the package making.
<pre>
$ cd .../auto-qcm
$ svn up
$ make deb
</pre>
You may of course also just build parts (like the LaTeX.sty file for instance) and install them separately.
Alexis taught me how to build from sources.
This how to assumes an debian/ubuntu system and has been tested on ubuntu 10.04, 11.10, 12.04 11.10 and 12.10. 12.04.
The steps to execute are
# download (checkout) from the repository
<pre>
$ svn co http://svn.gna.org/svn/auto-qcm/trunk auto-qcm
</pre>
# build
<pre>
$ cd auto-qcm
$ make deb
</pre>
This might show some unfulfilled dependencies and therefore might fail.
In my case those were: *libnetpbm10-dev libcv-dev libhighgui-dev dblatex docbook-xsl librsvg2-bin*
# Install these dependencies, then have another go (two steps).
<pre>
$ sudo apt-get install libnetpbm10-dev libcv-dev libhighgui-dev dblatex docbook-xsl librsvg2-bin
$ make deb
</pre>
This should produce a .deb package in the /tmp directory, which can be checked.
The package will be named auto-multiple-choice_x.y.z-u_i386.deb where x, y, z and u depend on the revision at the moment of your checkout.
# After that you're done and can install this package the usual way with e.g. (As I did just now on my ubuntu 10.04 machine)
<pre>
sudo dpkg -i /tmp/auto-multiple-choice_1.0.977-1_i386.deb
</pre>
dpkg might complain that some dependencies are not fulfilled. You can install the using apt-get install the usual way.
If you want to stay on the bleeding edge, svn update in the auto-qcm sub directory and the rerun the package making.
<pre>
$ cd .../auto-qcm
$ svn up
$ make deb
</pre>
You may of course also just build parts (like the LaTeX.sty file for instance) and install them separately.