thank you very much!

now the version of sage i got by "apt-get" is ok, so i don't try more with sources!


Le 18/12/2018 à 21:49, Jan Groenewald a écrit :
Try $SAGE_LOCAL instead of SAGE_LOCAL

On Tue, 18 Dec 2018 at 22:40, Mathieu Roux <mthr...@gmail.com <mailto:mthr...@gmail.com>> wrote:

    Thanks for your help!

    ./configure seems to be OK:
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating build/make/Makefile-auto
    config.status: creating build/make/Makefile
    config.status: creating src/Makefile
    config.status: creating src/bin/sage-env-config
    config.status: executing depfiles commands
    config.status: executing mkdirs commands
    config.status: creating directory /home/m/sage-8.4/logs/pkgs
    config.status: creating directory local
    config.status: creating directory local/bin
    config.status: creating directory local/etc
    config.status: creating directory local/include
    config.status: creating directory local/lib
    config.status: creating directory local/share
    config.status: creating directory local/var/lib/sage/installed

    J'obtiens:

    $ sudo apt-get -f ecl.16.1.2.pt <http://ecl.16.1.2.pt>
    [sudo] password for m:
    E: L'option « f » de la ligne de commande [-f] est inconnue quand
    elle est utilisée avec d'autres options.


     $ ./configure --prefix=SAGE_LOCAL
    configure: error: expected an absolute directory name for
    --prefix: SAGE_LOCAL




    Le mar. 18 déc. 2018 à 20:58, Steven Craighead
    <steven.craigh...@gmail.com <mailto:steven.craigh...@gmail.com>> a
    écrit :

        Did you run
        ./configure

        Or
        ./configure —help
         And read any messages of problems?

        You may be able to just run
        Sudo app-get -f ecl.16.1.2.pt <http://16.1.2.pt>

        Also, consider doing sudo app-get on any packages that fail
        from the ./configure step.

        Also, you may need to set SAGE_LOCAL to some useable directory
        on your machine as in the configure below

        ./configure --prefix=SAGE_LOCAL

        I also forced installed python2 and python3

        Once you sort out what tools the make needs then rerun make.


        Sent from my iPad

        On Dec 18, 2018, at 11:15 AM, Mathieu Roux <mthr...@gmail.com
        <mailto:mthr...@gmail.com>> wrote:

        so what can i do?

        when i try to build sage from sources, i got this problem
        with ecl

        when i try apt-get install sagemath, i got

        ┌────────────────────────────────────────────────────────────────────┐
        │ SageMath version 8.1, Release Date:
        2017-12-07                     │
        │ Type "notebook()" for the browser-based notebook
        interface.        │
        │ Type "help()" for help. │
        └────────────────────────────────────────────────────────────────────┘
        Traceback (most recent call last):
           File "/usr/share/sagemath/bin/sage-ipython", line 7, in
        <module>
             from sage.repl.interpreter import SageTerminalApp
        ModuleNotFoundError: No module named 'sage'




        i am so disappointed :-(


        Le 18/12/2018 à 20:12, Dima Pasechnik a écrit :
        hmm, a segfault in ecl_min, that's not easy to understand
        what's going on :-(

        On Tue, Dec 18, 2018 at 5:16 PM Mathieu Roux
        <mthr...@gmail.com <mailto:mthr...@gmail.com>> wrote:
        here it is !

        Le mar. 18 déc. 2018 à 17:52, Dima Pasechnik
        <dimp...@gmail.com <mailto:dimp...@gmail.com>> a écrit :
        And what is in /home/m/sage-8.4/logs/pkgs/ecl-16.1.2.p5.log ?
        Could you post it here?
        On Tue, Dec 18, 2018 at 4:44 PM Mathieu Roux
        <mthr...@gmail.com <mailto:mthr...@gmail.com>> wrote:
        Good evening,
        So i have tried to build from sources (linux mint cinnamon).
        With make, after a great time of computation, i get:

        ***************************************************************
        Error building Sage.

        The following package(s) may have failed to build (not
        necessarily
        during this run of 'make all-start'):

        * package: ecl-16.1.2.p5
          log file: /home/m/sage-8.4/logs/pkgs/ecl-16.1.2.p5.log
          build directory:
        /home/m/sage-8.4/local/var/tmp/sage/build/ecl-16.1.2.p5

        The build directory may contain configuration files and
        other potentially
        helpful information. WARNING: if you now run 'make'
        again, the build
        directory will, by default, be deleted. Set the
        environment variable
        SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

        Makefile:31: recipe for target 'all-start' failed
        make[1]: *** [all-start] Error 1
        make[1]: Leaving directory '/home/m/sage-8.4'
        Makefile:13: recipe for target 'all' failed
        make: *** [all] Error 2


        Le mar. 18 déc. 2018 à 11:36, E. Madison Bray
        <erik.m.b...@gmail.com <mailto:erik.m.b...@gmail.com>> a
        écrit :
        On Mon, Dec 17, 2018 at 8:11 PM Mathieu Roux
        <mthr...@gmail.com <mailto:mthr...@gmail.com>> wrote:
        Good evening,

        I am trying to install sage on my computer.
        I am using Linux Mint Cinnamon.
        I wrote
        sudo apt-get install sagemath
        et
        sudo apt-get install sagemath-jupyter
        with no errors.
        But then, when i try    /usr/bin/sage, i get

        ┌────────────────────────────────────────────────────────────────────┐
        │ SageMath version 8.1, Release Date: 2017-12-07
                            │
        │ Type "notebook()" for the browser-based notebook
        interface.        │
        │ Type "help()" for help.
                                                   │
        └────────────────────────────────────────────────────────────────────┘
        Traceback (most recent call last):
          File "/usr/share/sagemath/bin/sage-ipython", line 7,
        in <module>
            from sage.repl.interpreter import SageTerminalApp
        ModuleNotFoundError: No module named 'sage'
        Try running just

        $ sage -python -c 'import sys; print(sys.path)'

        I bet something is messed up about your python path (or
        the package
        itself is broken somehow).

        --
        You received this message because you are subscribed to
        the Google Groups "sage-devel" group.
        To unsubscribe from this group and stop receiving emails
        from it, send an email to
        sage-devel+unsubscr...@googlegroups.com
        <mailto:sage-devel+unsubscr...@googlegroups.com>.
        To post to this group, send email to
        sage-devel@googlegroups.com
        <mailto:sage-devel@googlegroups.com>.
        Visit this group at
        https://groups.google.com/group/sage-devel.
        For more options, visit https://groups.google.com/d/optout.
        --
        You received this message because you are subscribed to
        the Google Groups "sage-devel" group.
        To unsubscribe from this group and stop receiving emails
        from it, send an email to
        sage-devel+unsubscr...@googlegroups.com
        <mailto:sage-devel+unsubscr...@googlegroups.com>.
        To post to this group, send email to
        sage-devel@googlegroups.com
        <mailto:sage-devel@googlegroups.com>.
        Visit this group at
        https://groups.google.com/group/sage-devel.
        For more options, visit https://groups.google.com/d/optout.
        --
        You received this message because you are subscribed to
        the Google Groups "sage-devel" group.
        To unsubscribe from this group and stop receiving emails
        from it, send an email to
        sage-devel+unsubscr...@googlegroups.com
        <mailto:sage-devel+unsubscr...@googlegroups.com>.
        To post to this group, send email to
        sage-devel@googlegroups.com
        <mailto:sage-devel@googlegroups.com>.
        Visit this group at
        https://groups.google.com/group/sage-devel.
        For more options, visit https://groups.google.com/d/optout.
        --
        You received this message because you are subscribed to the
        Google Groups "sage-devel" group.
        To unsubscribe from this group and stop receiving emails
        from it, send an email to
        sage-devel+unsubscr...@googlegroups.com
        <mailto:sage-devel+unsubscr...@googlegroups.com>.
        To post to this group, send email to
        sage-devel@googlegroups.com
        <mailto:sage-devel@googlegroups.com>.
        Visit this group at https://groups.google.com/group/sage-devel.
        For more options, visit https://groups.google.com/d/optout.

-- You received this message because you are subscribed to the
        Google Groups "sage-devel" group.
        To unsubscribe from this group and stop receiving emails from
        it, send an email to sage-devel+unsubscr...@googlegroups.com
        <mailto:sage-devel+unsubscr...@googlegroups.com>.
        To post to this group, send email to
        sage-devel@googlegroups.com <mailto:sage-devel@googlegroups.com>.
        Visit this group at https://groups.google.com/group/sage-devel.
        For more options, visit https://groups.google.com/d/optout.
-- You received this message because you are subscribed to the
        Google Groups "sage-devel" group.
        To unsubscribe from this group and stop receiving emails from
        it, send an email to sage-devel+unsubscr...@googlegroups.com
        <mailto:sage-devel+unsubscr...@googlegroups.com>.
        To post to this group, send email to
        sage-devel@googlegroups.com <mailto:sage-devel@googlegroups.com>.
        Visit this group at https://groups.google.com/group/sage-devel.
        For more options, visit https://groups.google.com/d/optout.

-- You received this message because you are subscribed to the Google
    Groups "sage-devel" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to sage-devel+unsubscr...@googlegroups.com
    <mailto:sage-devel+unsubscr...@googlegroups.com>.
    To post to this group, send email to sage-devel@googlegroups.com
    <mailto:sage-devel@googlegroups.com>.
    Visit this group at https://groups.google.com/group/sage-devel.
    For more options, visit https://groups.google.com/d/optout.



--
  .~.
  /V\ Jan Groenewald
 /( )\ www.aims.ac.za <http://www.aims.ac.za>
 ^^-^^
--
You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com <mailto:sage-devel+unsubscr...@googlegroups.com>. To post to this group, send email to sage-devel@googlegroups.com <mailto:sage-devel@googlegroups.com>.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to