<p id="mathjaxlink" class="pcenter"><a href="chap2_mj.html">[MathJax on]</a></p>
<p><a id="X80F00D467DD002D3" name="X80F00D467DD002D3"></a></p>
<div class="ChapSects"><a href="chap2.html#X80F00D467DD002D3">2 <span class="Heading">Installation of the <strong class="pkg">orb</strong>-Package</span></a>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap2.html#X7FB00ED2787027A3">2.1 <span class="Heading">Recompiling the documentation</span></a>
</span>
</div>
</div>
<h3>2 <span class="Heading">Installation of the <strong class="pkg">orb</strong>-Package</span></h3>
<p>To install this package just extract the package's archive file to the GAP pkg directory.
<p>By default the <strong class="pkg">orb</strong> package is not automatically loaded by <strong class="pkg">GAP</strong> when it is installed. You must load the package with <code class="code">LoadPackage("orb");</code> before its functions become available.</p>
<p>As of version 3.0, the <strong class="pkg">orb</strong> package has a <strong class="pkg">GAP</strong> kernel component which should be compiled. This component does not actually contain new functionality but will improve the performance of AVL trees and hash tables significantly since many core routines are implemented in the C language at kernel level.</p>
<p>To compile the C part of the package do (in the <code class="file">pkg</code> directory)</p>
<pre class="normal">
cd orb
./configure
make
</pre>
<p>If you installed the package in another <q><code class="file">pkg</code></q> directory than the standard <q><code class="file">pkg</code></q> directory in your <strong class="pkg">GAP</strong> 4 installation, then you have to do two things. Firstly during compilation you have to use the option <codeclass="code">--with-gaproot=PATH</code> of the <code class="file">configure</code> script where <q>PATH</q> is a path to the main <strong class="pkg">GAP</strong> root directory (if not given the default <q><code class="file">../..</code></q> is assumed).</p>
<p>Secondly you have to specify the path to the directory containing your <q><code class="file">pkg</code></q> directory to <strong class="pkg">GAP</strong>'s list of directories. This can be done by starting GAP with the -l command line option followed by the name of the directory and a semicolon. Then your directory is prepended to the list of directories searched. Otherwise the package is not found by GAP. Of course, you can add this option to your GAP startup script.
<h4>2.1 <span class="Heading">Recompiling the documentation</span></h4>
<p>Recompiling the documentation is possible by the command <q><code class="file">gap makedoc.g</code></q> in the <code class="file">orb</code> directory. But this should not be necessary.</p>
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.