Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian 11 - kernel 5.10.0-24-arm64 - Building from sources - error: provided command 'aarch64-unknown-linux-gnu-g++' not found #541

Open
blackmennewstyle opened this issue Aug 20, 2023 · 0 comments

Comments

@blackmennewstyle
Copy link

blackmennewstyle commented Aug 20, 2023

I'm trying to build verus from sources on Debian 11 with kernel 5.10.0-24-arm64 but i'm getting that error:

ceedii@amalthea:~/VerusCoin-1.1.0/depends$ make NO_QT=1 -j2
/home/ceedii/VerusCoin-1.1.0/depends/work/download/boost-1_72_0/boost_1_72_0.tar.bz2.temp: OK
Extracting boost...
/home/ceedii/VerusCoin-1.1.0/depends/sources/boost_1_72_0.tar.bz2: OK
Preprocessing boost...
Configuring boost...
Building Boost.Build engine with toolset gcc... tools/build/src/engine/b2
Unicode/ICU support for Boost.Regex?... disabled.
Generating Boost.Build configuration in project-config.jam for gcc...

Bootstrapping is done. To build, run:

    ./b2
    
To generate header files, run:

    ./b2 headers

To adjust configuration, edit 'project-config.jam'.
Further information:

   - Command line help:
     ./b2 --help
     
   - Getting started guide: 
     http://www.boost.org/more/getting_started/unix-variants.html
     
   - Boost.Build documentation:
     http://www.boost.org/build/

Building boost...
/home/ceedii/VerusCoin-1.1.0/depends/work/build/aarch64-unknown-linux-gnu/boost/1_72_0-479eccbdab8/tools/build/src/tools/gcc.jam:164: in gcc.init from module gcc
error: toolset gcc initialization:
error: provided command 'aarch64-unknown-linux-gnu-g++' not found
error: initialized from /home/ceedii/VerusCoin-1.1.0/depends/work/build/aarch64-unknown-linux-gnu/boost/1_72_0-479eccbdab8/user-config.jam:1
/home/ceedii/VerusCoin-1.1.0/depends/work/build/aarch64-unknown-linux-gnu/boost/1_72_0-479eccbdab8/tools/build/src/build/toolset.jam:44: in toolset.using from module toolset
/home/ceedii/VerusCoin-1.1.0/depends/work/build/aarch64-unknown-linux-gnu/boost/1_72_0-479eccbdab8/tools/build/src/build/project.jam:1104: in using from module project-rules
/home/ceedii/VerusCoin-1.1.0/depends/work/build/aarch64-unknown-linux-gnu/boost/1_72_0-479eccbdab8/user-config.jam:1: in modules.load from module user-config
/home/ceedii/VerusCoin-1.1.0/depends/work/build/aarch64-unknown-linux-gnu/boost/1_72_0-479eccbdab8/tools/build/src/build-system.jam:255: in load-config from module build-system
/home/ceedii/VerusCoin-1.1.0/depends/work/build/aarch64-unknown-linux-gnu/boost/1_72_0-479eccbdab8/tools/build/src/build-system.jam:449: in load-configuration-files from module build-system
/home/ceedii/VerusCoin-1.1.0/depends/work/build/aarch64-unknown-linux-gnu/boost/1_72_0-479eccbdab8/tools/build/src/build-system.jam:607: in load from module build-system
/home/ceedii/VerusCoin-1.1.0/depends/work/build/aarch64-unknown-linux-gnu/boost/1_72_0-479eccbdab8/tools/build/src/kernel/modules.jam:295: in import from module modules
/home/ceedii/VerusCoin-1.1.0/depends/work/build/aarch64-unknown-linux-gnu/boost/1_72_0-479eccbdab8/tools/build/src/kernel/bootstrap.jam:139: in boost-build from module
/home/ceedii/VerusCoin-1.1.0/depends/work/build/aarch64-unknown-linux-gnu/boost/1_72_0-479eccbdab8/boost-build.jam:17: in module scope from module

make: *** [funcs.mk:259: /home/ceedii/VerusCoin-1.1.0/depends/work/build/aarch64-unknown-linux-gnu/boost/1_72_0-479eccbdab8/./.stamp_built] Error 1

I have all the dependencies installed already:

apt-get install build-essential pkg-config linux-libc-dev-arm64-cross m4 autoconf g++-aarch64-linux-gnu binutils-aarch64-linux-gnu libtool ncurses-dev unzip git zlib1g-dev wget bsdmainutils automake curl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'g++' instead of 'g++-aarch64-linux-gnu'
Note, selecting 'libncurses-dev' instead of 'ncurses-dev'
autoconf is already the newest version (2.69-14).
automake is already the newest version (1:1.16.3-2).
binutils-aarch64-linux-gnu is already the newest version (2.35.2-2).
bsdmainutils is already the newest version (12.1.7+nmu3).
build-essential is already the newest version (12.9).
linux-libc-dev-arm64-cross is already the newest version (5.10.13-1cross4).
curl is already the newest version (7.74.0-1.3+deb11u7).
g++ is already the newest version (4:10.2.1-1).
git is already the newest version (1:2.30.2-1+deb11u2).
libtool is already the newest version (2.4.6-15).
m4 is already the newest version (1.4.18-5).
libncurses-dev is already the newest version (6.2+20201114-2+deb11u1).
pkg-config is already the newest version (0.29.2-1).
unzip is already the newest version (6.0-26+deb11u1).
wget is already the newest version (1.21-1+deb11u1).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant