Author

Topic: catcoin на ubuntu 13.10 (Read 1379 times)

ri
full member
Activity: 140
Merit: 118
December 26, 2013, 04:21:48 PM
#6
Всем спасибо, вопрос решен.

Сработала наводка
Попробуйте так: скопируйте все от g++ и удалите там -static

Обнаружил ключ -static в переменной LDFLAGS в Makefile - удалил его и скомпилил нормально.
ri
full member
Activity: 140
Merit: 118
December 26, 2013, 02:10:32 PM
#5
Code:
sudo aptitude install qt5-default qttools5-dev-tools
Все стоит.

Code:
/usr/bin/ld: cannot find -lQt5Widgets
/usr/bin/ld: cannot find -lQt5Network
/usr/bin/ld: cannot find -lQt5Gui
/usr/bin/ld: cannot find -lQt5Core
/usr/bin/ld: cannot find -lGL
ни о чём не говорит?
Ну, в принципе говорит о том, что линковщик чего-то не находит... Вопрос - чего именно?

Попробуйте так: скопируйте все от g++ и удалите там -static
Признаться, не понял - что именно скопировать, куда, и где удалять -static?
sr. member
Activity: 254
Merit: 250
December 26, 2013, 07:07:33 AM
#4
Code:
/usr/bin/ld: cannot find -lQt5Widgets
/usr/bin/ld: cannot find -lQt5Network
/usr/bin/ld: cannot find -lQt5Gui
/usr/bin/ld: cannot find -lQt5Core
/usr/bin/ld: cannot find -lGL
ни о чём не говорит?
Блин, а ведь точно, вот что значить читать портянки самый верх и самый низ Smiley
full member
Activity: 156
Merit: 100
December 26, 2013, 06:42:12 AM
#3
Code:
sudo aptitude install qt5-default qttools5-dev-tools
sr. member
Activity: 254
Merit: 250
December 26, 2013, 05:52:33 AM
#2
Попробуйте так: скопируйте все от g++ и удалите там -static
ri
full member
Activity: 140
Merit: 118
December 25, 2013, 06:05:00 PM
#1
Не могу собрать Catcoin на ubuntu 13.10. Вроде бы все возможные пакеты (в т.ч. -dev) стоят, другие кошельки собираются успешно.

Симптомы:

$ qmake
Project MESSAGE: Building with UPNP support
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
$ make
...
[вырезано очень много всякой всячины]
...
g++ -m64 -fstack-protector-all -static -Wl,-O1 -o catcoin-qt build/bitcoin.o build/bitcoingui.o build/transactiontablemodel.o build/addresstablemodel.o build/optionsdialog.o build/sendcoinsdialog.o build/coincontroldialog.o build/coincontroltreewidget.o build/addressbookpage.o build/signverifymessagedialog.o build/aboutdialog.o build/editaddressdialog.o build/bitcoinaddressvalidator.o build/alert.o build/version.o build/sync.o build/util.o build/hash.o build/netbase.o build/key.o build/script.o build/main.o build/init.o build/net.o build/bloom.o build/checkpoints.o build/addrman.o build/db.o build/walletdb.o build/clientmodel.o build/guiutil.o build/transactionrecord.o build/optionsmodel.o build/monitoreddatamapper.o build/transactiondesc.o build/transactiondescdialog.o build/bitcoinstrings.o build/bitcoinamountfield.o build/wallet.o build/keystore.o build/transactionfilterproxy.o build/transactionview.o build/walletmodel.o build/walletview.o build/walletstack.o build/walletframe.o build/bitcoinrpc.o build/rpcdump.o build/rpcnet.o build/rpcmining.o build/rpcwallet.o build/rpcblockchain.o build/rpcrawtransaction.o build/overviewpage.o build/csvmodelwriter.o build/crypter.o build/sendcoinsentry.o build/qvalidatedlineedit.o build/bitcoinunits.o build/qvaluecombobox.o build/askpassphrasedialog.o build/protocol.o build/notificator.o build/paymentserver.o build/rpcconsole.o build/scrypt.o build/noui.o build/leveldb.o build/txdb.o build/splashscreen.o build/qrc_bitcoin.o build/moc_bitcoingui.o build/moc_transactiontablemodel.o build/moc_addresstablemodel.o build/moc_optionsdialog.o build/moc_sendcoinsdialog.o build/moc_coincontroldialog.o build/moc_coincontroltreewidget.o build/moc_addressbookpage.o build/moc_signverifymessagedialog.o build/moc_aboutdialog.o build/moc_editaddressdialog.o build/moc_bitcoinaddressvalidator.o build/moc_clientmodel.o build/moc_guiutil.o build/moc_optionsmodel.o build/moc_monitoreddatamapper.o build/moc_transactiondesc.o build/moc_transactiondescdialog.o build/moc_bitcoinamountfield.o build/moc_transactionfilterproxy.o build/moc_transactionview.o build/moc_walletmodel.o build/moc_walletview.o build/moc_walletstack.o build/moc_walletframe.o build/moc_overviewpage.o build/moc_csvmodelwriter.o build/moc_sendcoinsentry.o build/moc_qvalidatedlineedit.o build/moc_bitcoinunits.o build/moc_qvaluecombobox.o build/moc_askpassphrasedialog.o build/moc_notificator.o build/moc_paymentserver.o build/moc_rpcconsole.o build/moc_macnotificationhandler.o build/moc_splashscreen.o   -L/usr/X11R6/lib64 -lminiupnpc /home/work/src/catcoin-master/src/leveldb/libleveldb.a /home/work/src/catcoin-master/src/leveldb/libmemenv.a -lrt -lssl -lcrypto -ldb_cxx -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -lQt5Widgets -L/usr/lib/x86_64-linux-gnu -lQt5Network -lQt5Gui -lQt5Core -lpthread -lGL
/usr/bin/ld: cannot find -lQt5Widgets
/usr/bin/ld: cannot find -lQt5Network
/usr/bin/ld: cannot find -lQt5Gui
/usr/bin/ld: cannot find -lQt5Core
/usr/bin/ld: cannot find -lGL
build/netbase.o: In function `LookupIntern(char const*, std::vector >&, unsigned int, bool)':
netbase.cpp:(.text+0x2938): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
collect2: error: ld returned 1 exit status
make: *** [catcoin-qt] Ошибка 1
$
Jump to: