On Wednesday, 20 July 2016 22:42:57 UTC+10, Paul Leopardi wrote: > I checked python2-2.7.10.p1.log and discovered a problem: I had DESTDIR > set to "/home/leopardi/usr/local". As a result, there were lines like: > > (cd > /home/leopardi/usr/local/home/leopardi/sync/src-downloaded/sage/sage-7.2/local/bin; > ln -s python2 python) > rm -f > /home/leopardi/usr/local/home/leopardi/sync/src-downloaded/sage/sage-7.2/local/bin/python2 > > etc. > > I am trying the build again with export DESTDIR="". >
The build now gets much further and fails in brial-0.8.4.3. See the attached log file. checking whether /home/leopardi/sync/src-downloaded/sage/sage-7.2/local/var/lib/sage/installed/python2-2.7.10.p1 version is >= 2.7... no configure: error: Python interpreter is too old Error configuring BRiAl real 0m5.036s user 0m0.912s sys 0m0.236s ************************************************************************ Error installing package brial-0.8.4.3 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the relevant part of the log file /home/leopardi/sync/src-downloaded/sage/sage-7.2/logs/pkgs/brial-0.8.4.3.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/leopardi/sync/src-downloaded/sage/sage-7.2/local/var/tmp/sage/build/brial-0.8.4.3 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/leopardi/sync/src-downloaded/sage/sage-7.2/local/var/tmp/sage/build/brial-0.8.4.3' && '/home/leopardi/sync/src-downloaded/sage/sage-7.2/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ Makefile:1148: recipe for target '/home/leopardi/sync/src-downloaded/sage/sage-7.2/local/var/lib/sage/installed/brial-0.8.4.3' failed make[2]: *** [/home/leopardi/sync/src-downloaded/sage/sage-7.2/local/var/lib/sage/installed/brial-0.8.4.3] Error 1 make[2]: Leaving directory '/home/leopardi/sync/src-downloaded/sage/sage-7.2/build/make' Makefile:826: recipe for target 'all' failed make[1]: *** [all] Error 2 -- You received this message because you are subscribed to the Google Groups "sage-support" 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-support. For more options, visit https://groups.google.com/d/optout.
Found local metadata for brial-0.8.4.3 Using cached file /home/leopardi/sync/src-downloaded/sage/sage-7.2/upstream/brial-0.8.4.3.tar.bz2 brial-0.8.4.3 ==================================================== Setting up build directory for brial-0.8.4.3 Finished set up **************************************************** Host system: Linux catawba 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.1' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.1) **************************************************** Cleaning out old PolyBoRi and BRiAl installations patching file Cudd/cudd/Makefile.in patching file common.mk patching file groebner/src/Makefile.in patching file libpolybori/src/Makefile.in patching file Makefile.am patching file Makefile.in patching file groebner/src/Makefile.am patching file groebner/src/Makefile.in checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '1000' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking the archiver (ar) interface... ar checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... ld checking if the linker (ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... ld -m elf_x86_64 checking if the linker (ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether /home/leopardi/sync/src-downloaded/sage/sage-7.2/local/var/lib/sage/installed/python2-2.7.10.p1 version is >= 2.7... no configure: error: Python interpreter is too old Error configuring BRiAl real 0m5.036s user 0m0.912s sys 0m0.236s ************************************************************************ Error installing package brial-0.8.4.3 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the relevant part of the log file /home/leopardi/sync/src-downloaded/sage/sage-7.2/logs/pkgs/brial-0.8.4.3.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/leopardi/sync/src-downloaded/sage/sage-7.2/local/var/tmp/sage/build/brial-0.8.4.3 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/leopardi/sync/src-downloaded/sage/sage-7.2/local/var/tmp/sage/build/brial-0.8.4.3' && '/home/leopardi/sync/src-downloaded/sage/sage-7.2/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************
