HiÐΞWeb3

Intmaxのセットアップ(WSL)

たかい
3年前
1. git clone2. Rusterror: linker cc not founderror: failed to run custom build command for openssl-sys3. intmax -h まで参考

追記:Ubuntuのインストールガイドが更新されています。

https://github.com/InternetMaximalism/intmax-rollup-cli/blob/main/docs/for_ubuntu.md


intmaxのテストネットが本日出たらしいのでやってみました。

https://github.com/InternetMaximalism/intmax-rollup-cli

git clone git@github.com:InternetMaximalism/intmax-rollup-cli.git

cd intmax-rollup-cli

cargo --version # 1.65.0-nightly

cargo build --release

alias intmax='./target/release/intmax'

intmax config aggregator-url https://prealpha.testnet.intmax.io/

Setupには上のように書いてあるのですが、この通りに上手くいかなかったので、

intmax -h

まで動いた方法をメモとし残します。

私はWSLでやっています。WSLが入っているところからスタートです。

1. git clone

まずgitcloneです。私はなんかできなかったのですが、

https://go-journey.club/archives/7344

この記事で解決しました。

2. Rust

次にrustです

sudo curl https://sh.rustup.rs -sSf | sh

source "$HOME/.cargo/env"

cd intmax-rollup-cli

cargo --version

cargo build --release

までやると、

error: linker `cc` not found

が出てしまいました。

error: linker cc not found

sudo apt-get update

sudo apt install build-essential

error: linker `cc` not foundは解決しました。

また、cargo build --releaseをすると

error: failed to run custom build command for `openssl-sys v0.9.78`

が出ました。

error: failed to run custom build command for openssl-sys

sudo apt-get install libssl-dev

で解決しました。

Rustのセットアップは、多分を公式を見たほうがいいと思います。

3. intmax -h まで

以降はSetupの通りです。

cargo build --release

alias intmax='./target/release/intmax'

intmax config aggregator-url https://prealpha.testnet.intmax.io/

intmax -h

なんとか上手くいきました。

参考

https://hide.ac/articles/rcXN-ghJV

https://github.com/InternetMaximalism/intmax-rollup-cli

https://go-journey.club/archives/7344

https://koma.blog/wsl2-ubuntu-rust/

https://qiita.com/nacika_ins/items/465e89a7b3f


コメント
いいね
投げ銭
最新順
人気順
たかい
3年前
コメント
いいね
投げ銭
最新順
人気順
トピック
アプリ

Astar Network

DFINITY / ICP

NFT

DAO

DeFi

L2

メタバース

BCG

仮想通貨 / クリプト

ブロックチェーン別

プロジェクト

目次
Tweet
ログイン