Yes, i wish now to recompile (git trac pull on develp branch) after a 
while. In a fresh session, if i try to make after a distclean i get the 
different error message below related to some dyld: Library not loaded: 
/usr/local/opt/mpfr/lib/libmpfr.4.dylib Referenced from: 
/usr/local/bin/gawk.

If possible i would like to avoid a system upgrade (newest XCode + Mac OS 
Sierra). Thanks!

$ cd ~/sage-src/sage/
$ unset DYLD_LIBRARY_PATH
$ echo $DYLD_LIBRARY_PATH

$ export 
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:~/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

$ make distclean && make="MAKE -j4" 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 'build-clean'" 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
CORA_ROOT=/Users/forets/Tools/CORA_2016_orig
DISPLAY=/private/tmp/com.apple.launchd.vkRKLUhZIY/org.macosforge.xquartz:0
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:/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=
RBENV_SHELL=bash
SAGE_EXTCODE=/share/sage/ext
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=/share
SAGE_SPKG_INST=/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=6C92C554-47AF-4E23-8485-C90C8FDDDBB7
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
***********************************************
Deleting package build directories...
rm -rf "/var/tmp/sage/build"
cd "/Users/forets/sage-src/sage/src/doc" && make clean
rm -rf en/reference/*/sage
rm -rf en/reference/*/sagenb
rm -rf en/reference/sage
rm -rf en/reference/sagenb
rm -f common/*.pyc
rm -rf "/share/doc/sage"
cd "/Users/forets/sage-src/sage/src" && make clean
Deleting Sage library build artifacts...
rm -rf c_lib .cython_version # from old sage versions
rm -rf build
find . -name '*.pyc' | xargs rm -f
rm -rf sage/ext/interpreters

real    0m0.107s
user    0m0.039s
sys    0m0.044s
Sage build/upgrade complete!
/Applications/Xcode.app/Contents/Developer/usr/bin/make misc-clean
Deleting miscellaneous artifacts generated by build system ...
rm -rf logs
rm -rf dist
rm -rf tmp
rm -f aclocal.m4 config.log config.status confcache
rm -rf autom4te.cache
rm -f build/make/Makefile build/make/Makefile-auto
rm -f .BUILDSTART
Deleting all remaining output from build system ...
rm -rf local
rm -f src/bin/sage-env-config
/Applications/Xcode.app/Contents/Developer/usr/bin/make build/make/Makefile 
--stop
rm -f config.log
mkdir -p logs/pkgs
ln -s logs/pkgs/config.log config.log
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
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 if gcc accepts -dumpversion option... yes
checking gcc version... 4.2.1
checking if g++ accepts -dumpversion option... yes
checking g++ version... 4.2.1
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.
checking multiprecision library... MPIR
checking BLAS library... openblas
checking package versions... 
    4ti2-1.6.7
    alabaster-0.7.10
    appnope-0.1.0.p0
    arb-2.12.0.p0
    atlas-3.10.2.p3
    autotools-20141105.p0
    babel-2.5.1
    backports_abc-0.5
    backports_functools_lru_cache-1.4
    backports_shutil_get_terminal_size-1.0.0.p1
    backports_ssl_match_hostname-3.5.0.1.p0
    benzene-20130630
    bliss-0.73+debian-1+sage-2016-08-02
    boost-1_61_0
    boost_cropped-1.58.0
    brial-1.0.1.p2
    buckygen-1.0
    bzip2-1.0.6-20150304.p0
    cbc-2.9.4
    ccache-3.2.2.p0
    cddlib-094g.p2
    cephes-2.8.p1
    certifi-2017.11.5
    cliquer-1.21.p4
    cmake-3.8.1
    combinatorial_designs-20140630
    compilerwrapper-1.2
    configparser-3.5.0
    configure-254
    conway_polynomials-0.5
    coxeter3-1.1
    cryptominisat-5.0.1
    csdp-6.2
    curl-7.56.1 not installed (configure check)
    cvxopt-1.1.8.p2
    cycler-0.10.0.p0
    cypari-1.1.4
    cysignals-1.6.5
    cython-0.27.3
    d3js-3.4.8
    database_cremona_ellcurve-20161017
    database_gap-4.8.6
    database_jones_numfield-4
    database_kohel-20160724
    database_mutation_class-1.0
    database_odlyzko_zeta-20061209
    database_pari-20161017
    database_stein_watkins-20110713
    database_stein_watkins_mini-20070827
    database_symbolic_data-20070206
    dateutil-2.5.3
    decorator-4.0.6.p0
    deformation-d05941b
    docutils-0.14
    dot2tex-2.9.0.p2
    ecl-16.1.2.p5
    eclib-20171002.p0
    ecm-7.0.4.p1
    elliptic_curves-0.8.p0
    entrypoints-0.2.3
    enum34-1.1.6
    fflas_ffpack-2.3.2
    flask-0.10.1.p0
    flask_autoindex-0.6.p0
    flask_babel-0.9.p0
    flask_oldsessions-0.10.p0
    flask_openid-1.2.5.p0
    flask_silk-0.2.p0
    flint-2.5.2.p2
    flintqs-1.0.p0
    fplll-5.2.0.p1
    fpylll-0.3.0dev.p0
    freetype-2.8.1
    fricas-1.3.2
    frobby-0.9.0.p2
    functools32-3.2.3-2.p0
    future-0.16.0
    gambit-15.1.1
    gap-4.8.6.p3
    gap3-04jul17
    gap_jupyter-0.9
    gap_packages-4.8.6.p2
    gc-7.2f.p1
    gcc-7.2.0 not installed (configure check)
    gdb-7.8
    gf2x-1.2.p0
    gfan-0.5.p2
    gfortran-7.2.0 not installed (configure check)
    giac-1.4.9.45.p2
    giacpy_sage-0.6.6
    git-2.11.0 not installed (configure check)
    git_trac-20160625.p0
    givaro-4.0.4
    glpk-4.63.p2
    gmp-6.1.2
    gmpy2-2.1.0a1.p1
    gp2c-0.0.10
    graphs-20161026
    gsl-2.3.p0
    iconv-1.15
    igraph-0.7.1
    imagesize-0.7.1.p0
    iml-1.0.4p1.p2
    ipykernel-4.7.0
    ipython-5.5.0
    ipython_genutils-0.2.0
    ipywidgets-7.1.1
    itsdangerous-0.24.p0
    jinja2-2.10
    jmol-14.6.1_2016.07.11.p0
    jsonschema-2.6.0
    jupyter_client-5.2.2
    jupyter_core-4.4.0
    latte_int-1.7.3
    lcalc-1.23.p16
    libbraiding-1.0
    libgap-4.8.6.p0
    libgd-2.1.1.1.p1
    libhomfly-1.02r4
    libogg-1.3.1
    libpng-1.6.29.p0
    libtheora-1.1.1
    lidia-2.3.0+latte-patches-2014-10-04
    lie-2.2.2
    linbox-1.5.2
    lrcalc-1.2.p1
    lrslib-062+autotools-2017-03-03
    m4ri-20140914.p0
    m4rie-20150908.p0
    markupsafe-1.0
    mathjax-2.6.1
    matplotlib-2.1.0
    maxima-5.39.0.p2
    mcqd-1.0
    meataxe-1.0
    mistune-0.8.3
    modular_decomposition-20100607
    mpc-1.1.0
    mpfi-1.5.2
    mpfr-4.0.1
    mpfrcx-0.4.2
    mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868
    mpmath-1.0.0
    nauty-26r1
    nbconvert-4.2.0.p0
    nbformat-4.4.0
    ncurses-6.0.p0
    networkx-1.11.p0
    normaliz-3.2.1
    nose-1.3.3.p0
    notebook-5.3.1
    notedown-1.5.1
    ntl-10.3.0
    numpy-1.13.3.p0
    openblas-0.2.20.p1
    openssl-1.1.0g
    ore_algebra-0.3
    palp-2.1.p1
    pandoc_attributes-8bc82f6d
    pandocfilters-1.4.2
    pari-2.10-1280-g88fb5b3.p0
    pari_galdata-20080411
    pari_jupyter-1.3.2
    pari_seadata_small-20090618
    patch-2.7.5
    pathlib2-2.3.0
    pathpy-7.1.p0
    pcre-8.40.p1
    perl_term_readline_gnu-1.34
    pexpect-4.1.0.p0
    pickleshare-0.7.4
    pillow-4.3.0
    pip-9.0.1
    pkgconf-0.9.7.p0
    pkgconfig-1.2.2.p0
    planarity-3.0.0.5.p0
    plantri-4.5
    polymake-3.1
    polytopes_db-20170220
    ppl-1.2.p1
    prompt_toolkit-1.0.15
    psutil-5.2.0.p1
    ptyprocess-0.5.1.p0
    pycrypto-2.6.1.p2
    pygments-2.2.0.p0
    pynac-0.7.16.p0
    pynormaliz-1.5
    pyparsing-2.2.0
    pysingular-0.9.5
    python2-2.7.14.p2
    python3-3.6.1.p1
    python_igraph-0.7.0.p0
    python_openid-2.2.5.p0
    pytz-2017.3
    pyx-0.12.1.p0
    pyzmq-17.0.0b3
    qepcad-B.1.69.p0
    qhull-2015-src-7.2.0.p1
    r-3.4.3.p0
    ratpoints-2.1.3.p4
    readline-6.3.008.p0
    requests-2.13.0
    rpy2-2.8.2.p0
    rst2ipynb-0.2.2.p0
    rubiks-20070912.p19
    rw-0.7.p0
    saclib-2.2.6
    sagenb-1.0.1
    sagenb_export-3.2
    sagetex-3.0
    scandir-1.6
    scipoptsuite-4.0.0
    scipy-0.19.1
    scons-1.2.0
    send2trash-1.4.2
    setuptools-38.2.4
    setuptools_scm-1.15.6
    simplegeneric-0.8.1.p0
    singledispatch-3.4.0.3.p0
    singular-4.1.0p3.p2
    singular_jupyter-0.9.7
    sip-4.18
    sirocco-2.0
    six-1.11.0
    snowballstemmer-1.2.1.p0
    speaklater-1.3.p0
    sphinx-1.6.3.p1
    sqlite-3220000
    subprocess32-3.2.7.p0
    surf-1.0.6-gcc6
    symmetrica-2.0.p10
    sympow-1.018.1.p12
    sympy-1.1.1.p0
    tachyon-0.98.9.p6
    tdlib-0.3.1
    termcap-1.3.1.p3
    terminado-0.8.1
    thebe-9624e0a0
    threejs-r80
    tides-2.0
    topcom-0.17.7
    tornado-4.5.2
    traitlets-4.3.2
    twisted-16.3.0.p0
    typing-3.6.2
    valgrind-3.10.0
    vcversioner-2.16.0.0.p0
    wcwidth-0.1.7.p0
    werkzeug-0.11.10.p0
    widgetsnbextension-3.1.1
    xz-5.2.2.p0
    yasm-1.3.0.p0
    zeromq-4.0.5.p2
    zlib-1.2.11
    zn_poly-0.9.p11
    zope_interface-4.4.3
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating build/make/Makefile-auto
dyld: Library not loaded: /usr/local/opt/mpfr/lib/libmpfr.4.dylib
  Referenced from: /usr/local/bin/gawk
  Reason: image not found
./config.status: line 905: 89849 Done                    eval sed 
\"\$ac_sed_extra\" "$ac_file_inputs"
     89850 Trace/BPT trap: 5       | $AWK -f "$ac_tmp/subs.awk" > 
$ac_tmp/out
config.status: error: could not create build/make/Makefile-auto
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

El lunes, 26 de febrero de 2018, 8:48:37 (UTC-3), Dima Pasechnik escribió:
>
> 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