Author Topic: Как собирать кошелёк protoshared на linux  (Read 2919 times)

0 Members and 1 Guest are viewing this topic.

Offline testz

Спасибо, собралось. Особенно помогло удаление всех исходников и закачивание заново.

Теперь что-то не хочет с другими кошельками соединяться. Фаервола вроде нет


Это Вам должно помочь:
https://bitsharestalk.org/index.php?topic=406.0

Offline ichai

  • Newbie
  • *
  • Posts: 10
    • View Profile
Спасибо, собралось. Особенно помогло удаление всех исходников и закачивание заново.

Теперь что-то не хочет с другими кошельками соединяться. Фаервола вроде нет

Code: [Select]
trying connection 64.90.183.137:3888 lastseen=104.2hrs
connect() failed after select(): Connection refused
trying connection 198.199.123.240:3888 lastseen=358397.9hrs
connect() failed after select(): Connection refused
trying connection 198.211.112.13:3888 lastseen=97.5hrs
trying connection 162.243.30.55:3888 lastseen=358397.9hrs
connect() failed after select(): Connection refused
trying connection 192.241.195.192:3888 lastseen=358397.9hrs
connect() failed after select(): Connection refused
trying connection 37.139.11.99:3888 lastseen=358397.9hrs
connect() failed after select(): Connection refused
trying connection 68.111.255.52:3888 lastseen=358397.9hrs
connection timeout
trying connection 162.243.54.126:3888 lastseen=86.9hrs
connection timeout
trying connection 85.24.140.105:3888 lastseen=358397.9hrs
connection timeout
trying connection 54.212.175.33:3888 lastseen=84.7hrs
connection timeout
trying connection 171.212.227.5:3888 lastseen=358397.9hrs
connection timeout
trying connection 37.139.29.236:3888 lastseen=107.1hrs
connection timeout
trying connection 106.186.114.109:3888 lastseen=358397.9hrs
connect() failed after select(): Connection refused
trying connection 180.183.204.204:3888 lastseen=358397.9hrs
connection timeout
trying connection 192.241.150.158:3888 lastseen=114.0hrs
connect() failed after select(): Connection refused
trying connection 106.187.41.67:3888 lastseen=76.0hrs
connection timeout
trying connection 146.185.173.206:3888 lastseen=358397.9hrs
connect() failed after select(): Connection refused
trying connection 54.219.166.105:3888 lastseen=358397.9hrs
connection timeout
trying connection 54.212.175.33:3888 lastseen=84.7hrs
connection timeout
trying connection 188.165.216.59:3888 lastseen=358397.9hrs
connect() failed after select(): Connection refused
trying connection 182.236.161.243:3888 lastseen=358397.9hrs
connected 182.236.161.243:3888
send version message: version 70001, blocks=0, us=109.234.154.125:3888, them=182.236.161.243:3888, peer=182.236.161.243:3888
socket recv error 104
disconnecting node 182.236.161.243:3888
trying connection 192.241.240.44:3888 lastseen=358397.9hrs
connect() failed after select(): Connection refused
trying connection 162.243.34.76:3888 lastseen=358397.9hrs
connection timeout
connect() failed after select(): Connection refused
trying connection 198.211.112.13:3888 lastseen=97.5hrs
trying connection 123.110.21.18:3888 lastseen=358397.9hrs
connection timeout
connection timeout
trying connection 64.90.183.137:3888 lastseen=104.2hrs
connect() failed after select(): Connection refused
trying connection 192.241.150.158:3888 lastseen=114.0hrs
connect() failed after select(): Connection refused
trying connection 54.218.232.206:3888 lastseen=76.1hrs
connection timeout
trying connection 192.241.150.158:3888 lastseen=114.0hrs
connect() failed after select(): Connection refused
trying connection 54.219.164.96:3888 lastseen=104.8hrs
connection timeout
trying connection 37.139.29.236:3888 lastseen=107.1hrs
connection timeout
trying connection 162.243.54.126:3888 lastseen=86.9hrs
connection timeout

Offline testz

Что-то выдаёт кучу ошибок. libboost из sid 1.54
Полный текст лога здесь:
http://pastie.org/8648745

Похоже он boost совсем не видит, проверьте свою переменную среды BOOST_INCLUDE_PATH.

Для makefile.unix запуск на компиляцию должен выглядеть примерно как тут:
http://unix.stackexchange.com/questions/82858/compiling-bitcoind-on-openbsd

BOOST_INCLUDE_PATH=/usr/local/include \
BOOST_LIB_PATH=/usr/local/lib \
BDB_INCLUDE_PATH=/usr/local/BerkeleyDB.4.8/include \
BDB_LIB_PATH=/usr/local/BerkeleyDB.4.8/lib \
BOOST_LIB_SUFFIX=-mt \
gmake -f makefile.unix -j8 USE_UPNP= bitcoind test_bitcoin

Offline ichai

  • Newbie
  • *
  • Posts: 10
    • View Profile
Что-то выдаёт кучу ошибок. libboost из sid 1.54
Полный текст лога здесь:
http://pastie.org/8648745

Offline testz

Возник вопрос как собирать кошелёк. Через cmake . / make или сразу используя make -f make.unix
?

Да, командой make -f makefile.unix
Для того чтобы он нормально собрался у Вас должны быть все необходимые пакеты, все команды для сборки выглядят так:

Code: [Select]
sudo apt-get update && sudo apt-get install -y screen yasm git make g++ build-essential libminiupnpc-dev libboost-all-dev libdb++-dev libgmp-dev libssl-dev dos2unix
git clone https://github.com/InvictusInnovations/ProtoShares.git
cd ~/ProtoShares/src
make -f makefile.unix

Я под linux не собирал, но для других систем он собирается без проблем.

Также собирать qt и protosharesd можно командами:
Code: [Select]
qmake protoshares-qt.pro
mingw32-make -f Makefile.Release
или
Code: [Select]
qmake protosharesd.pro
mingw32-make -f Makefile.Release

Offline ichai

  • Newbie
  • *
  • Posts: 10
    • View Profile
Возник вопрос как собирать кошелёк. Через cmake . / make или сразу используя make -f make.unix
?