I get Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all-start'):
* package: gsl-2.5 log file: /usr/local/src/Misc/sage-8.6/logs/pkgs/gsl-2.5.log build directory: /usr/local/src/Misc/sage-8.6/local/var/tmp/sage/build/gsl-2.5 In the build dir, *config.log* contains configure:3498: gcc-6 -g -O2 -L/usr/local/src/Misc/sage-8.6/local/lib -Wl,-rpath,/usr/local/src/Misc/sage-8.6/local/lib conftest.c -lopenblas -lm >&5 ld: warning: libgfortran.so.3, needed by /usr/local/src/Misc/sage-8.6/local/lib/libopenblas.so, not found (try using -rpath or -rpath-link) ld: /usr/local/src/Misc/sage-8.6/local/lib/libopenblas.so: undefined reference to `_gfortran_etime@GFORTRAN_1.0' ld: /usr/local/src/Misc/sage-8.6/local/lib/libopenblas.so: undefined reference to `_gfortran_concat_string@GFORTRAN_1.0' which is hinting that it didn't get the word: >>> */usr/bin/gcc-6 -print-libgcc-file-name* /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1/libgcc.a which is where is located /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1/libgfortran.so.3 So do I do -rpath to /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1/ ?? Where does it go in env? Please help again? -- 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 gsl-2.5 Using cached file /usr/local/src/Misc/sage-8.6/upstream/gsl-2.5.tar.gz gsl-2.5 ==================================================== Setting up build directory for gsl-2.5 Finished extraction Applying patches from ../patches... Applying ../patches/gsl-2.1-gslcblas.patch patching file gsl.pc.in **************************************************** Host system: Linux Light1DAW 4.20.3-arch1-1-ARCH #1 SMP PREEMPT Wed Jan 16 22:38:58 UTC 2019 x86_64 GNU/Linux **************************************************** C compiler: gcc-6 C compiler version: Using built-in specs. COLLECT_GCC=gcc-6 COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /tmp/yaourt-tmp-isaac/aur-gcc6-gcj/src/gcc/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++,fortran,lto,java --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 --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release --enable-java-awt=gtk --with-java-home= --enable-libgcj-multifile --enable-default-pie --enable-default-ssp --enable-version-specific-runtime-libs --program-suffix=-6 --build=x86_64-pc-linux-gnu Thread model: posix gcc version 6.4.1 20180809 (GCC) **************************************************** No record that 'gsl' was ever installed; skipping uninstall Configuring gsl-2.5 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for a sed that does not truncate output... /usr/bin/sed checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc-6 checking whether the C compiler works... no configure: error: in `/usr/local/src/Misc/sage-8.6/local/var/tmp/sage/build/gsl-2.5/src': configure: error: C compiler cannot create executables See `config.log' for more details ******************************************************************************** Error configuring gsl-2.5 See the file /usr/local/src/Misc/sage-8.6/local/var/tmp/sage/build/gsl-2.5/src/config.log for details. ******************************************************************************** real 0m0.838s user 0m0.566s sys 0m0.257s ************************************************************************ Error installing package gsl-2.5 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /usr/local/src/Misc/sage-8.6/logs/pkgs/gsl-2.5.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /usr/local/src/Misc/sage-8.6/local/var/tmp/sage/build/gsl-2.5 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 '/usr/local/src/Misc/sage-8.6/local/var/tmp/sage/build/gsl-2.5' && '/usr/local/src/Misc/sage-8.6/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by gsl configure 2.5, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --prefix=/usr/local/src/Misc/sage-8.6/local --libdir=/usr/local/src/Misc/sage-8.6/local/lib LIBS=-lopenblas -lm ## --------- ## ## Platform. ## ## --------- ## hostname = Light1DAW uname -m = x86_64 uname -r = 4.20.3-arch1-1-ARCH uname -s = Linux uname -v = #1 SMP PREEMPT Wed Jan 16 22:38:58 UTC 2019 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/src/Misc/sage-8.6/build/bin PATH: /usr/local/src/Misc/sage-8.6/src/bin PATH: /usr/local/src/Misc/sage-8.6/local/bin PATH: /usr/local/src/Misc/sage-8.6/build/bin PATH: /usr/local/src/Misc/sage-8.6/src/bin PATH: /usr/local/src/Misc/sage-8.6/local/bin PATH: /opt/jython/bin/ PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/bin PATH: /opt/adobe-air-sdk/bin PATH: /usr/share/backuppc/bin PATH: /usr/lib/jvm/default/bin PATH: /usr/bin/site_perl PATH: /usr/bin/vendor_perl PATH: /usr/bin/core_perl PATH: /home/isaac/.rvm/bin PATH: /home/isaac/Downloads/MailNews2/Chromium/depot_tools PATH: /home/isaac/.gem/ruby/2.5.0/bin PATH: /home/isaac/.rvm/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2377: checking for a BSD-compatible install configure:2445: result: /usr/bin/install -c configure:2456: checking whether build environment is sane configure:2511: result: yes configure:2660: checking for a thread-safe mkdir -p configure:2699: result: /usr/bin/mkdir -p configure:2706: checking for gawk configure:2722: found /usr/bin/gawk configure:2733: result: gawk configure:2744: checking whether make sets $(MAKE) configure:2766: result: yes configure:2795: checking whether make supports nested variables configure:2812: result: yes configure:2899: checking whether to enable maintainer-specific portions of Makefiles configure:2908: result: no configure:2946: checking for a sed that does not truncate output configure:3010: result: /usr/bin/sed configure:3022: checking whether make sets $(MAKE) configure:3044: result: yes configure:3058: checking build system type configure:3072: result: x86_64-unknown-linux-gnu configure:3092: checking host system type configure:3105: result: x86_64-unknown-linux-gnu configure:3180: checking for gcc configure:3207: result: gcc-6 configure:3436: checking for C compiler version configure:3445: gcc-6 --version >&5 gcc-6 (GCC) 6.4.1 20180809 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3456: $? = 0 configure:3445: gcc-6 -v >&5 Using built-in specs. COLLECT_GCC=gcc-6 COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /tmp/yaourt-tmp-isaac/aur-gcc6-gcj/src/gcc/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++,fortran,lto,java --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 --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release --enable-java-awt=gtk --with-java-home= --enable-libgcj-multifile --enable-default-pie --enable-default-ssp --enable-version-specific-runtime-libs --program-suffix=-6 --build=x86_64-pc-linux-gnu Thread model: posix gcc version 6.4.1 20180809 (GCC) configure:3456: $? = 0 configure:3445: gcc-6 -V >&5 gcc-6: error: unrecognized command line option '-V' gcc-6: fatal error: no input files compilation terminated. configure:3456: $? = 1 configure:3445: gcc-6 -qversion >&5 gcc-6: error: unrecognized command line option '-qversion'; did you mean '--version'? gcc-6: fatal error: no input files compilation terminated. configure:3456: $? = 1 configure:3476: checking whether the C compiler works configure:3498: gcc-6 -g -O2 -L/usr/local/src/Misc/sage-8.6/local/lib -Wl,-rpath,/usr/local/src/Misc/sage-8.6/local/lib conftest.c -lopenblas -lm >&5 ld: warning: libgfortran.so.3, needed by /usr/local/src/Misc/sage-8.6/local/lib/libopenblas.so, not found (try using -rpath or -rpath-link) ld: /usr/local/src/Misc/sage-8.6/local/lib/libopenblas.so: undefined reference to `_gfortran_etime@GFORTRAN_1.0' ld: /usr/local/src/Misc/sage-8.6/local/lib/libopenblas.so: undefined reference to `_gfortran_concat_string@GFORTRAN_1.0' configure:3502: $? = 1 configure:3540: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gsl" | #define PACKAGE_TARNAME "gsl" | #define PACKAGE_VERSION "2.5" | #define PACKAGE_STRING "gsl 2.5" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gsl" | #define VERSION "2.5" | #define RELEASED /**/ | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3545: error: in `/usr/local/src/Misc/sage-8.6/local/var/tmp/sage/build/gsl-2.5/src': configure:3547: error: C compiler cannot create executables See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-unknown-linux-gnu ac_cv_env_CC_set=set ac_cv_env_CC_value=gcc-6 ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-g -O2 ' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-L/usr/local/src/Misc/sage-8.6/local/lib -Wl,-rpath,/usr/local/src/Misc/sage-8.6/local/lib ' ac_cv_env_LIBS_set=set ac_cv_env_LIBS_value='-lopenblas -lm' ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=x86_64-unknown-linux-gnu ac_cv_path_SED=/usr/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_ac_ct_CC=gcc-6 ac_cv_prog_make_make_set=yes am_cv_make_support_nested_variables=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /usr/local/src/Misc/sage-8.6/local/var/tmp/sage/build/gsl-2.5/src/missing aclocal-1.13' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='ar' AS='as' AUTOCONF='${SHELL} /usr/local/src/Misc/sage-8.6/local/var/tmp/sage/build/gsl-2.5/src/missing autoconf' AUTOHEADER='${SHELL} /usr/local/src/Misc/sage-8.6/local/var/tmp/sage/build/gsl-2.5/src/missing autoheader' AUTOMAKE='${SHELL} /usr/local/src/Misc/sage-8.6/local/var/tmp/sage/build/gsl-2.5/src/missing automake-1.13' AWK='gawk' CC='gcc-6' CCDEPMODE='' CFLAGS='-g -O2 ' CPP='' CPPFLAGS='' CYGPATH_W='echo' DEFS='' DEPDIR='' DLLTOOL='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' FGREP='' GREP='' GSLCBLAS_LDFLAGS='' GSL_CFLAGS='' GSL_LDFLAGS='' GSL_LIBADD='' GSL_LIBM='' GSL_LIBS='' GSL_LT_CBLAS_VERSION='0:0:0' GSL_LT_VERSION='24:0:1' GSL_MAJOR_VERSION='2' GSL_MINOR_VERSION='5' HAVE_AIX_IEEE_INTERFACE='' HAVE_DARWIN86_IEEE_INTERFACE='' HAVE_DARWIN_IEEE_INTERFACE='' HAVE_FREEBSD_IEEE_INTERFACE='' HAVE_GNUM68K_IEEE_INTERFACE='' HAVE_GNUPPC_IEEE_INTERFACE='' HAVE_GNUSPARC_IEEE_INTERFACE='' HAVE_GNUX86_IEEE_INTERFACE='' HAVE_HPUX11_IEEE_INTERFACE='' HAVE_HPUX_IEEE_INTERFACE='' HAVE_IRIX_IEEE_INTERFACE='' HAVE_NETBSD_IEEE_INTERFACE='' HAVE_OPENBSD_IEEE_INTERFACE='' HAVE_OS2EMX_IEEE_INTERFACE='' HAVE_SOLARIS_IEEE_INTERFACE='' HAVE_SUNOS4_IEEE_INTERFACE='' HAVE_TRU64_IEEE_INTERFACE='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='ld' LDFLAGS='-L/usr/local/src/Misc/sage-8.6/local/lib -Wl,-rpath,/usr/local/src/Misc/sage-8.6/local/lib ' LIBM='' LIBOBJS='' LIBS='-lopenblas -lm' LIBTOOL='' LIPO='' LN_S='' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /usr/local/src/Misc/sage-8.6/local/var/tmp/sage/build/gsl-2.5/src/missing makeinfo' MANIFEST_TOOL='' MKDIR_P='/usr/bin/mkdir -p' NM='' NMEDIT='' OBJDUMP='' OBJEXT='' OTOOL64='' OTOOL='' PACKAGE='gsl' PACKAGE_BUGREPORT='' PACKAGE_NAME='gsl' PACKAGE_STRING='gsl 2.5' PACKAGE_TARNAME='gsl' PACKAGE_URL='' PACKAGE_VERSION='2.5' PATH_SEPARATOR=':' RANLIB='ranlib' SED='/usr/bin/sed' SET_MAKE='' SHELL='/usr/bin/bash' STRIP='' VERSION='2.5' ac_ct_AR='' ac_ct_CC='gcc-6' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__include='' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='x86_64-unknown-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /usr/local/src/Misc/sage-8.6/local/var/tmp/sage/build/gsl-2.5/src/install-sh' libdir='/usr/local/src/Misc/sage-8.6/local/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local/src/Misc/sage-8.6/local' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "gsl" #define PACKAGE_TARNAME "gsl" #define PACKAGE_VERSION "2.5" #define PACKAGE_STRING "gsl 2.5" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "gsl" #define VERSION "2.5" #define RELEASED /**/ configure: exit 77
