On Thu, May 7, 2009 at 9:51 AM, William Stein <wst...@gmail.com> wrote:
> On Thu, May 7, 2009 at 9:05 AM, Jason Grout <jason-s...@creativetrax.com> 
> wrote:
>>
>> Jaap Spies wrote:
>>> Mike Hansen wrote:
>>>
>>> Hi Mike
>>> [...]
>>>> If you want to try the code out, there is an spkg and two patches in
>>>> http://sage.math.washington.edu/home/mhansen/symbolics/.  These should
>>>> install and apply cleanly to Sage 3.4.2.
>>>>
>>>
>>> I tried applying to sage-3.4.2, got:
>>> [j...@paix sage-3.4.2]$ ./sage
>>> ----------------------------------------------------------------------
>>> | Sage Version 3.4.2, Release Date: 2009-05-04                       |
>>> | Type notebook() for the GUI, and license() for information.        |
>>> ----------------------------------------------------------------------
>>> ---------------------------------------------------------------------------
>>> ImportError                               Traceback (most recent call last)
>>>
>>> /home/jaap/downloads/sage-3.4.2/local/lib/python2.5/site-packages/IPython/ipmaker.pyc
>>>  in force_import(modname)
>>>       64         reload(sys.modules[modname])
>>>       65     else:
>>> ---> 66         __import__(modname)
>>>       67
>>>       68
>>>
>>> /home/jaap/downloads/sage-3.4.2/local/bin/ipy_profile_sage.py in <module>()
>>>        5     preparser(True)
>>>        6
>>> ----> 7     import sage.all_cmdline
>>>        8     sage.all_cmdline._init_cmdline(globals())
>>>        9
>>>
>>> /home/jaap/downloads/sage-3.4.2/local/lib/python2.5/site-packages/sage/all_cmdline.py
>>>  in <module>()
>>>       12 try:
>>>       13
>>> ---> 14     from sage.all import *
>>>       15     from sage.calculus.predefined import x
>>>       16     preparser(on=True)
>>>
>>> /home/jaap/downloads/sage-3.4.2/local/lib/python2.5/site-packages/sage/all.py
>>>  in <module>()
>>>       90 from sage.functions.all  import *
>>>       91
>>> ---> 92 import sage.symbolic.pynac   # This must come before Calculus -- it 
>>> initializes the Pynac library.
>>>       93 from sage.calculus.all   import *
>>>       94 from sage.server.all     import *
>>>
>>> ImportError: libpynac-0.1.so.2: cannot open shared object file: No such 
>>> file or directory
>>> Error importing ipy_profile_sage - perhaps you should run %upgrade?
>>> WARNING: Loading of ipy_profile_sage failed.
>>>
>>> What's wrong?
>>>
>
> Delete constants.so:
>
> $ rm devel/sage/build/lib.macosx-10.3-i386-2.5/sage/symbolic/constants*
> $ rm devel/sage/build/temp.macosx-10.3-i386-2.5/sage/symbolic/constants*
> $ rm devel/sage/build/sage/symbolic/constants.so

I posted more complete step-by-step directions here:

http://trac.sagemath.org/sage_trac/ticket/5930

I also installed a command system wide on sage.math so that typing
sage-symbolics will run a clean 3.4.2 Sage install that has the new
symbolics code built and working.  So for those with accounts, just
login to sage.math.washington.edu and type "sage-symbolics".  I'm also
currently updating http://alpha.sagenb.org, so it uses 3.4.2 + new
symbolics:

wst...@sage:~$ sage-symbolics
----------------------------------------------------------------------
| Sage Version 3.4.2, Release Date: 2009-05-04                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage: type(x)
<type 'sage.symbolic.expression.Expression'>


 -- William


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

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to