eos icon indicating copy to clipboard operation
eos copied to clipboard

Building EOS on Windows using ubuntu

Open Catley94 opened this issue 8 years ago • 6 comments

I've having an issue with installing EOS blockchain on the system. So I've done ./eosio_build.sh which returns this error: CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:665 (file): file STRINGS file "/home/catley/opt/boost_1_66_0/include/boost/version.hpp" cannot be read. Call Stack (most recent call first): libraries/chainbase/CMakeLists.txt:26 (FIND_PACKAGE)

CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message): Unable to find the requested Boost libraries.

Boost version: 0.0.0

Boost include path: /home/catley/opt/boost_1_66_0/include

Detected version of Boost is too old. Requested version was 1.57 (or newer). Call Stack (most recent call first): libraries/chainbase/CMakeLists.txt:26 (FIND_PACKAGE)

-- Configuring ChainBase on Linux -- Using custom FindBoost.cmake CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:665 (file): file STRINGS file "/home/catley/opt/boost_1_66_0/include/boost/version.hpp" cannot be read. Call Stack (most recent call first): libraries/appbase/CMakeLists.txt:22 (find_package)

CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message): Unable to find the requested Boost libraries.

Boost version: 0.0.0

Boost include path: /home/catley/opt/boost_1_66_0/include

Detected version of Boost is too old. Requested version was 1.60 (or newer). Call Stack (most recent call first): libraries/appbase/CMakeLists.txt:22 (find_package)

-- Configuring AppBase on Linux -- Could NOT find Soci (missing: SOCI_INCLUDE_DIR SOCI_LIBRARY) -- Database SQL plugin: disabled -- Git commit revision: 60231e3e -- Git commit revision: 60231e3e -- Git commit revision: 60231e3e -- Configuring incomplete, errors occurred! See also "/mnt/c/Users/scp94/Projects/EOS/eos/build/CMakeFiles/CMakeOutput.log". See also "/mnt/c/Users/scp94/Projects/EOS/eos/build/CMakeFiles/CMakeError.log".

    >>>>>>>>>>>>>>>>>>>> CMAKE building EOSIO has exited with the above error.

CMakeError.log

Also attached the CMakeError log.

Any ideas?

Catley94 avatar May 25 '18 08:05 Catley94

Update: I'm trying this ticket's solution: https://github.com/EOSIO/eos/issues/3345

I'll update if it works or not.

Catley94 avatar May 25 '18 08:05 Catley94

cp -R /home/catley/boost_1_67_0/ /home/catley/boost_1_66_0/ and relaunch eosio_build

maxb14 avatar May 25 '18 11:05 maxb14

@Catley94 @maxb14 run the following commands (capture stdout and paste it here if you run into any further issues)

rm -rf ${HOME}/opt/boost* cd /path/to/eos rm -rf build/ git pull git submodule update --init --recursive ./eosio_build.sh

pacificcode avatar May 25 '18 13:05 pacificcode

How do I capture stdout?

Catley94 avatar May 25 '18 13:05 Catley94

use "tee" or just redirect as usual... ./eosio_build.sh 2>&1 > build.log

matthewdarwin avatar May 25 '18 13:05 matthewdarwin

Had the same problem and it was because my local was corrupted, so i did git reset to master head and it compiled. git checkout master git reset --hard ./eosio_build.sh

botafi avatar May 26 '18 08:05 botafi