you probably didn't update sage for a while there. make distclean ?

On Monday, February 26, 2018 at 10:12:31 AM UTC, mforets wrote:
>
> Hello,
> In a Mac OSX 10.11.6 with Xcode 8.2.1, compiling sage 8.2.beta6 from 
> sources i get the error message below:
>
> $ make
> /Applications/Xcode.app/Contents/Developer/usr/bin/make 
> build/make/Makefile --stop
> ./bootstrap -d
> rm -rf config configure build/make/Makefile-auto.in
> configure.ac:390: installing 'config/compile'
> configure.ac:105: installing 'config/config.guess'
> configure.ac:105: installing 'config/config.sub'
> configure.ac:68: installing 'config/install-sh'
> configure.ac:68: installing 'config/missing'
> rm -f config.log
> mkdir -p logs/pkgs
> ln -s logs/pkgs/config.log config.log
> running CONFIG_SHELL=/bin/sh /bin/sh ./configure --no-create --no-recursion
> checking for a BSD-compatible install... 
> /usr/local/opt/coreutils/libexec/gnubin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... 
> /usr/local/opt/coreutils/libexec/gnubin/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... yes
> checking for root user... no
> checking build system type... x86_64-apple-darwin15.6.0
> checking host system type... x86_64-apple-darwin15.6.0
> checking for ar... yes
> checking for m4... yes
> checking for ranlib... yes
> checking for strip... yes
> checking for GNU or BSD tar... /usr/bin/tar
> checking for GNU make... /usr/bin/make
> checking for latex... yes
> checking for perl... /usr/bin/perl
> checking for Perl version 5.8.0 or later... yes
> checking for git... /usr/bin/git
> checking for yasm... no
> dyld: Library not loaded: /usr/local/opt/mpfr/lib/libmpfr.4.dylib
>   Referenced from: /usr/local/bin/awk
>   Reason: image not found
> local/bin/sage-env: line 339: [: -ge: unary operator expected
> <built-in>: error: unknown value '10.-4' of -mmacosx-version-min
> conftest.cpp:2:6: error: 'inf' does not name a type
>  auto inf = 1.0 / std::complex<double>();
>       ^
> configure: Installing GCC because installed g++ is broken
> 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... none
> checking how to run the C preprocessor... gcc -E
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... none
> checking for gfortran... gfortran
> checking whether we are using the GNU Fortran compiler... yes
> checking whether gfortran accepts -g... yes
> checking for C compiler vendor... clang
> checking for gcc... gcc
> checking whether we are using the GNU Objective C compiler... yes
> checking whether gcc accepts -g... yes
> checking dependency style of gcc... none
> checking for g++... g++
> checking whether we are using the GNU Objective C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... none
> checking for curl 7.22... /usr/bin/curl
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -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 curl/curl.h usability... yes
> checking curl/curl.h presence... yes
> checking for curl/curl.h... yes
> checking how to run the C++ preprocessor... g++ -E
> checking complex.h usability... yes
> checking complex.h presence... yes
> checking for complex.h... yes
> checking whether g++ supports C++11 features by default... no
> checking whether g++ supports C++11 features with -std=gnu++11... yes
> checking for gcc option to accept ISO C99... none needed
> checking for Fortran flag needed to accept free-form source... -ffree-form
> checking for sqrt in -lm... yes
> ***************************************************
> ***************************************************
> You are using OS X Lion (or later).
> You are strongly advised to install Apple's latest Xcode
> unless you already have it. You can install this using
> the App Store. Also, make sure you install Xcode's
> Command Line Tools -- see Sage's README.txt.
> configure: error: "found MacPorts in /opt/local/bin/port. Either:
> (1) rename /opt/local and /sw, or
> (2) change PATH and DYLD_LIBRARY_PATH
> (Once Sage is built, you can restore them.)
> If you would like to try to build Sage anyway (to help porting),
> export the variable 'SAGE_PORT' to something non-empty.
> make[1]: *** [build/make/Makefile] Error 1
> make: *** [all] Error 2
>
> I didn't really understand option (1) -- rename it to anything? Other 
> things won't break?
>
> For (2), the environment variables are:
>
> $ echo $DYLD_LIBRARY_PATH
> /Users/forets/Tools/spaceex_src/sspaceex_local/lib/
>
> $ echo $PATH
>
> /opt/local/bin:/opt/local/sbin:/Users/forets/Library/Python/2.7/bin/:/Users/forets/.rbenv/shims:/Applications/usr/bin:/Applications/Julia-0.6.app/Contents/Resources/julia/bin/:/Users/forets/Projects/OCRG/ocrg_git/:/Users/forets/Tools/spaceex_src/sspaceex/Release:/Applications/MATLAB_R2016a.app/bin:~/Tools/sage-master:/Library/Frameworks/Python.framework/Versions/3.5/bin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/bin:/usr/local/bin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin
>
> I tried to $ unset DYLD_LIBRARY_PATH , and to $ export PATH= ....   
> (removing the paths /opt/local/bin and /opt/local/sbin). After these 
> changes, now i get:
>
> $ make
> /Applications/Xcode.app/Contents/Developer/usr/bin/make 
> build/make/Makefile --stop
> make[1]: `build/make/Makefile' is up to date.
> build/bin/sage-logger \
>         "cd build/make && ./install 'all'" logs/install.log
> *** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
> Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.B1SYzE4DrX/Render
> CARLIN_REACH_ROOT=/Users/forets/Projects/nliftZonotopes
> CONFIGURED_CC=gcc
> CONFIGURED_CXX=g++
> CONFIGURED_FC=gfortran
> CONFIGURED_OBJC=@OBJ@
> CONFIGURED_OBJCXX=g++
> CORA_ROOT=/Users/forets/Tools/CORA_2016_orig
> DISPLAY=/private/tmp/com.apple.launchd.vkRKLUhZIY/org.macosforge.xquartz:0
> DYLD_LIBRARY_PATH=/Users/forets/Tools/spaceex_src/sspaceex_local/lib/
> GRB_LICENSE_FILE=/Users/forets/gurobi.lic
> HOME=/Users/forets
> LC_ALL=en_US.UTF-8
> LC_CTYPE=UTF-8
> LOGNAME=forets
> MAKE=make
> MAKEFLAGS= V=1
> MAKELEVEL=1
> MANPATH=/opt/local/share/man:
> MFLAGS=
>
> PATH=/Users/forets/sage-src/sage/build/bin:/Users/forets/sage-src/sage/src/bin:/Users/forets/sage-src/sage/local/bin:/Users/forets/Library/Python/2.7/bin/:/Users/forets/.rbenv/shims:/Applications/usr/bin:/Applications/Julia-0.6.app/Contents/Resources/julia/bin/:/Users/forets/Projects/OCRG/ocrg_git/:/Users/forets/Tools/spaceex_src/sspaceex/Release:/Applications/MATLAB_R2016a.app/bin:/Users/forets/Tools/sage-master:/Library/Frameworks/Python.framework/Versions/3.5/bin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/bin:/usr/local/bin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin
> PWD=/Users/forets/sage-src/sage/build/make
> PYTHONPATH=/Users/forets/sage-src/sage/local
> RBENV_SHELL=bash
> SAGE_EXTCODE=/Users/forets/sage-src/sage/local/share/sage/ext
> SAGE_LOCAL=/Users/forets/sage-src/sage/local
> SAGE_LOGS=/Users/forets/sage-src/sage/logs/pkgs
>
> SAGE_ORIG_PATH=/Users/forets/Library/Python/2.7/bin/:/Users/forets/.rbenv/shims:/Applications/usr/bin:/Applications/Julia-0.6.app/Contents/Resources/julia/bin/:/Users/forets/Projects/OCRG/ocrg_git/:/Users/forets/Tools/spaceex_src/sspaceex/Release:/Applications/MATLAB_R2016a.app/bin:/Users/forets/Tools/sage-master:/Library/Frameworks/Python.framework/Versions/3.5/bin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/bin:/usr/local/bin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin
> SAGE_ORIG_PATH_SET=True
> SAGE_ROOT=/Users/forets/sage-src/sage
> SAGE_SHARE=/Users/forets/sage-src/sage/local/share
> SAGE_SPKG_INST=/Users/forets/sage-src/sage/local/var/lib/sage/installed
> SAGE_SRC=/Users/forets/sage-src/sage/src
> SAGE_VERSION=8.2.beta6
> SHELL=/bin/bash
> SHLVL=4
> SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.XbkLnbFxaK/Listeners
> TERM=xterm-256color
> TERM_PROGRAM=Apple_Terminal
> TERM_PROGRAM_VERSION=361.1
> TERM_SESSION_ID=50346A6E-89DE-4F83-8F59-4FB8BCB22954
> TMPDIR=/var/folders/b_/qy7kpq613ld0g06jy9g16hz00000gp/T/
> USER=forets
> XPC_FLAGS=0x0
> XPC_SERVICE_NAME=0
> _=/usr/local/opt/coreutils/libexec/gnubin/env
> __CF_USER_TEXT_ENCODING=0x1F6:0x0:0x0
> ***********************************************
> make base
> sage-logger -p 'sage-spkg pkgconf-0.9.7.p0' 
> '/Users/forets/sage-src/sage/logs/pkgs/pkgconf-0.9.7.p0.log'
> [pkgconf-0.9.7.p0] dyld: Library not loaded: 
> /usr/local/opt/mpfr/lib/libmpfr.4.dylib
> [pkgconf-0.9.7.p0]   Referenced from: /usr/local/bin/awk
> [pkgconf-0.9.7.p0]   Reason: image not found
> [pkgconf-0.9.7.p0] /Users/forets/sage-src/sage/src/bin/sage-env: line 339: 
> [: -ge: unary operator expected
> [pkgconf-0.9.7.p0] Found local metadata for pkgconf-0.9.7.p0
> [pkgconf-0.9.7.p0] Using cached file 
> /Users/forets/sage-src/sage/upstream/pkgconf-0.9.7.tar.gz
> [pkgconf-0.9.7.p0] pkgconf-0.9.7.p0
> [pkgconf-0.9.7.p0] ====================================================
> [pkgconf-0.9.7.p0] Setting up build directory for pkgconf-0.9.7.p0
> [pkgconf-0.9.7.p0] Finished extraction
> [pkgconf-0.9.7.p0] No patch files found in ../patches
> [pkgconf-0.9.7.p0] ****************************************************
> [pkgconf-0.9.7.p0] Host system:
> [pkgconf-0.9.7.p0] Darwin Verimags-MacBook-Pro.local 15.6.0 Darwin Kernel 
> Version 15.6.0: Wed Nov  2 20:30:56 PDT 2016; 
> root:xnu-3248.60.11.1.2~2/RELEASE_X86_64 x86_64 i386 MacBookPro11,4 Darwin
> [pkgconf-0.9.7.p0] ****************************************************
> [pkgconf-0.9.7.p0] C compiler: gcc
> [pkgconf-0.9.7.p0] C compiler version:
> [pkgconf-0.9.7.p0] Using built-in specs.
> [pkgconf-0.9.7.p0] COLLECT_GCC=gcc
> [pkgconf-0.9.7.p0] 
> COLLECT_LTO_WRAPPER=/Users/forets/sage-src/sage/local/libexec/gcc/x86_64-apple-darwin15.6.0/5.4.0/lto-wrapper
> [pkgconf-0.9.7.p0] Target: x86_64-apple-darwin15.6.0
> [pkgconf-0.9.7.p0] Configured with: ../src/configure 
> --prefix=/Users/forets/sage-src/sage/local 
> --with-local-prefix=/Users/forets/sage-src/sage/local 
> --with-gmp=/Users/forets/sage-src/sage/local 
> --with-mpfr=/Users/forets/sage-src/sage/local 
> --with-mpc=/Users/forets/sage-src/sage/local --with-system-zlib 
> --disable-multilib --disable-nls --enable-languages=c,c++,fortran 
> --disable-libitm --with-build-config=bootstrap-debug --without-isl 
> --without-cloog  
> [pkgconf-0.9.7.p0] Thread model: posix
> [pkgconf-0.9.7.p0] gcc version 5.4.0 (GCC) 
> [pkgconf-0.9.7.p0] ****************************************************
> [pkgconf-0.9.7.p0] Configuring pkgconf-0.9.7.p0
> [pkgconf-0.9.7.p0] checking for gcc... gcc
> [pkgconf-0.9.7.p0] checking whether the C compiler works... no
> [pkgconf-0.9.7.p0] configure: error: in 
> `/Users/forets/sage-src/sage/local/var/tmp/sage/build/pkgconf-0.9.7.p0/src':
> [pkgconf-0.9.7.p0] configure: error: C compiler cannot create executables
> [pkgconf-0.9.7.p0] See `config.log' for more details
> [pkgconf-0.9.7.p0] 
> ********************************************************************************
> [pkgconf-0.9.7.p0] Error configuring pkgconf-0.9.7.p0
> [pkgconf-0.9.7.p0] 
> ********************************************************************************
> [pkgconf-0.9.7.p0] 
> [pkgconf-0.9.7.p0] real    0m0.298s
> [pkgconf-0.9.7.p0] user    0m0.123s
> [pkgconf-0.9.7.p0] sys    0m0.144s
> [pkgconf-0.9.7.p0] 
> ************************************************************************
> [pkgconf-0.9.7.p0] Error installing package pkgconf-0.9.7.p0
> [pkgconf-0.9.7.p0] 
> ************************************************************************
> [pkgconf-0.9.7.p0] Please email sage-devel (
> http://groups.google.com/group/sage-devel)
> [pkgconf-0.9.7.p0] explaining the problem and including the log file
> [pkgconf-0.9.7.p0]   
> /Users/forets/sage-src/sage/logs/pkgs/pkgconf-0.9.7.p0.log
> [pkgconf-0.9.7.p0] Describe your computer, operating system, etc.
> [pkgconf-0.9.7.p0] If you want to try to fix the problem yourself, *don't* 
> just cd to
> [pkgconf-0.9.7.p0] 
> /Users/forets/sage-src/sage/local/var/tmp/sage/build/pkgconf-0.9.7.p0 and 
> type 'make' or whatever is appropriate.
> [pkgconf-0.9.7.p0] Instead, the following commands setup all environment 
> variables
> [pkgconf-0.9.7.p0] correctly and load a subshell for you to debug the 
> error:
> [pkgconf-0.9.7.p0]   (cd 
> '/Users/forets/sage-src/sage/local/var/tmp/sage/build/pkgconf-0.9.7.p0' && 
> '/Users/forets/sage-src/sage/sage' --sh)
> [pkgconf-0.9.7.p0] When you are done debugging, you can type "exit" to 
> leave the subshell.
> [pkgconf-0.9.7.p0] 
> ************************************************************************
> make[2]: *** 
> [/Users/forets/sage-src/sage/local/var/lib/sage/installed/pkgconf-0.9.7.p0] 
> Error 1
> make[1]: *** [all-toolchain] Error 2
>
> real    0m0.749s
> user    0m0.337s
> sys    0m0.347s
> ***************************************************************
> Error building Sage.
>
> The following package(s) may have failed to build (not necessarily
> during this run of 'make all'):
>
> * package: mpir-2.7.2
>   log file: /Users/forets/sage-src/sage/logs/pkgs/mpir-2.7.2.log
>   build directory: 
> /Users/forets/sage-src/sage/local/var/tmp/sage/build/mpir-2.7.2
>
> * package: pkgconf-0.9.7.p0
>   log file: /Users/forets/sage-src/sage/logs/pkgs/pkgconf-0.9.7.p0.log
>   build directory: 
> /Users/forets/sage-src/sage/local/var/tmp/sage/build/pkgconf-0.9.7.p0
>
> * documentation: dochtml
>   log file: /Users/forets/sage-src/sage/logs/pkgs/../dochtml.log
>
> 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.
>
> make: *** [all] Error 1
>

-- 
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 sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to