Let's share the difficulties we met when we compile and run nockchain

Hi everyone! I am Bruce from China. It’s nice to make friends here! I have compiled the nockchain, and I would like to share some bugs and difficulties when I compiled it. Please leave your message here to help more people run the nockchain!!!

2 Likes

When I make install choo, I met rm -rf .data.choo
rm -rf ~/.nockapp/choo
cargo install --locked --force --path crates/nockapp/apps/choo --bin choo
make: cargo: No such file or directory
make: *** [Makefile:20: install-choo] Error 127.

This is caused by the lack of rust and cargo in my linux. I solve it by
curl --proto ‘=https’ --tlsv1.2 -sSf https://sh.rustup.rs | sh

source $HOME/.cargo/env

sudo apt install build-essential

make install-choo

2 Likes

when i make build nockchain, it may fail caused by the lack of Clang and LLVM

1 Like

please use git clone GitHub - zorp-corp/nockchain: Nockchain protocol monorepo to clone the repository

1 Like

Hi Bruce from China :slight_smile: Assuming that there is an unofficial testnet running…Is your node finding peers?

After running:
image

I get an endless:

run a leader and run a follower

2 Likes

Hi tomdef, I have not met this issue! if you fix it, could you leave your approach to fix this issue? thx so much!

How did you fix this? Same here.

It is unclear as to whom you are asking that question, @mitnev, but @CasimirPolandZorp addressed the OP’s question.

Bro, have you solved your problem? I have the same problem.

Hello, when I run the program, the block height remains at 0 for a long time without changing. Is this normal?

Yes that is normal right now

As of when I wrote that post there was no public testnet yet, so no external peers found, but you could run your own “peer” by running two instances of nockchain - one leader and one follower, then it should behave like what’s seen in the follow-up screenshots in this thread: Let's share the difficulties we met when we compile and run nockchain - #12 by BEIBEI