Open NetScr1be opened 3 years ago
===> Compiling rocksdb
- mkdir -p _build/cmake
- cd _build/cmake
- type cmake3
- CMAKE=cmake
cmake -DWITH_BUNDLE_SNAPPY=ON -DWITH_BUNDLE_LZ4=ON ../../c_src -- The C compiler identification is GNU 9.3.0 -- The CXX compiler identification is unknown -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done CMake Error at CMakeLists.txt:3 (project): No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred! See also "/home/patrick/miner/_build/default/lib/rocksdb/_build/cmake/CMakeFiles/CMakeOutput.log". See also "/home/patrick/miner/_build/default/lib/rocksdb/_build/cmake/CMakeFiles/CMakeError.log".
- exit 1 ===> Hook for compile failed!
make: *** [Makefile:32: release] Error 1
sudo apt show cmake
Package: cmake Version: 3.16.3-1ubuntu1 Priority: optional Section: devel Origin: Ubuntu Maintainer: Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com Original-Maintainer: Debian CMake Team pkg-cmake-team@lists.alioth.debian.org Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 19.2 MB Depends: cmake-data (= 3.16.3-1ubuntu1), procps, libarchive13 (>= 3.3.3), libc6 (>= 2.17), libcurl4 (>= 7.16.2), libexpat1 (>= 2.0.1), libgcc-s1 (>= 3.0), libjsoncpp1 (>= 1.7.4), librhash0 (>= 1.2.6), libstdc++6 (>= 9), libuv1 (>= 1.11.0), zlib1g (>= 1:1.1.4) Recommends: gcc, make Suggests: cmake-doc, ninja-build Homepage: https://cmake.org/ Download-Size: 3669 kB APT-Manual-Installed: yes APT-Sources: http://mirrors.digitalocean.com/ubuntu focal/main amd64 Packages Description: cross-platform, open-source make system CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. CMake is quite sophisticated: it is possible to support complex environments requiring system configuration, pre-processor generation, code generation, and template instantiation. . CMake was developed by Kitware as part of the NLM Insight Segmentation and Registration Toolkit project. The ASCI VIEWS project also provided support in the context of their parallel computation environment. Other sponsors include the Insight, VTK, and VXL open source software communities.
===> Compiling erbloom sh: 1: exec: cargo: not found
===> Hook for compile failed!
installing cargo
sudo apt install cargo Reading package lists... Done Building dependency tree
Reading state information... Done The following additional packages will be installed: gdb gdbserver libbabeltrace1 libc6-dbg libdw1 libhttp-parser2.9 libssh2-1 libstd-rust-1.47 libstd-rust-dev rust-gdb rustc Suggested packages: cargo-doc gdb-doc rust-doc rust-src lld-11 Recommended packages: cargo The following NEW packages will be installed: cargo gdb gdbserver libbabeltrace1 libc6-dbg libdw1 libhttp-parser2.9 libssh2-1 libstd-rust-1.47 libstd-rust-dev rust-gdb rustc 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded. Need to get 108 MB of archives. After this operation, 498 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://mirrors.digitalocean.com/ubuntu focal/main amd64 libdw1 amd64 0.176-1.1build1 [226 kB] Get:2 http://mirrors.digitalocean.com/ubuntu focal/main amd64 libbabeltrace1 amd64 1.5.8-1build1 [156 kB] Get:3 http://mirrors.digitalocean.com/ubuntu focal-updates/main amd64 gdb amd64 9.2-0ubuntu1~20.04 [3221 kB] Get:4 http://mirrors.digitalocean.com/ubuntu focal-updates/main amd64 gdbserver amd64 9.2-0ubuntu1~20.04 [222 kB] Get:5 http://mirrors.digitalocean.com/ubuntu focal/universe amd64 libhttp-parser2.9 amd64 2.9.2-2 [21.8 kB] Get:6 http://mirrors.digitalocean.com/ubuntu focal/universe amd64 libssh2-1 amd64 1.8.0-2.1build1 [75.4 kB] Get:7 http://mirrors.digitalocean.com/ubuntu focal-updates/universe amd64 libstd-rust-1.47 amd64 1.47.0+dfsg1+llvm-1ubuntu1~20.04.1 [59.6 MB] Get:8 http://mirrors.digitalocean.com/ubuntu focal-updates/universe amd64 libstd-rust-dev amd64 1.47.0+dfsg1+llvm-1ubuntu1~20.04.1 [28.5 MB] Get:9 http://mirrors.digitalocean.com/ubuntu focal-updates/universe amd64 rustc amd64 1.47.0+dfsg1+llvm-1ubuntu1~20.04.1 [1921 kB] Get:10 http://mirrors.digitalocean.com/ubuntu focal-updates/universe amd64 cargo amd64 0.47.0-1~exp1ubuntu1~20.04.1 [3147 kB] Get:11 http://mirrors.digitalocean.com/ubuntu focal-updates/main amd64 libc6-dbg amd64 2.31-0ubuntu9.2 [10.5 MB] Get:12 http://mirrors.digitalocean.com/ubuntu focal-updates/universe amd64 rust-gdb all 1.47.0+dfsg1+llvm-1ubuntu1~20.04.1 [27.5 kB] Fetched 108 MB in 2s (70.5 MB/s)
Selecting previously unselected package libdw1:amd64. (Reading database ... 136089 files and directories currently installed.) Preparing to unpack .../00-libdw1_0.176-1.1build1_amd64.deb ... Unpacking libdw1:amd64 (0.176-1.1build1) ... Selecting previously unselected package libbabeltrace1:amd64. Preparing to unpack .../01-libbabeltrace1_1.5.8-1build1_amd64.deb ... Unpacking libbabeltrace1:amd64 (1.5.8-1build1) ... Selecting previously unselected package gdb. Preparing to unpack .../02-gdb_9.2-0ubuntu1~20.04_amd64.deb ... Unpacking gdb (9.2-0ubuntu1~20.04) ... Selecting previously unselected package gdbserver. Preparing to unpack .../03-gdbserver_9.2-0ubuntu1~20.04_amd64.deb ... Unpacking gdbserver (9.2-0ubuntu1~20.04) ... Selecting previously unselected package libhttp-parser2.9:amd64. Preparing to unpack .../04-libhttp-parser2.9_2.9.2-2_amd64.deb ... Unpacking libhttp-parser2.9:amd64 (2.9.2-2) ... Selecting previously unselected package libssh2-1:amd64. Preparing to unpack .../05-libssh2-1_1.8.0-2.1build1_amd64.deb ... Unpacking libssh2-1:amd64 (1.8.0-2.1build1) ... Selecting previously unselected package libstd-rust-1.47:amd64. Preparing to unpack .../06-libstd-rust-1.47_1.47.0+dfsg1+llvm-1ubuntu1~20.04.1_amd64.deb ... Unpacking libstd-rust-1.47:amd64 (1.47.0+dfsg1+llvm-1ubuntu1~20.04.1) ... Selecting previously unselected package libstd-rust-dev:amd64. Preparing to unpack .../07-libstd-rust-dev_1.47.0+dfsg1+llvm-1ubuntu1~20.04.1_amd64.deb ... Unpacking libstd-rust-dev:amd64 (1.47.0+dfsg1+llvm-1ubuntu1~20.04.1) ... Selecting previously unselected package rustc. Preparing to unpack .../08-rustc_1.47.0+dfsg1+llvm-1ubuntu1~20.04.1_amd64.deb ... Unpacking rustc (1.47.0+dfsg1+llvm-1ubuntu1~20.04.1) ... Selecting previously unselected package cargo. Preparing to unpack .../09-cargo_0.47.0-1~exp1ubuntu1~20.04.1_amd64.deb ... Unpacking cargo (0.47.0-1~exp1ubuntu1~20.04.1) ... Selecting previously unselected package libc6-dbg:amd64. Preparing to unpack .../10-libc6-dbg_2.31-0ubuntu9.2_amd64.deb ... Unpacking libc6-dbg:amd64 (2.31-0ubuntu9.2) ... Selecting previously unselected package rust-gdb. Preparing to unpack .../11-rust-gdb_1.47.0+dfsg1+llvm-1ubuntu1~20.04.1_all.deb ... Unpacking rust-gdb (1.47.0+dfsg1+llvm-1ubuntu1~20.04.1) ... Setting up libdw1:amd64 (0.176-1.1build1) ... Setting up libstd-rust-1.47:amd64 (1.47.0+dfsg1+llvm-1ubuntu1~20.04.1) ... Setting up libc6-dbg:amd64 (2.31-0ubuntu9.2) ... Setting up libstd-rust-dev:amd64 (1.47.0+dfsg1+llvm-1ubuntu1~20.04.1) ... Setting up libbabeltrace1:amd64 (1.5.8-1build1) ... Setting up rustc (1.47.0+dfsg1+llvm-1ubuntu1~20.04.1) ... Setting up gdbserver (9.2-0ubuntu1~20.04) ... Setting up libssh2-1:amd64 (1.8.0-2.1build1) ... Setting up libhttp-parser2.9:amd64 (2.9.2-2) ... Setting up cargo (0.47.0-1~exp1ubuntu1~20.04.1) ... Setting up gdb (9.2-0ubuntu1~20.04) ... Setting up rust-gdb (1.47.0+dfsg1+llvm-1ubuntu1~20.04.1) ... Processing triggers for libc-bin (2.31-0ubuntu9.2) ... Processing triggers for man-db (2.9.1-1) ...
make release seemed to pick up where it left off and continue
===> Verifying dependencies... ===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> Compiling blockchain ===> Compiling miner
===> Starting relx build process ...
===> Resolving OTP Applications from directories:
/home/patrick/miner/_build/prod/lib
/usr/lib/erlang/lib
===> Resolved miner-0.1.0 ===> rendering builtin_hook_wait_for_process hook to "/home/patrick/miner/_build/prod/rel/miner/bin/hooks/builtin/wait_for_process"
===> release successfully created!
As Per: https://github.com/helium/miner#installing-miner-from-source
check git
clone miner project
get erlang
esl-erlang_22.1.6-1~raspbian~buster_armhf 100%[===================================================================================>] 35.97M 57.1MB/s in 0.6s
2021-02-12 01:06:44 (57.1 MB/s) - ‘esl-erlang_22.1.6-1~raspbian~buster_armhf.deb’ saved [37720504/37720504]