substrate-contracts-node icon indicating copy to clipboard operation
substrate-contracts-node copied to clipboard

compiling failed on Ubuntu ARM64

Open apiscerena opened this issue 3 years ago • 1 comments

I'm trying to compile a debug version of the contracts-node on Ubuntu ARM64, but got the following error.

Compiling contracts-node v0.17.0 (/home/parallels/Desktop/substrate-contracts-node/node) error: linking with cc failed: exit status: 1 ....

= note: collect2: fatal error: ld terminated with signal 9 [Killed] compilation terminated.

apiscerena avatar Aug 04 '22 07:08 apiscerena

I am not sure why following command: cargo install contracts-node --git https://github.com/paritytech/substrate-contracts-node.git --force --locked did not allow me to compile successfully on my machine, but following setups allows me to compile the repository:

  1. clone substrate-contracts-node repository
  2. execute cargo build --locked

On Debian machine works. Let me know if you have some issues with logs, please. Remember also to install all Substrate/Polkadot prerequisites before trying to compile.

TomaszWaszczyk avatar Oct 09 '22 17:10 TomaszWaszczyk