I have just installed Sage 3.4, database_gap-4.4.10, and gap_packages-4.4.10_6. It seems that I can't access 'SmallGroups':
sage: gap.eval('SmallGroups(8,1)') --------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) /home/davidp/download/<ipython console> in <module>() /usr/local/sage-3.4-Fedora_release_9-i686-Linux/local/lib/python2.5/ site-packages/sage/interfaces/gap.pyc in eval(self, x, newlines, strip, **kwds) 477 input_line += ';' 478 --> 479 result = Expect.eval(self, input_line, **kwds) 480 481 if not newlines: /usr/local/sage-3.4-Fedora_release_9-i686-Linux/local/lib/python2.5/ site-packages/sage/interfaces/expect.pyc in eval(self, code, strip, synchronize, locals, **kwds) 972 try: 973 with gc_disabled(): --> 974 return '\n'.join([self._eval_line(L, **kwds) for L in code.split('\n') if L != '']) 975 except KeyboardInterrupt: 976 # DO NOT CATCH KeyboardInterrupt, as it is being caught /usr/local/sage-3.4-Fedora_release_9-i686-Linux/local/lib/python2.5/ site-packages/sage/interfaces/gap.pyc in _eval_line(self, line, allow_use_file, wait_for_prompt) 721 return '' 722 else: --> 723 raise RuntimeError, message 724 725 except KeyboardInterrupt: RuntimeError: Gap produced error output Variable: 'SmallGroups' must have a value executing SmallGroups(8,1); sage: gap('SmallGroup(8,1)') --------------------------------------------------------------------------- TypeError Traceback (most recent call last) /home/davidp/download/<ipython console> in <module>() /usr/local/sage-3.4-Fedora_release_9-i686-Linux/local/lib/python2.5/ site-packages/sage/interfaces/expect.pyc in __call__(self, x, name) 1000 return x 1001 if isinstance(x, basestring): -> 1002 return cls(self, x, name=name) 1003 try: 1004 return self._coerce_from_special_method(x) /usr/local/sage-3.4-Fedora_release_9-i686-Linux/local/lib/python2.5/ site-packages/sage/interfaces/expect.pyc in __init__(self, parent, value, is_name, name) 1375 except (TypeError, KeyboardInterrupt, RuntimeError, ValueError), x: 1376 self._session_number = -1 -> 1377 raise TypeError, x 1378 self._session_number = parent._session_number 1379 TypeError: Gap produced error output Error, the Small Groups library is required but not installed executing $sage1:=SmallGroup(8,1);; I am running Sage under Fedora 10, 32bit. The command "sage -i" seemed to install the two packages without complaint. So is this still a known problem? Thanks, Dave On Mar 2, 6:33 pm, David Joyner <wdjoy...@gmail.com> wrote: > On Mon, Mar 2, 2009 at 3:51 PM, David Joyner <wdjoy...@gmail.com> wrote: > > I am trying and failing to get the sage-install script to work. > > ... > > > > > **************************************************** > > /bin/ls: cannot access gap-*.spkg: No such file or directory > > > /bin/ls: cannot access gap-*.spkg: No such file or directory > > ./spkg-install: line 13: patches: command not found > > > ./spkg-install: line 14: Installing: command not found > > > ./spkg-install: line 15: Installing: command not found > > > ./spkg-install: line 16: patches: command not found > > > <snip> > > ++++++++++++++++++++++++++++++++++++++++++++ > > > Does anyone have an idea what the problem could be? > > I finally figured out that (a) I was in the wrong directory > and (b) spaces matter for shell scripts. It now works in Linux. > I'm going to test in on a mac OS 10.4 and then post a link to the trac ticket > if that works. --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---