[GAP Forum] Help Configuring GAP Packages on iBook 900 MHz

Alexander Hulpke hulpke at mac.com
Sun Feb 3 01:15:50 GMT 2008

Dear Jeffrey Rolland,

> 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.)

The error is prompted by the fact that the script wants to run using  
`sh' at `/usr/bin/sh', while under OSX sh sits under `/bin/sh'.
You could edit this first line of InstallPackages.sh, tough you might  
get similar errors from other packages.

Alternatively you could link sh under /usr/bin:

cd /usr/bin
sudo ln -s /bin/sh .

Again the package installations themselves might hang on some similar  
path or library issues.

(E.g. for installing XGAP you must install X11 and the X11SDK which  
might not be installed by default, you can find them on the  
installation disk for Tiger.)


     Alexander Hulpke

-- Colorado State University, Department of Mathematics,
Weber Building, 1874 Campus Delivery, Fort Collins, CO 80523-1874, USA
email: hulpke at math.colostate.edu, Phone: ++1-970-4914288

More information about the Forum mailing list