Results 1 to 10 of 28

Thread: failed to install sage 4.7.1 on ubuntu 11.10

Hybrid View

  1. #1
    Join Date
    Nov 2004
    Beans
    560
    Distro
    Ubuntu 12.04 Precise Pangolin

    failed to install sage 4.7.1 on ubuntu 11.10

    i downloaded sage from sagemath.org ( sage-4.7.1-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux ), unpacked it and tried to do the first run as root. this produced the following error message:

    Code:
    $ sudo ./sage/sage 
    ----------------------------------------------------------------------
    | Sage Version 4.7.1, Release Date: 2011-08-11                       |
    | Type notebook() for the GUI, and license() for information.        |
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/opt/sage/local/bin/sage-ipython", line 18, in <module>
        import IPython
      File "/opt/sage/local/lib/python2.6/site-packages/IPython/__init__.py", line 58, in <module>
        __import__(name,glob,loc,[])
      File "/opt/sage/local/lib/python2.6/site-packages/IPython/ipstruct.py", line 22, in <module>
        from IPython.genutils import list2dict2
      File "/opt/sage/local/lib/python2.6/site-packages/IPython/genutils.py", line 59, in <module>
        from IPython.external.path import path
      File "/opt/sage/local/lib/python2.6/site-packages/IPython/external/path.py", line 35, in <module>
        import md5
      File "/opt/sage/local/lib/python/md5.py", line 10, in <module>
        from hashlib import md5
      File "/opt/sage/local/lib/python/hashlib.py", line 136, in <module>
        md5 = __get_builtin_constructor('md5')
      File "/opt/sage/local/lib/python/hashlib.py", line 63, in __get_builtin_constructor
        import _md5
    ImportError: No module named _md5
    any ideas how this could be fixed?

  2. #2
    Join Date
    May 2006
    Beans
    86

    Re: failed to install sage 4.7.1 on ubuntu 11.10

    I can report that an attempt to compile the source code

    sage-4.7.1-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux.tar.lzma

    on a new installation of the official release of ubuntu 11.10

    gives the same error


    ImportError: No module named _md5
    make: *** [doc-html] Error 1

  3. #3
    Join Date
    Oct 2011
    Beans
    1

    Re: failed to install sage 4.7.1 on ubuntu 11.10

    I had the same issue. After installation of the package libssl0.9.8 it compiled without error.

  4. #4
    Join Date
    Sep 2008
    Location
    Cambridge UK
    Beans
    10
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: failed to install sage 4.7.1 on ubuntu 11.10

    Thanks so much for your post - very much appreciated!

  5. #5
    Join Date
    May 2006
    Beans
    86

    Re: failed to install sage 4.7.1 on ubuntu 11.10

    Thanks Vibration - works perfectly!

  6. #6
    Join Date
    Aug 2009
    Beans
    42

    Re: failed to install sage 4.7.1 on ubuntu 11.10

    Aye I had the same error and sure enough installing libssl0.9.8 fixed it.

  7. #7
    Join Date
    Jan 2012
    Beans
    1

    Re: failed to install sage 4.7.1 on ubuntu 11.10

    Quote Originally Posted by vibration View Post
    I had the same issue. After installation of the package libssl0.9.8 it compiled without error.
    It worked. Thanks!

  8. #8
    Join Date
    Nov 2004
    Beans
    560
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: failed to install sage 4.7.1 on ubuntu 11.10

    the compiled version of sage 4.8 runs (again, with libssl0.9.8 installed) on ubuntu 12.04 as well!

  9. #9
    Join Date
    Sep 2007
    Location
    UK
    Beans
    9
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: failed to install sage 4.7.1 on ubuntu 11.10

    Quote Originally Posted by surfer View Post
    the compiled version of sage 4.8 runs (again, with libssl0.9.8 installed) on ubuntu 12.04 as well!
    Sage usually has an official release just for LTS Ubuntu. And 12.04 will be one. So hopefully in May 2012 we will have Sage working out the box on 12.04.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •