You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.
I'm trying to run Tic-Tac-Toe to a local Solana.
When I try to build the BPF C program on macOS Mojave v.10.14.1 and execution failed with following stack:
$ V=1 make -C program-bpf
+ rm -rf 'criterion*'
+ mkdir criterion
+ cd criterion
+ wget --progress=dot:mega https://github.com/Snaipe/Criterion/releases/download/v2.3.2/criterion-v2.3.2-osx-x86_64.tar.bz2
../node_modules/@solana/web3.js/bpf-sdk//scripts/install.sh: line 21: wget: command not found
[test cc] ../dist/program/test_tictactoe (test/tictactoe.c)
mkdir -p ../dist/program
../node_modules/@solana/web3.js/bpf-sdk/llvm-native//bin/clang -Werror -O2 -fno-builtin -std=c17 -isystem../node_modules/@solana/web3.js/bpf-sdk/inc -isystem../node_modules/@solana/web3.js/bpf-sdk/llvm-native//lib/clang/8.0.0/include -DSOL_TEST -isystem ../node_modules/@solana/web3.js/bpf-sdk/criterion/include -L ../node_modules/@solana/web3.js/bpf-sdk/criterion/lib -rpath /Users/vladislavivanov/Projects/Solana/example-tictactoe/node_modules/@solana/web3.js/bpf-sdk/criterion/lib -lcriterion -o ../dist/program/test_tictactoe test/tictactoe.c -MD -MF ../dist/program/test_tictactoe.d
make: ../node_modules/@solana/web3.js/bpf-sdk/llvm-native//bin/clang: No such file or directory
make: *** [../dist/program/test_tictactoe] Error 1
Please, check and the output for starting local Solana:
npx solana-localnet update
Docker version 18.09.0, build 4d60db4
+ docker pull solanalabs/solana:edge
edge: Pulling from solanalabs/solana
05d1a5232b46: Pull complete
5d005cbf2b08: Pull complete
5398c64aa99e: Pull complete
Digest: sha256:c009436c924b6d1220ad36b62d2d07ea65169151523cd4acd9c7c9e01b464f30
Status: Downloaded newer image for solanalabs/solana:edge
Vladislavs-MBP:example-tictactoe vladislavivanov$ npm run localnet:up
> tictactoe@0.0.1 localnet:up /Users/vladislavivanov/Projects/Solana/example-tictactoe
> set -x; solana-localnet down; set -e; solana-localnet up
+ solana-localnet down
Docker version 18.09.0, build 4d60db4
+ docker stop --time 0 solana-localnet
Error response from daemon: No such container: solana-localnet
+ set -e
+ solana-localnet up
Docker version 18.09.0, build 4d60db4
+ RUST_LOG=solana=warn,solana_bpf=info,solana_jsonrpc=info,solana::rpc=info,solana_fullnode=info,solana::drone=info,solana::bank=info,solana::banking_stage=info,solana::system_program=info
+ docker run --detach --name solana-localnet --rm --publish 8899:8899 --publish 8900:8900 --tty --env RUST_LOG=solana=warn,solana_bpf=info,solana_jsonrpc=info,solana::rpc=info,solana_fullnode=info,solana::drone=info,solana::bank=info,solana::banking_stage=info,solana::system_program=info solanalabs/solana:edge
a7d6bfdabd73678e26992c990bcd91c5dbf0ca9640868a377c131e41976be835
+ for _ in 1 2 3 4 5
+ curl -X POST -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1, "method":"getTransactionCount"}' http://localhost:8899
curl: (52) Empty reply from server
+ sleep 1
+ for _ in 1 2 3 4 5
+ curl -X POST -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1, "method":"getTransactionCount"}' http://localhost:8899
{"jsonrpc":"2.0","result":0,"id":1}
+ break
Error response from daemon: No such container: solana-localnet
Any ideas where is my mistake?
Cheers!
The text was updated successfully, but these errors were encountered:
Hi guys,
I'm trying to run Tic-Tac-Toe to a local Solana.
When I try to build the BPF C program on macOS Mojave v.10.14.1 and execution failed with following stack:
Please, check and the output for starting local Solana:
Error response from daemon: No such container: solana-localnet
Any ideas where is my mistake?
Cheers!
The text was updated successfully, but these errors were encountered: