mschneider / solcpp

A fast Solana and Mango Markets C++ SDK
Other
40 stars 13 forks source link

Conan boost build error on Centos8 #29

Closed eternalego closed 2 years ago

eternalego commented 2 years ago

gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4)

After running comman conan install .. --build=missing -o:h boost:without_fiber=True -o:h boost:without_python=True process is failing on the boost build stage, with the numerous errors like the following:

cc1plus: warning: /opt/mmapp/.conan/data/boost/1.78.0/_/_/build/57cf9a879e537b97e2a1b20951562a6f0abd22d0/boost/bin.v2/libs/math/build/gcc-8/rls/lnk-sttc/thrd-mlt/vsblt-hdn/pch.gch: had text segment at different address cc1plus: error: one or more PCH files were found, but they were invalid cc1plus: fatal error: /opt/mmapp/.conan/data/boost/1.78.0/_/_/build/57cf9a879e537b97e2a1b20951562a6f0abd22d0/boost/bin.v2/libs/math/build/gcc-8/rls/lnk-sttc/thrd-mlt/vsblt-hdn/pch: No such file or directory compilation terminated.

Full build log provided below: build.log

mschneider commented 2 years ago

try disabling boost math, shouldn't be needed anyways

eternalego commented 2 years ago

Worked, thank you! Just had to disable "graph" as well.