MyHush / hush

Hush is a fork of Zcash focused on secure communications
https://myhush.org
Other
67 stars 37 forks source link

Can't build on Manjaro/Arch #2

Closed luncht1me closed 7 years ago

luncht1me commented 7 years ago

Running ./zcutil/build.sh -j$(nproc) fails on Manjaro 64bit

checking for boostlib >= 1.20.0... yes
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system-mt... no
configure: error: Could not link against boost_system-mt !

The zCash solution is to run build.sh w/ --disable-proton, but even though this is present in the configuration file, the script doesn't accept it, "invalid argument --disable-proton" edit: I see that disable-proton is default on the build file.

I'm currently attempting to change PREFIX="/usr/" to see if that works update: somehow didn't pick up on the db headers.

Tried now with setting --with-boost-libdir=/usr/lib64 still getting same error.

luncht1me commented 7 years ago

log: I've tried changing deps from boost_system-mt to boost_system to no avail. Tried making a symlink between boost_system and boost_system-mt lib files, didn't fix.


Further investigation leads me to think that there's a problem w/ autobuild and archlinux which uses currently boost 1.64

Attempting to build 1.55 from source, then pointing --with-boost=/opt/boost_1_55_0 and seeing if it builds.

lludlow commented 7 years ago

The boost error is due to it not compiling. Work around is to install gcc and g++ 5 pacman -S gcc5 then go to /usr/bin and move gcc to gcc-7 and g++ to g++-7 symlink gcc and g++ 5 "ln -s gcc-5 gcc" & "ln -s g++-5 g++"

get a fresh clone and build away

See forum post here