<p>If you installed the package in another "pkg" directory than the standard "pkg"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 "PATH" is a path to the main <strong class="pkg">GAP</strong> root directory (if not given the default "../.." is assumed). That is, run</p>
<p>Secondly you have to specify the path to the directory containing your "pkg" directory to <strong class="pkg">GAP</strong>'s list of directories. This can be done by startingGAP 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.
<p>Another issue that can occur when running <code class="file">configure</code> is that it may fail to locate the the GNU multiple precision library (GMP <a href="chapBib_mj.html#biBGNUMP">[GMP]</a>) which ANU NQ requires to work. This library is also used by <strong class="pkg">GAP</strong> and hence normally should be available on your system anyway. But if this is not the case for some reason, it has to be installed first. A copy of GMP can be obtained from <span class="URL"><a href="https://gmplib.org/">https://gmplib.org/</a></span>.</p>
<p>In order for the <code class="file">configure</code> script to find your copy of GMP, you may have tell it where to find it via <code class="code">--with-gmp=PATH</code>, where "PATH" is the path where GMP was installed:</p>
<h4>5.2 <span class="Heading">Compiling the nq binary</span></h4>
<p>If <code class="file">configure</code> reports no problems, the next step is to start the compilation:</p>
<div class="example"><pre> make </pre></div>
<p>A compiled version of the program named <code class="file">nq</code> is then placed into the directory <code class="file">bin/<complicated name></code>. The <complicated name> component encodes the operating system and the compiler used. This allows you to compile NQ on several architectures sharing the same files system.</p>
<p>If there are any warnings or even fatal error messages during the compilation process, please submit a bug report about that following the instructions in Section <a href="chap5_mj.html#X80D704CC7EBFDF7A"><span class="RefLink">5.4</span></a></p>
<p>After the compilation is finished you can check if the ANU NQ is running properly on your system. Simply type</p>
<div class="example"><pre> make test </pre></div>
<p>This runs some computations and compares their output with the output files in the directory <code class="file">examples</code>. If any errors are reported, please follow the instructions below.</p>
<p>If you encounter problems with any of the above steps, please do not hesitate to contact us about this. You can either use the <span class="URL"><a href="https://github.com/gap-system/nq/issues">nq issue tracker</a></span> or contact the GAP support group via <span class="URL"><a href="mailto:support@gap-system.org">support@gap-system.org</a></span>. Please make sure to include information about the specific issue you encountered (e.g. steps to reproduce it, the specific error message), your operating system, the compiler you used and also the versions of <strong class="pkg">GAP</strong> and this package that were involved.</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.