OS info: more /etc/os-release NAME="SLES" VERSION="11.4" VERSION_ID="11.4" PRETTY_NAME="SUSE Linux Enterprise Server 11 SP4" ID="sles" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:suse:sles:11:4"
On Sunday, March 10, 2019 at 8:11:39 PM UTC-7, Ai Bo wrote: > > I used source code, not binary. Yes, from the tarball. > I tried with "gcc version 7.2.0 (GCC)" and got same error message. > I am actually using csh, not bash. > OS info: > uname -m = x86_64 > uname -r = 3.0.101-108.13.1.14249.0.PTF-default > uname -s = Linux > > > I did run configure before running make. > There are some errors in the config.log file though the final line shows > it passed. > #define HAVE_MEMORY_H 1 > #define HAVE_STRINGS_H 1 > #define HAVE_INTTYPES_H 1 > #define HAVE_STDINT_H 1 > #define HAVE_UNISTD_H 1 > #define HAVE_LIBM 1 > #define HAVE_CXX11 1 > #define HAVE_ZMQ /**/ > > configure: exit 0 > > Some errors in the config.log file: > > Thread model: posix > gcc version 7.2.0 (GCC) > configure:4218: $? = 0 > 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 > gcc: error: unrecognized command line option '-qversion'; did you mean > '--version'? > gcc: fatal error: no input files > compilation terminated. > > > > On Sunday, March 10, 2019 at 4:06:43 AM UTC-7, Dima Pasechnik wrote: >> >> 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 <boai...@gmail.com> 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 sage-devel+...@googlegroups.com. >> > To post to this group, send email to sage-...@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.