Ticket #13385: trac_13385-sage-library.patch

File trac_13385-sage-library.patch, 2.9 KB (added by jhpalmieri, 9 years ago)
  • doc/en/installation/source.rst

    # HG changeset patch
    # User J. H. Palmieri <palmieri@math.washington.edu>
    # Date 1345600338 25200
    # Node ID 0ac42d26adb04c12adf0e5235a9d34c8bce0b5bb
    # Parent  361d834fbcd60757f8d71f636c4c13d5dac1df6a
    Document when installation of openssl, pyopenssl are needed.
    diff --git a/doc/en/installation/source.rst b/doc/en/installation/source.rst
    a b command-line development tools must be i 
    4545  versions may or may not work.  On Solaris or OpenSolaris systems,
    4646  the Sun compiler should also work.
    4747- **make**: GNU make, version 3.80 or later
    48 - **OpenSSL with dev headers**
    4948- **m4**
    5049- **perl**: version 5.8.0 or later
    5150- **tar**: GNU tar version 1.17 or later, or BSD tar
    Recommended but not strictly required: 
    6160- **ffmpeg**
    6261- **ssh-keygen**: needed to run the notebook in secure mode
    64 .. note:: If you cannot install OpenSSL and its development headers
    65    systemwide, another option is to install the optional OpenSSL spkg
    66    into your Sage installation. Unfortunately this is not possible to
    67    do immediately after extracting the tarball, so you will need to
    68    follow the build instructions as normal, wait for the build to
    69    *fail*, then run ``sage -i openssl`` and run ``make`` again.
    7163Sage also needs a C++ compiler and a Fortran compiler.
    7264However, it contains a `GNU Compiler Collection (GCC) <http://gcc.gnu.org/>`_
    73 package, such that C, C++ and Fortran compilers will be built if needed
     65package, so C, C++ and Fortran compilers will be built if needed
    7466(you can also use the environment variable :envvar:`SAGE_INSTALL_GCC` to
    7567control whether or not to install GCC).
    7668You always need some C compiler to build GCC and its prerequisites itself.
     70Optional: If you are intending to run a Sage notebook server for
     71multiple users, you may wish for your users to access your server
     72remotely, and for security you may wish them to use the HTTPS protocol
     73to do so. This requires OpenSSL and pyOpenSSL. If you have OpenSSL and
     74the OpenSSL development headers installed on your system, then run ::
     76    ./sage -i pyopenssl
     78This will download and install the pyOpenSSL Sage package, so it
     79requires internet access.  If your computer is missing either OpenSSL
     80or OpenSSL's development headers, you can install a copy of both
     81into your Sage installation first. Then the procedure is as follows::
     83    ./sage -i openssl
     84    ./sage -i pyopenssl
     86Alternatively, when building Sage, use ::
     88    make ssl
     90instead of just ``make``. This builds Sage and then downloads and
     91installs OpenSSL and pyOpenSSL.
    7893To check if you have ``perl`` installed, for example, type
    Special Notes 
    10681083  :ref:`installation in a multiuser environment
    10691084  <sagetex_installation_multiuser>`.
    1071   **This page was last updated in August 2012 (Sage 5.2)**
     1086  **This page was last updated in August 2012 (Sage 5.3).**