On Sat, May 16, 2009 at 12:14 PM, kilucas <kevin.lu...@concave.co.uk> wrote:
>
>
>
> On May 16, 8:04 pm, William Stein <wst...@gmail.com> wrote:
>> On Sat, May 16, 2009 at 9:07 AM, kilucas <kevin.lu...@concave.co.uk> wrote:
>>
>> > On May 16, 2:32 pm, William Stein <wst...@gmail.com> wrote:
>> >> On Sat, May 16, 2009 at 6:01 AM, kilucas <kevin.lu...@concave.co.uk> 
>> >> wrote:
>>
>> >> > I'm using the VMWare Player v2.5.2 and Sage 3.4.1 on a LAN-connected
>> >> > laptop with no firewall and am confused about how to reach the sage
>> >> > command line.
>>
>> >> > If I run the VMWare Player from Windows, and use it to open sage_vmx
>> >> > I'm offered a menu of 4 choices: notebook, off, manage, sage (which
>> >> > says it's the option to reach the command, as I desire). If I type
>> >> > "sage" (without using the "notebook" options first) lots of text
>> >> > scrolls by, I see a brief message about the sage version and typing
>> >> > notebook() to get a GUI, but then I'm returned to the 4 option menu
>> >> > with a login prompt. Attempts to type mathematical expressions are
>> >> > interpreted as attempts to login.
>>
>> >> > If I choose the "notebook" menu option (which returns me to the 4
>> >> > option menu again) before typing "sage", I get the same effect.
>>
>> >> > So how should I reach the command line please or does any of this
>> >> > signify a prob lem with my set up?
>>
>> >> The Sage binary evidently doesn't work at all on your computer, perhaps 
>> >> because
>> >> it may be built with optimizations that your computer's CPU doesn't 
>> >> provide.
>> >> If you do:
>>
>> >>   login: login
>>
>> >> then type "sage" at the prompt, you'll probably get an error message,
>> >> and if you read
>> >> it, then it will probably explain that the Sage binary is too
>> >> optimized for your computers
>> >> architecture.
>>
>> >> You'll have to wait until we produce a less optimized binary (it's on
>> >> the todo list), or you'll have to build
>> >> one yourself for now.  Alternatively of course, you can always 
>> >> usehttp://sagenb.org.
>>
>> > William
>>
>> > Thanks for the guidance - I'm certainly beginning to wonder if some
>> > combination of my implemenattion, sage and my brain is incompatible
>> > here ;-)
>>
>> > Just before I give up can I just check I'm trying your experiment
>> > above correctly. When you say "login: login" is that the same as
>> > typing "login" at the "sage login:" prompt below the 4 menu options
>> > (notebook, off, manage, sage)?
>>
>> > And when you say to type "sage" at the prompt, I've presumed you mean
>> > that I type "sage" in response to the subsequent password request. Is
>> > that correct?
>>
>> > If I do this I don't get the compatibility warning that you mention.
>> > Instead I get:
>>
>> > A line begining "Linux sage 2.6.17-12-386 ..."
>> > A paragraph about programs in Ubuntu being free software.
>> > A reminder there is absoluetly no warranty
>> > A prompt that says "lo...@sage :~$"
>>
>> Type "sage" at the $ prompt, e.g.,
>>
>> lo...@sage :~$ sage
>
> William
>
> Very helpful. I then get the sage 3.4.1 release date etc header
> folloowed by the following message before being returned to the
> lo...@sage :~$ prompt
>
> /usr/local/sage/local/bin/sage-sage: line 198   3515 Illegal
> instruction    sage-ipython "$@" -i
>
> Is this sage's way of confirming your suspicion that my binary is
> incompatible with my CPU?

Yes.

>Or is there more hope here and there's
> something I can do to circumvent this error.

There is no hope beyond you building sage from source.  This is
actually much easier than you might think.  Do all of the following
after login as "manage" and typing  "sudo su".

1. Delete /usr/local/sage:
  cd /usr/local; rm -rf sage
2. Download sage-3.4.2.tar by typing
   wget http://sagemath.org/src/sage-3.4.2.tar
3. Extract it,
    tar xf sage-3.4.2.tar
4. Move it to be /usr/local/sage, and
    mv sage-3.4.2 sage
5. Build Sage -- this will take a few *hours* (no manual intervention)
but will work:
     cd sage; make

>
> Thanks
> Kevin
>>
>> Wiliam- Hide quoted text -
>>
>> - Show quoted text -
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to