Sophie

Sophie

distrib > * > 2010.0 > * > by-pkgid > 0c1f9463f03451b5503f0c33beb88a98 > files > 3430

gap-system-4.4.12-5mdv2010.0.x86_64.rpm

<html><head><title>[xgap] 3.6 Installing in a different than the standard location</title></head>
<body text="#000000" bgcolor="#ffffff">
[<a href = "C003S000.htm">Up</a>] [<a href ="C003S005.htm">Previous</a>] [<a href ="C004S000.htm">Next</a>] [<a href = "theindex.htm">Index</a>]
<h1>3.6 Installing in a different than the standard location</h1><p>
<p>
It could happen that you do not want to install XGAP in its
standard location, perhaps because you do not want to bother your
system administrator and have no access to the <font face="Gill Sans,Helvetica,Arial">GAP</font> directory. In
this case you can unpack XGAP in any other location within a
``pkg'' directory with the <var>unzoo</var> command as described above. Let us
call this directory ``pkg'' for the moment. You get an ``xgap''
subdirectory with all the files of XGAP in it. You follow the
standard procedure with two exceptions:
<p>
Before you can configure and compile XGAP you need a symbolic link
``cnf'' which is in the directory where ``pkg'' is and points to the ``cnf''
directory in the main <font face="Gill Sans,Helvetica,Arial">GAP</font> directory. You can install this link directly
after unzooing by (remember: you are in the ``pkg'' directory!):
<p>
<pre>
ln -s /usr/local/lib/gap4/cnf ..
</pre>
<p>
if ``/usr/local/lib/gap4'' is the location of the main <font face="Gill Sans,Helvetica,Arial">GAP</font> installation.
<p>
You can find out where the main <font face="Gill Sans,Helvetica,Arial">GAP</font>4 installation is by starting 
<font face="Gill Sans,Helvetica,Arial">GAP</font> as usual and looking at the variable <code>GAP_ROOT_PATHS</code> 
within <font face="Gill Sans,Helvetica,Arial">GAP</font>.
<p>
Note that you have to edit the startup script ``xgap.sh'' (see previous 
section) to
adjust the paths for ``XGAP_DIR'' and ``GAP_DIR'', and possibly the
name of the <font face="Gill Sans,Helvetica,Arial">GAP</font> executable ``GAP_PRG''.  Enter your <font face="Gill Sans,Helvetica,Arial">GAP</font>
installation directory for the variable ``GAP_DIR'' and the name of
the directory that contains ``pkg'' for the variable ``XGAP_DIR''. The 
variable ``GAP_PRG'' has to contain the path to the <font face="Gill Sans,Helvetica,Arial">GAP</font> executable relative
to the ``bin'' subdirectory of the main <font face="Gill Sans,Helvetica,Arial">GAP</font> installation. In most cases
this value will already be correct. Note however that if <font face="Gill Sans,Helvetica,Arial">GAP</font> and XGAP 
are compiled on different machines, then it is possible that these directory
names differ for the <font face="Gill Sans,Helvetica,Arial">GAP</font> and XGAP executables respectively. 
<p>
The script will automatically launch <font face="Gill Sans,Helvetica,Arial">GAP</font> with two directories as
library path such that all <font face="Gill Sans,Helvetica,Arial">GAP</font> and XGAP libraries will be found.
<p>
<p>
[<a href = "C003S000.htm">Up</a>] [<a href ="C003S005.htm">Previous</a>] [<a href ="C004S000.htm">Next</a>] [<a href = "theindex.htm">Index</a>]
<P>
<address>xgap manual<br>Mai 2003
</address></body></html>