Can't get Sage to build: Clean install Ubuntu 12.04, iPython Error
I'm trying to get Sage to work on a clean install of Ubuntu 12.04 Desktop running through Virtualbox on Windows 7.
What am I missing? What have I done wrong?
I've seen a number of problems with iPython - I know Sage can conflict with iPython but does it happen with the default settings for Ubuntu?
Previously I was using Fedora and didn't have a problem...
Here's everything I've done:
- Clean install Ubuntu 12.04
- Download source
Here's most of the commands from my .bash_history
Additional package installs
sudo apt-get install tk8.5-dev
sudo apt-get install xdvi (error?)
sudo apt-get install dvipng
sudo apt-get install build-essential
sudo apt-get install xpdf
sudo apt-get install evince
sudo apt-get install make
sudo apt-get install m4
sudo apt-get install libgfortran3
sudo apt-get install texlive
sudo apt-get install tcl-dev
sudo apt-get install tcl8.5-dev
sudo apt-get install tcl8.5
Build commands:
tar xvf sage-5.2.tar
SAGE_PARALLEL_SPKG_BUILD=YES
SAGE64=YES
SAGE_SPKG_INSTALL_DOCS=YES
SAGE_ATLAS_ARCH=Corei7,SSE3,SSE2,SSE1
make
Start
./sage
Output
ImportError Traceback (most recent call last)
/home/justin/Downloads/sage-5.2/local/bin/<string> in <module>()
/home/justin/Downloads/sage-5.2/local/lib/python2.7/site-packages/sage/misc/preparser_ipython.py in <module>()
6 ###########################################################################
7
----> 8 import sage.misc.interpreter
9
10 import preparser
/home/justin/Downloads/sage-5.2/local/lib/python2.7/site-packages/sage/misc/interpreter.py in <module>()
103
104 import os
--> 105 import log
106 import re
107
/home/justin/Downloads/sage-5.2/local/lib/python2.7/site-packages/sage/misc/log.py in <module>()
63
64 import interpreter
---> 65 import latex
66 import misc
67
/home/justin/Downloads/sage-5.2/local/lib/python2.7/site-packages/sage/misc/latex.py in <module>()
55 import types
56
---> 57 from misc import tmp_dir, graphics_filename
58 import sage_eval
59 from sage.misc.sage_ostools import have_program
/home/justin/Downloads/sage-5.2/local/lib/python2.7/site-packages/sage/misc/misc.py in <module>()
2162 return "0"*(size-len(str(s))) + str(s)
2163
-> 2164 import sage.server.support
2165
2166 def embedded():
/home/justin/Downloads/sage-5.2/local/lib/python2.7/site-packages/sage/server/support.py in <module>()
17 import sage.misc.pager
18
---> 19 import sage.misc.sagedoc as sagedoc
20 import sage.misc.sageinspect as sageinspect
21
/home/justin/Downloads/sage-5.2/local/lib/python2.7/site-packages/sage/misc/sagedoc.py in <module>()
38 from sage.misc.viewer import browser
39 from sage.misc.misc import SAGE_DOC, tmp_dir
---> 40 from sagenb.misc.sphinxify import sphinxify
41 import sage.version
42
ImportError: No module named sagenb.misc.sphinxify
WARNING: Failure executing code: 'import sage.misc.preparser_ipython; sage.misc.preparser_ipython.magma_colon_equals=True'
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/home/justin/Downloads/sage-5.2/local/lib/python2.7/site-packages/IPython/ipmaker.pyc in force_import(modname, force_reload)
61 reload(sys.modules[modname])
62 else:
---> 63 __import__(modname)
64
65
/home/justin/Downloads/sage-5.2/local/bin/ipy_profile_sage.py in <module>()
1 import os
2 if 'SAGE_CLEAN' not in os.environ:
----> 3 import sage.misc.misc ...
Have you tried moving `$HOME/.sage` and `$HOME/.ipython` out of the way and trying to run ./sage again?
Not sure what you mean - I don't have a .ipython director that I see in my home directory.
When I do the the grep -li "^Error installing" thing on the logs the only package mentioned: sagenb-0.9.1.log.
Did `make` finish with no errors?
This might be an openssl issue, try installing `openssl-devel` and re-run make.