Bitcoin Forum
May 07, 2024, 06:03:16 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Компилирование кошелка  (Read 1174 times)
Bitock (OP)
Full Member
***
Offline Offline

Activity: 213
Merit: 100


View Profile
January 01, 2014, 11:00:59 AM
 #1

Не могу разобраться как скомпилировать кошелёк. Выполняю всё как написано в инструкции readme-qt.rst. Выполняю qmake "USE_UPNP=1" в папке кошелек/src, но требуется ещё какие-то опции. Вывод внизу.

Code:
Usage: /usr/lib/x86_64-linux-gnu/qt4/bin/qmake [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
  -project       Put qmake into project file generation mode
                 In this mode qmake interprets files as files to
                 be built,
                 defaults to *.c; *.ui; *.y; *.l; *.ts; *.xlf; *.qrc; *.h; *.hpp; *.hh; *.hxx; *.H; *.cpp; *.cc; *.cxx; *.C
                 Note: The created .pro file probably will
                 need to be edited. For example add the QT variable to
                 specify what modules are required.
  -makefile      Put qmake into makefile generation mode (default)
                 In this mode qmake interprets files as project files to
                 be processed, if skipped qmake will try to find a project
                 file in your current working directory

Warnings Options:
  -Wnone         Turn off all warnings; specific ones may be re-enabled by
                 later -W options
  -Wall          Turn on all warnings
  -Wparser       Turn on parser warnings
  -Wlogic        Turn on logic warnings (on by default)
  -Wdeprecated   Turn on deprecation warnings (on by default)

Options:
   * You can place any variable assignment in options and it will be     *
   * processed as if it was in [files]. These assignments will be parsed *
   * before [files].                                                     *
  -o file        Write output to file
  -d             Increase debug level
  -t templ       Overrides TEMPLATE as templ
  -tp prefix     Overrides TEMPLATE so that prefix is prefixed into the value
  -help          This help
  -v             Version information
  -after         All variable assignments after this will be
                 parsed after [files]
  -norecursive   Don't do a recursive search
  -recursive     Do a recursive search
  -set <prop> <value> Set persistent property
  -unset <prop>  Unset persistent property
  -query <prop>  Query persistent property. Show all if <prop> is empty.
  -cache file    Use file as cache           [makefile mode only]
  -spec spec     Use spec as QMAKESPEC       [makefile mode only]
  -nocache       Don't use a cache file      [makefile mode only]
  -nodepend      Don't generate dependencies [makefile mode only]
  -nomoc         Don't generate moc targets  [makefile mode only]
  -nopwd         Don't look for files in pwd [project mode only]

ОС Ubuntu 13.10.

Помогите, пожалуйста!
1715061796
Hero Member
*
Offline Offline

Posts: 1715061796

View Profile Personal Message (Offline)

Ignore
1715061796
Reply with quote  #2

1715061796
Report to moderator
1715061796
Hero Member
*
Offline Offline

Posts: 1715061796

View Profile Personal Message (Offline)

Ignore
1715061796
Reply with quote  #2

1715061796
Report to moderator
1715061796
Hero Member
*
Offline Offline

Posts: 1715061796

View Profile Personal Message (Offline)

Ignore
1715061796
Reply with quote  #2

1715061796
Report to moderator
Make sure you back up your wallet regularly! Unlike a bank account, nobody can help you if you lose access to your BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715061796
Hero Member
*
Offline Offline

Posts: 1715061796

View Profile Personal Message (Offline)

Ignore
1715061796
Reply with quote  #2

1715061796
Report to moderator
wextel
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
January 01, 2014, 01:56:02 PM
 #2

Расскажи, как ты компилировал?
Bitock (OP)
Full Member
***
Offline Offline

Activity: 213
Merit: 100


View Profile
January 01, 2014, 03:17:40 PM
 #3

Скачал отсюда. Распаковал. В файле doc/readme-qt.rst читаю как компилировать графическую версию (worldcoin-qt). Установил все зависимости:

Code:
for Ubuntu >= 12.04 (please read the 'Berkely DB version warning' below):

apt-get install qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev \
    libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev \
    libssl-dev libdb++-dev libminiupnpc-dev


Вот как правильно выполнить последовательность:

Code:
then execute the following:

qmake
make

точно не знаю.
Выполнял qmake "USE_UPNP=-" или qmake "USE_UPNP=1", но требуются ещё какие-то опции, описанные выше.
Bitock (OP)
Full Member
***
Offline Offline

Activity: 213
Merit: 100


View Profile
January 01, 2014, 05:52:32 PM
 #4

Помогите, пожалуйста!!!
Morbo
Member
**
Offline Offline

Activity: 115
Merit: 11


View Profile
January 01, 2014, 07:18:29 PM
 #5

Пробовал подсмотреть как собирается bitcoin-qt в Ubuntu?

http://drunkyoda.tk/ - Bitcoin blog by newbie for newbies (no ads, no reflinks, no donation begging)
Bitock (OP)
Full Member
***
Offline Offline

Activity: 213
Merit: 100


View Profile
January 01, 2014, 07:24:24 PM
 #6

Где смотреть?
Morbo
Member
**
Offline Offline

Activity: 115
Merit: 11


View Profile
January 01, 2014, 07:32:50 PM
 #7

на launchpad был ppa для bitcoin

http://drunkyoda.tk/ - Bitcoin blog by newbie for newbies (no ads, no reflinks, no donation begging)
Bitock (OP)
Full Member
***
Offline Offline

Activity: 213
Merit: 100


View Profile
January 01, 2014, 07:40:34 PM
 #8

Нашёл здесь статью. Где выполняются команды:
Code:
qmake USE_UPNP=- USE_QR_CODE=0
make
не понимаю.
Зачем мне PPA? Хочу собрать с исходников и не для bitcoin.
Morbo
Member
**
Offline Offline

Activity: 115
Merit: 11


View Profile
January 01, 2014, 08:34:51 PM
 #9

Затем что deb пакеты собираются скриптами а не вручную, практически все альтернативные криптовалюты являются форками Bitcoin, а значит процесс сборки принципиально не отличается.

http://drunkyoda.tk/ - Bitcoin blog by newbie for newbies (no ads, no reflinks, no donation begging)
Bitock (OP)
Full Member
***
Offline Offline

Activity: 213
Merit: 100


View Profile
January 01, 2014, 08:38:44 PM
Last edit: January 01, 2014, 08:49:54 PM by Bitock
 #10

Зашёл в папку worldcoin-v0.8-master-0.8. Листинг:
Code:
total 44
drwxr-xr-x 14 shattle shattle  4096 дек.  22 10:39 contrib
-rw-r--r--  1 shattle shattle  1112 дек.  22 10:39 COPYING
drwxr-xr-x  2 shattle shattle  4096 дек.  22 10:39 doc
-rw-r--r--  1 shattle shattle   330 дек.  22 10:39 INSTALL
-rw-r--r--  1 shattle shattle  2507 дек.  22 10:39 README.md
drwxr-xr-x  5 shattle shattle  4096 дек.  22 10:39 share
drwxr-xr-x  8 shattle shattle  4096 дек.  22 10:39 src
-rw-r--r--  1 shattle shattle 15016 дек.  22 10:39 worldcoin-qt.pro
Выполнил qmake "USE_UPNP=1", затем make.
Всё получилось!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!