<?xml version=
"1.0" encoding=
"UTF-8"?>
<!
DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<
html xmlns=
"http://www.w3.org/1999/xhtml" xml:lang=
"en">
<
head>
<
title>GAP (cvec) - Chapter
2: Installation of the cvec-Package</
title>
<
meta http-equiv=
"content-type" content=
"text/html; charset=UTF-8" />
<
meta name=
"generator" content=
"GAPDoc2HTML" />
<
link rel=
"stylesheet" type=
"text/css" href=
"manual.css" />
<
script src=
"manual.js" type=
"text/javascript"></
script>
<
script type=
"text/javascript">overwriteStyle();</
script>
</
head>
<
body class=
"chap2" onload=
"jscontent()">
<
div class=
"chlinktop"><
span class=
"chlink1">Goto Chapter: </
span><
a href=
"chap0.html">Top</
a> <
a href="chap1.html">1</a> <a href="chap2.html">2</a> <a href="chap3.html">3</a> <a href="chap4.html">4</a> <a href="chap5.html">5</a> <a href="chap6.html">6</a> <a href="chap7.html">7</a> <a href="chap8.html">8</a> <a href="chap9.html">9</a> <a href="chapInd.html">Ind</a> </div>
<div class="chlinkprevnexttop"> <a href="chap0.html">[Top of Book]</a> <a href="chap0.html#contents">[Contents]</a> <a href="chap1.html">[Previous Chapter]</a> <a href="chap3.html">[Next Chapter]</a> </div>
<p id="mathjaxlink" class="pcenter"><a href="chap2_mj.html">[MathJax on]</a></p>
<p><a id="X81D63A85782CD477" name="X81D63A85782CD477"></a></p>
<div class="ChapSects"><a href="chap2.html#X81D63A85782CD477">2 <span class="Heading">Installation of the <strong class="pkg">cvec</strong>-Package</span></a>
</div>
<h3>2 <span class="Heading">Installation of the <strong class="pkg">cvec</strong>-Package</span></h3>
<p>To get the newest version of this <strong class="pkg">GAP</strong> 4 package download one of the archive files</p>
<ul>
<li><p><code class="file">cvec-x.x.tar.gz</code></p>
</li>
<li><p><code class="file">cvec-x.x.tar.bz2</code></p>
</li>
<li><p><code class="file">cvec-x.x.zip</code></p>
</li>
</ul>
<p>and unpack it using</p>
<pre class="normal">
gunzip cvec-x.x.tar.gz; tar xvf cvec-x.x.tar
</pre>
<p>or</p>
<pre class="normal">
bzip2 -d cvec-x.x.tar.bz2; tar xvf cvec-x.x.tar
</pre>
<p>or</p>
<pre class="normal">
unzip -x cvec-x.x.zip
</pre>
<p>respectively.</p>
<p>Do this in a directory called <q><code class="file">pkg</code></q>, preferably (but not necessarily) in the <q><code class="file">pkg</code></q> subdirectory of your <strong class="pkg">GAP</strong> 4 installation. It creates a subdirectory called <q><code class="file">cvec</code></q>.</p>
<p>The package will not work without the following compilation step.</p>
<p>To compile the C part of the package do (in the <code class="file">pkg</code> directory)</p>
<pre class="normal">
cd cvec
./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 <code class="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 <strong class="pkg">GAP</strong> with the <q><code class="file">-l</code></q> 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 <strong class="pkg">GAP</strong>. Of course, you can add this option to your <strong class="pkg">GAP</strong> startup script.</p>
<div class="chlinkprevnextbot"> <a href="chap0.html">[Top of Book]</a> <a href="chap0.html#contents">[Contents]</a> <a href="chap1.html">[Previous Chapter]</a> <a href="chap3.html">[Next Chapter]</a> </div>
<div class="chlinkbot"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a> <a href="chap1.html">1</a> <a href="chap2.html">2</a> <a href="chap3.html">3</a> <a href="chap4.html">4</a> <a href="chap5.html">5</a> <a href="chap6.html">6</a> <a href="chap7.html">7</a> <a href="chap8.html">8</a> <a href="chap9.html">9</a> <a href="chapInd.html">Ind</a> </div>
<hr />
<p class="foot">generated by <a href="https://www.math.rwth-aachen.de/~Frank.Luebeck/GAPDoc">GAPDoc2HTML</a></p>
</body>
</html>
¤ Dauer der Verarbeitung: 0.3 Sekunden
¤
*© Formatika GbR, Deutschland