> < ^ Date: Wed, 24 Apr 1996 16:43:05 JST
> < ^ From: Akihiro Munemasa <munemasa@math.kyushu-u.ac.jp >
^ Subject: using packages in Macintosh

Dear Forum
I have been using the port of GAP to Macintosh by Burkhard Hoefling,
and I realized that the command "RequirePackage" does not work. For
example,

gap> RequirePackage("weyl");
Error, share library "weyl" is not installed in
LoadPackage( name ) called from
RequirePackage( "weyl" ) called from
main loop
brk>

A simple fix is to add the following line to the file "gap.rc":

LIBNAME := "lib/";

Alternatively, one can add the following line to the file "gap.options":

-l lib/

(Thanks to Burkhard for pointing this out.) Of course, this assumes
that your lib folder and pkg folder are in the same folder containing
GAP application.

Akihiro Munemasa
munemasa@math.kyushu-u.ac.jp


> < [top]