It could also be that instead of using the source distribution to
build sage, you instead try to use a binary tarball.
You need to get the source tarball here:
http://www.sagemath.org/download-source.html (or use git and clone
from
https://github.com/sagemath/sage

On Sun, Mar 10, 2019 at 9:27 AM Ai Bo <[email protected]> wrote:
>
> Error message:
> ** I masked the paths.
>
> [patch-2.7.5] Target: x86_64-suse-linux
> [patch-2.7.5] Configured with: ./configure --prefix=/xxxs/gcc/4.7.2 
> --libdir=/xxx/gcc/4.7.2/lib64 --libexecdir=/xxx/gcc/4.7.2/libexec 
> --bindir=/xxx/gcc/4.7.2/bin --with-ppl=/xxx/gcc/4.7.2 
> --enable-cloog-backend=ppl --with-cloog=/xxx/gcc/4.7.2 
> --with-libelf=/xxx/gcc/4.7.2 --with-mpfr=/xxx/gcc/4.7.2 
> --with-gmp=/xxx/gcc/4.7.2 --with-mpc=/xxx/gcc/4.7.2 --enable-lto 
> --enable-languages=c,c++,objc,fortran,java --build=x86_64-suse-linux 
> --host=x86_64-suse-linux --target=x86_64-suse-linux
> [patch-2.7.5] Thread model: posix
> [patch-2.7.5] gcc version 4.7.2 (GCC)
> [patch-2.7.5] ****************************************************
> [patch-2.7.5] No record that 'patch' was ever installed; skipping uninstall
> [patch-2.7.5] /yyy/Sage/sage-8.6/src/bin/sage-dist-helpers: line 210: syntax 
> error near unexpected token `"$1"'
> [patch-2.7.5] /yyy/Sage/sage-8.6/src/bin/sage-dist-helpers: line 210: `       
>  src+=("$1")'
> [patch-2.7.5] Error: failed to source sage-dist-helpers
> [patch-2.7.5] Is /yyy/Sage/sage-8.6 the correct SAGE_ROOT?
> [patch-2.7.5]
> [patch-2.7.5] real      0m0.008s
> [patch-2.7.5] user      0m0.000s
> [patch-2.7.5] sys       0m0.004s
> [patch-2.7.5] 
> ************************************************************************
> [patch-2.7.5] Error installing package patch-2.7.5
> [patch-2.7.5] 
> ************************************************************************
>
>
> Here is part of the config.log file:
>
> configure:4207: gcc -V >&5
> gcc: error: unrecognized command line option '-V'
> gcc: fatal error: no input files
> compilation terminated.
> configure:4218: $? = 1
> configure:4207: gcc -qversion >&5
>
> configure:4983: gcc -E  conftest.c
> conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
>  #include <ac_nonexistent.h>
>           ^~~~~~~~~~~~~~~~~~
> compilation terminated.
>
> I switched to GCC 7.2, got same error.
>
> Please help.
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> 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 [email protected].
To post to this group, send email to [email protected].
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