[GAP Forum] Help Configuring GAP Packages on iBook 900 MHz
rollandj at uwm.edu
Sun Feb 3 00:29:51 GMT 2008
I am trying to install GAP on an iBook 900 MHz running Mac OS 10.4.11
with 640 MB of RAM.
I have a basic GAP install compiled. The problem is getting all the
packages configured (or otherwise installed).
The packages are installed in the directory /usr/local/lib/gap4r4/pkg/.
Inside this directory, there is a shell script InstPackages.sh; I am
attaching a copy of InstPackages.sh.
When I cd to /usr/local/lib/gap4r4/pkg/ and run ./InstPackages.sh, I get
the error message "tcsh: ./InstPackages.sh: Command not found." (I am
running tcsh as my default shell.)
Can someone help me trouble-shoot the package installation process?
<rollandj at uwm.edu>
-------------- next part --------------
# $Id: InstPackages.sh,v 1.7 2006/12/06 17:07:16 gap Exp $
# You need 'gzip', GNU 'tar', a C compiler, sed, pdftex to run this.
# Copy the current merged package archive to the 'pkg' subdirectory of
# your GAP installation.
# Then start this script (or do it step by step with cut and paste) inside
# this 'pkg' subdirectory.
# Frank Lübeck, Frank.Luebeck at Math.RWTH-Aachen.De for questions and complaints.
# Note, that this isn't and is not intended to be a sophisticated script.
# Even if it doesn't work completely automatically for you, you may get
# an idea what to do for a complete installation of GAP.
# first unpack the merged package archive inside the 'pkg' subdirectory:
# tar xpzvf packages-*.tar.gz
# on Linux with gmp in standard place and with GAP 4.3 gap.sh script
# in standard path as: gap just do: make (otherwise check installation
# instructions - configure output gives hints)
# You may not want a writable directory here! In this case substitute
# the directories 'datagens' and 'dataword' by links to somewhere else.
chmod 1777 datagens dataword
# Installation of Carat produces a lot of data, maybe you want to leave
# this out until a user complains.
# It is not possible to move around compiled binaries because these have the
# path to some data files burned in.
tar xzpf carat-2.0.tar.gz
rm -f bin
ln -s carat-2.0/bin bin
# Install the include Gmp first.
# (If you have already Gmp on your system, you can delete the file
# gmp-4.1.2.tar.gz and delete the target 'Gmp' from the target 'ALL' in
tar xzpf gmp-4.1.2.tar.gz
make TOPDIR=`pwd` Links
# Note that Gmp may use processor specific code, so this step may not be ok
# for a network installation if you want to use the package on older computers
# as well.
make TOPDIR=`pwd` Gmp
# And now the actual Carat programs.
make TOPDIR=`pwd` CFLAGS=`-O2`
cp makefile.orig makefile
# create dynamic library with EDIM kernel module
make CC="gcc -O2 "
make COPTS="-O2 -g"
# nq needs 'gmp' the GNU multi precision integer package, it is contained in
# the 'carat' package installed above (you can use another installation
# of 'gmp', adjust the argument -I... and -L... below accordingly)
setenv COPTS "-I../../carat/carat/include -L../../carat/carat/lib"
# see the pargap documentation how to use this
# (in particular, user needs procgroup file)
# [more complicated to include EDIM kernel module ...]
cp bin/pargap.sh ../../bin/
rm -f ALLPKG
# For XGap the following shared libraries of the X window system must be
# installed on your machine together with the development files (header
# files and so on):
# libXaw.so, libXmu.so, libXt.so, libXext.so, libX11.so, libSM.so, libICE.so
# In addition you need on XFree Version >= 4:
# If you miss one of these under Linux you can usually just install some
# more packages of your favorite distribution. The development files usually
# come in some package with "dev" in its name.
rm -f ../../bin/xgap.sh
cp bin/xgap.sh ../../bin/
More information about the Forum