On Fri, Sep 4, 2020 at 11:12 AM Szabolcs Horvát <szhor...@gmail.com> wrote:
>
>
> Hello everyone,
>
> I am trying to compile Sage on macOS 10.14.
>
> The package brial-1.2.5 fails to compile.
>
> The error is:
>
> ../../libbrial/include/polybori/common/traits.h:26:10: fatal error: 
> 'boost/preprocessor/cat.hpp' file not found
> #include <boost/preprocessor/cat.hpp>
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1 error generated.
>
> Did anyone succeed to compile Sage on macOS 10.14? Is a separate, manual 
> installation of Boost necessary to compile? Sage does appear to include (or 
> auto-download?) Boost, so I assume this is not the case.

it should work. Sage tries to detect an system-wide installation of
boost, and if it fails it installs a package boost-cropped,
otherwise it uses what's available on the system.

Have a look at the top level config.log to see what happens for you.
E.g. here is a place in config.log where system boost is detected:

[....]
# Checking whether SageMath should install SPKG boost_cropped... ##
## -------------------------------------------------------------- ##
configure:13366: checking for boostlib >= 1.66.0 (106600)
configure:13398: clang++ -std=gnu++11 -c -g -O2 -I/usr/local/include
-I/usr/local/include conftest.cpp >&5
configure:13398: $? = 0
configure:13400: result: yes
configure:13564: will use system package and not install SPKG boost_cropped
## ------------------------------------------------------ ##
## Checking whether SageMath should install SPKG boost... ##
## ------------------------------------------------------ ##
configure:13664: checking whether any of boost_cropped is installed as
or will be installed as SPKG
configure:13673: result: no
configure:13697: clang++ -std=gnu++11 -o conftest -g -O2
-I/usr/local/include  -L/usr/local/lib  conftest.cpp -lmpfr -lgmp -lm
-lntl >&5
configure:13697: $? = 0
configure:13697: ./conftest
configure:13697: $? = 0
configure:13714: will use system package and not install SPKG boost

[.....]

configure:36187: result: boost-1_66_0:
using system package; SPKG will not be installed
configure:36187: result: boost_cropped-1.66.0.p0:
using system package; SPKG will not be installed

[...]


>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/53272397-0628-49ac-91d2-eeccb93fedb2n%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq0cWt22NZzKAqCZ5epN58vNVPUD3N%2B8F8bfEnHexdKVrA%40mail.gmail.com.

Reply via email to