On 2014-04-07, John H Palmieri <[email protected]> wrote: > What I suggested installs the small groups package and a few other things, > but it looks like it doesn't install the FGA package. To install other > packages, install them basically like you said originally (although check > the directions for each package): unpack it in > > /Applications/Sage-6.1.1.app/Contents/Resources/sage/local/gap/latest/pkg/
there is also sage -i database_gap which would install quite a few GAP packages. (not all, surely) Just in case, Dima > > -- John > > > On Monday, April 7, 2014 4:34:37 PM UTC-7, Will wrote: >> >> Hi, I did what you suggested, and it seemed to install the small groups >> package... >> >> However, is that pretty much all it installs? It looks like it only >> installed the small groups package and something called "tomlib". >> >> In particular, it didn't seem to install the "FGA" package for computing >> with automorphism groups of free groups. >> >> It did fix my problem with all the errors though! >> >> thanks, >> >> - will >> >> >> On Monday, April 7, 2014 7:02:37 PM UTC-4, John H Palmieri wrote: >>> >>> >>> On Monday, April 7, 2014 3:44:40 PM UTC-7, Will wrote: >>>> >>>> Firstly, I'm using a mac (mavericks), and I'm getting the small groups >>>> package from: >>>> http://www.icm.tu-bs.de/ag_algebra/software/small/#small >>>> >>> >>> I think that the recommended way to install the GAP small groups package >>> in Sage is to do >>> >>> sage -i database_gap >>> >>> Does that help? >>> >>> >>> It downloads to a tar.gz file while unzips to a folder called "small". >>>> >>>> I tried putting it in >>>> "/Applications/Sage-6.1.1.app/Contents/Resources/sage/local/gap/latest/pkg/", >>>> >>>> but after reloading gap it wouldn't recognize any of the support >>>> functions. >>>> So instead I put it in "/Applications/Sage-6.1.1.app/Contents/Reso >>>> urces/sage/local/gap/latest/". >>>> >>>> However, upon reloading gap, I get a bunch of errors of the form >>>> >>>> Syntax error: warning: unbound global variable in >>>> /Applications/Sage-6.1.1.app/Contents/Reso\ >>>> >>>> urces/sage/local/gap/latest/small/small8/smlgp8.g line 94 >>>> >>>> op := DATA.ops[ p ]; >>>> >>>> each time referring to various files in the package. Have I installed it >>>> incorrectly? If not, can I somehow suppress these warnings? >>>> >>>> The funny thing is, even though it refers to the assignment of an >>>> unbound global variable "op", when I try to check the value of "op" in >>>> gap, >>>> it says it does not have a value. >>>> >>>> P.S. This actually didn't use to happen. Yesterday, my setup is as far >>>> as I know the same as it is today, however just an hour ago I accidentally >>>> hit "ctrl + Z" as opposed to ctrl+C while calling a self-defined function >>>> that wasn't terminating. After doing this, whenever I would use the >>>> "Read(...)" function in gap on the file I had written, I would get a bunch >>>> of these unbound global variable errors, despite never having gotten them >>>> before (even though I was modifying global variables in the file). Upon >>>> reloading gap, I suddenly found that I was also getting these errors for >>>> files within the small groups package. Since then I've done a >>>> reinstallation of sage, but I'm still getting the same errors. I've >>>> stopped >>>> the errors from reading my own files by declaring some variables local, >>>> but >>>> I'm hesistant to actually edit files in the small groups package myself. >>>> >>> >>>> thanks, >>>> >>>> - will >>>> >>> > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
