#author("2018-01-14T06:53:28+09:00","","") * Raspbian Stretch with desktop 2017-11-29[#pcfc5736] ** コンパイル時にメモリ不足で異常停止するのでスワップメモリの確保 [#t1ef2ae7] ピークで1GB突破するので2GB以上必要。但しSDカードの寿命を縮める諸刃の剣。 sudo /etc/init.d/dphys-swapfile stop sudo nano /etc/dphys-swapfile CONF_SWAPSIZE=2048 sudo /etc/init.d/dphys-swapfile start ** libsslの旧バージョンのためのリポジトリの追加 [#g83775dd] sudo nano /etc/apt/sources.list deb http://ftp.jaist.ac.jp/raspbian stretch main contrib non-free deb http://ftp.jaist.ac.jp/raspbian wheezy main contrib non-free ** リポジトリ更新 [#r8a9ead8] sudo apt-get update ** gitクライアントインストール [#l77997cb] sudo apt-get install git ** ライブラリインストール [#na95a98a] sudo apt-get install build-essential sudo apt-get install libssl1.0-dev sudo apt-get install libdb5.3-dev sudo apt-get install libdb5.3++-dev sudo apt-get install libqrencode-dev sudo apt-get install libminiupnpc-dev sudo apt-get install libboost1.58-all-dev sudo apt-get install libqt4-dev ** プロジェクトの取得 [#s00a9c36] git clone https://github.com/kumacoinproject/kumacoin.git --depth=10 cd kumacoin ** コードの修正 [#r7e5731d] どうやらソースコードの記述上の問題でコンパイルエラーが出るので修正します。 cd src nano net.cpp 60行目 array<int, THREAD_MAX> vnThreadsRunning; を 修正する boost::array<int, THREAD_MAX> vnThreadsRunning; ** Kumacoindのビルド [#n0624ec2] Kumacoind単体(GUIなし)のビルド cd src make -f makefile.unix xCPUARCH=armv6l -j3 ** Kumacoindの起動 [#v16dbcf4] ./kumacoind で一度起動します。 初回起動時にRPCアクセス用のIDとランダムなパスワードが表示されるので、 nano ~/.Kumacoin/kumacoin.conf に書き込みます。同時に、初期ノード等も登録します。 ./kumacoind -daemon で起動するとデーモンモードで起動します。 ** QT4でビルド(未成功) [#i608963d] QT(GUI付き)のビルド Makefileの生成 qmake ビルド make -j3 ** RPCアクセス [#sea77c3f] curl --user ID:PASS -H "X-Requested-With: XMLHttpRequest" -H "Content-Type: application/json" -X POST -d '{"jsonrpc": "2.0","id": 6412,"method":"getinfo","params":[]}' http://localhost:7585/api/1 | jq -r 試行錯誤中@Daisuke