On sage-release Justin C Walker has reported successfully compiled sage 9.1.beta1 on a 2019 MBP, 8-core Core i9 running 10.5.2.
I am running 10.5.2 on 2016 MBP, 4-core Core i7 and, as
previously reported, I whenever I try to compile I get stuck with:
Error building Sage.
The following package(s) may have failed to build (not necessarily
during this run of 'make all-build'):
* package: givaro-4.1.1
log file: /usr/local/src/sage/logs/pkgs/givaro-4.1.1.log
build directory: /usr/local/src/sage/local/var/tmp/sage/build/givaro-4.1.1
Evidentally,
I have screwed something up but for the life of me I can't figure what.
Previously I did success in getting 8.9 to compille on a similarly
configured imac in my office but I could not compile 9.1.beta0 there
either. (I'm travelling at the moment so I haven'ttried to troubleshoot
the imac yet...I was hoping that it would compile in my office and that I
could then compare the install logs, but that didn't work out.)
Last
time I asked on sage-dev no one was able to figure out what my problem
was. I am posting again in the hope that some one will be able to
suggest doing something different now. The givaro log file and the full
install log are attached.
I am trying to compile using:
make distclean;
CC=clang CXX=clang++ FC=gfortran ./configure;
MAKE="make -j4" make build
I
have installed xcode and the command line tools, I have accepted the
xcode licence, opened xcode, run xcode-select --install etc.
My system specs are:
sw_vers:
ProductName: Mac OS X
ProductVersion: 10.15.2
BuildVersion: 19C57
/usr/bin/xcodebuild -version
Xcode 11.3.1
Build version 11C504
I am using homebrew (list of installed homebrew fomrula below)
I
have tried uninstalling xcode and the command-line tools and then
reinstalling it. Uninstalling and then reinstalling all the homebrew
packages. I have tried removing anything vaguely objectionable from my
path and have trolled through stackexchange applying potential fixes
without luck.
The problem seems to be that
sage is not finding the header files. I don't any compiler flags
(CFLAGS, CXXFLAGS, CPPFLAGS, LDFLAGS, ...), set although I have tried
various combinations of these without success.
Any suggestions would be very much appreciated!
Andrew
--
The homebrew packages that have installed are:
adns glog libunistring poppler
alluxio gmp libusb python
aom gnu-sed libvidstab python@2
arb gnupg libvorbis qpdf
aspell gnutls libvpx qt
autoconf gpatch libyaml r
automake graphite2 little-cms2 readline
bash gsl lua rsync
bash-completion harfbuzz lzo rtmpdump
boost icu4c macvim rubberband
cairo ilmbase make ruby
ceres-solver imagemagick metis sdl2
cimg isl mpfi shared-mime-info
cmake jpeg mpfr snappy
coreutils lame nettle speex
cscope leptonica node sqlite
djvu2pdf libass npth suite-sparse
djvulibre libassuan nspr swig
eigen libbluray nss tbb
ffmpeg libde265 ntl tesseract
fish libdvdcss numpy texinfo
flac libevent openblas the_silver_searcher
flint libffi opencore-amr theora
fontconfig libgcrypt opencv tkdiff
freetype libgpg-error openexr unbound
frei0r libheif openjpeg unrar
fribidi libidn2 openssl webkit2png
gawk libksba openssl@1.1 webp
gcc libmpc opus wget
gd libogg p11-kit x264
gdbm libomp p7zip x265
gettext libpng pari xvid
gflags libsamplerate pcre xz
ghostscript libsndfile pcre2 yarn
giflib libsoxr perl yasm
git libtasn1 pinentry
git-extras libtiff pixman
glib libtool pkg-config