I get the following error when trying to compile sage with gcc 5.2. I believe it is the same as the ticket here http://trac.sagemath.org/ticket/18977#no1. I am running Manjaro linux.
************************************************************************************************************************************************ Error installing package ncurses-5.9.20131221 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the relevant part of the log file /home/tom/sage/logs/pkgs/ncurses-5.9.20131221.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/tom/sage/local/var/tmp/sage/build/ncurses-5.9.20131221 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/home/tom/sage/local/var/tmp/sage/build/ncurses-5.9.20131221' && '/home/tom/sage/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ Makefile:1249: recipe for target '/home/tom/sage/local/var/lib/sage/installed/ncurses-5.9.20131221' failed make[2]: *** [/home/tom/sage/local/var/lib/sage/installed/ncurses-5.9.20131221] Error 1 make[2]: Leaving directory '/home/tom/sage/build/make' Makefile:560: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/tom/sage/build/make' real 24m8.450s user 18m56.620s sys 1m4.213s *************************************************************** Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all'): * package: ncurses-5.9.20131221 log file: /home/tom/sage/logs/pkgs/ncurses-5.9.20131221.log build directory: /home/tom/sage/local/var/tmp/sage/build/ncurses-5.9.20131221 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:16: recipe for target 'all' failed make: *** [all] Error 1 ************************************************************************************************************************************************ >From the log file [tom@manjaro sage]$ more /home/tom/sage/logs/pkgs/ncurses-5.9.20131221.log | grep error Configured with: /build/gcc/src/gcc-5.2.0/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release --with-default-libstdcxx-abi=gcc4-compatible gcc -DHAVE_CONFIG_H -I../ncurses -I../../ncurses -I. -I../include -I../../ncurses/../include -I/home/tom/sage/local/include -D_GNU_SOURCE -DNDEBUG -O2 --param max-inline-insns-single=1200 -fPIC -DUSE_TERMLIB -c ../../ncurses/tinfo/comp_error.c -o ../obj_s/comp_error.o gcc -O2 --param max-inline-insns-single=1200 -shared -Wl,-soname,`basename ../lib/libtinfo.so.5.9 .5.9`.5,-stats,-lc -o ../lib/libtinfo.so.5.9 ../obj_s/access.o ../obj_s/add_tries.o ../obj_s/alloc_ttype.o ../obj_s/codes.o ../obj_s/comp_captab.o ../obj_s/comp_error.o ../obj_s/comp_hash.o ../obj_s/db_iterator.o ../obj_s/doalloc.o ../obj_s/entries.o ../obj_s/fallback.o ../obj_s/free_ttype.o ../obj_s/getenv_num.o ../obj_s/home_terminfo.o ../obj_s/init_keytry.o ../obj_s/lib_acs.o ../obj_s/lib_baudrate.o ../obj_s/lib_cur_term.o ../obj_s/lib_data.o ../obj_s/lib_has_cap.o ../obj_s/lib_kernel.o ../obj_s/lib_keyname.o ../obj_s/lib_longname.o ../obj_s/lib_napms.o ../obj_s/lib_options.o ../obj_s/lib_raw.o ../obj_s/lib_setup.o ../obj_s/lib_termcap.o ../obj_s/lib_termname.o ../obj_s/lib_tgoto.o ../obj_s/lib_ti.o ../obj_s/lib_tparm.o ../obj_s/lib_tputs.o ../obj_s/lib_trace.o ../obj_s/lib_ttyflags.o ../obj_s/lib_twait.o ../obj_s/name_match.o ../obj_s/names.o ../obj_s/obsolete.o ../obj_s/read_entry.o ../obj_s/read_termcap.o ../obj_s/strings.o ../obj_s/tries.o ../obj_s/trim_sgr0.o ../obj_s/unctrl.o ../obj_s/visbuf.o ../obj_s/alloc_entry.o ../obj_s/captoinfo.o ../obj_s/comp_expand.o ../obj_s/comp_parse.o ../obj_s/comp_scan.o ../obj_s/parse_entry.o ../obj_s/write_entry.o ../obj_s/define_key.o ../obj_s/hashed_db.o ../obj_s/key_defined.o ../obj_s/keybound.o ../obj_s/keyok.o ../obj_s/version.o -L../lib _27867.c:837:15: error: expected ')' before 'int' correctly and load a subshell for you to debug the error: I have attached the entire log file incase I have missed something important. -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
ncurses-5.9.20131221.log
Description: Binary data