Leveilleur (OP)
|
|
April 08, 2015, 05:09:43 PM |
|
Hello everyone, I want a reliable procedure to compile wallets crypto-currencies on Ubuntu X64 14.04 - I want to know the procedure for installing a clean system - What dependencies it has need (exactly) - In what order to install? (addictions) - is it better to use qt4 or qt5 for compilation ? I found a lot of respect on the net that speaks compiling wallets but I still have a concern, or an error messenger during the procedure. Thank you in advance for your constructive answers!
|
hushus
|
|
|
|
Leveilleur (OP)
|
|
April 08, 2015, 05:40:50 PM |
|
if you get any error when installing any dependency/compiling google it there will be an answer. I'm not unix developper, i'm not bitcoin crypto currency developper, google is useless when you must debug the install script Just need a valid procedure : February 11, 2014, 04:15:38 PM, It is no longer relevant
|
hushus
|
|
|
YarkoL
Legendary
Offline
Activity: 996
Merit: 1013
|
|
April 08, 2015, 06:26:51 PM |
|
One starting point: https://litecointalk.org/index.php?topic=43.0Most alts can be built following the procedure. Study the readme.md in the github repository to see if something extra is needed, if you need Qt5 etc
|
“God does not play dice"
|
|
|
billotronic
Legendary
Offline
Activity: 1610
Merit: 1000
Crackpot Idealist
|
|
April 08, 2015, 07:49:15 PM |
|
if you get any error when installing any dependency/compiling google it there will be an answer. I'm not unix developper, i'm not bitcoin crypto currency developper, google is useless when you must debug the install script Just need a valid procedure : February 11, 2014, 04:15:38 PM, It is no longer relevant thats just it though, not all coins install the same way... either different build systems (qmake vs autotools) or different deps
|
|
|
|
Leveilleur (OP)
|
|
April 09, 2015, 11:55:50 AM |
|
ubuntu 14.04Fail during the compilation, ( https://github.com/worldcoinproject/worldcoin-v0.8) which qmake /usr/bin/qmake
installed before compile : sudo apt-get install build-essential libssl-dev libdb5.1-dev libdb5.1++-dev libboost-all-dev git qt-sdk
:~/worldcoin-v0.8$ qmake "USE_UPNP=-"
or :~/worldcoin-v0.8$ qmake USE_UPNP=-
src/qt/worldcoingui.cpp:75:18: fatal error: QSound: Aucun fichier ou dossier de ce type #include <QSound> ^ compilation terminated. make: *** [build/worldcoingui.o] Erreur 1
thanks for your help
|
hushus
|
|
|
billotronic
Legendary
Offline
Activity: 1610
Merit: 1000
Crackpot Idealist
|
|
April 09, 2015, 12:00:32 PM |
|
no qt?sudo apt-get install qt5-qmake libqt5gui5 libqt5core5 libqt5dbus5 qttools5-dev-tools
|
|
|
|
|
Leveilleur (OP)
|
|
April 09, 2015, 12:12:00 PM |
|
Try to apply this, return Worldcoin-Qt: Qt4 GUI for Worldcoin
Build instructions
for Ubuntu >= 12.04
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
For Qt 5 you need the following, otherwise you get an error with lrelease when running qmake:
apt-get install qt5-qmake libqt5gui5 libqt5core5 libqt5dbus5 qttools5-dev-tools then execute the following:
qmake make
qmake Project MESSAGE: Building with UPNP support sh: 1: /usr/lib/x86_64-linux-gnu/qt5/bin/lrelease: not found RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_af_ZA.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_ar.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_bg.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_ca_ES.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_cs.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_da.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_de.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_el_GR.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_en.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_es.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_es_CL.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_et.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_eu_ES.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_fa.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_fa_IR.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_fi.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_fr.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_fr_CA.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_he.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_hr.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_hu.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_it.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_lt.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_nb.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_nl.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_pl.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_pt_BR.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_pt_PT.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_ro_RO.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_ru.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_sk.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_sr.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_sv.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_tr.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_uk.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_zh_CN.qm' RCC: Error in 'src/qt/worldcoin.qrc': Cannot find file 'locale/worldcoin_zh_TW.qm'
make cd /home/miner/worldcoin-v0.8/src/leveldb && CC=gcc CXX=g++ make OPT="-m64 -pipe -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2" libleveldb.a libmemenv.a make[1]: entrant dans le répertoire « /home/miner/worldcoin-v0.8/src/leveldb » make[1]: « libleveldb.a » est à jour. make[1]: « libmemenv.a » est à jour. make[1]: quittant le répertoire « /home/miner/worldcoin-v0.8/src/leveldb » cd /home/miner/worldcoin-v0.8; /bin/sh share/genbuild.sh /home/minerlocal/worldcoin-v0.8/build/build.h g++ -c -m64 -pipe -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fPIE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -Isrc -Isrc/json -Isrc/qt -I/usr/include/miniupnpc -Isrc/leveldb/include -Isrc/leveldb/helpers -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -o build/worldcoingui.o src/qt/worldcoingui.cpp In file included from src/qt/worldcoingui.cpp:8:0: src/qt/worldcoingui.h:4:23: fatal error: QMainWindow: Aucun fichier ou dossier de ce type #include <QMainWindow> ^ compilation terminated. make: *** [build/worldcoingui.o] Erreur 1
|
hushus
|
|
|
YarkoL
Legendary
Offline
Activity: 996
Merit: 1013
|
|
April 09, 2015, 12:42:33 PM |
|
For Qt 5 you need the following, otherwise you get an error with lrelease when running qmake:
sh: 1: /usr/lib/x86_64-linux-gnu/qt5/bin/lrelease: not found
Are you using QT Creator? Anyway make sure you really are compiling with Qt5
|
“God does not play dice"
|
|
|
Leveilleur (OP)
|
|
April 09, 2015, 01:57:07 PM |
|
With Qt-Creator with : https://github.com/industrialcoinmagic/crave/home/miner/crave/src/key.cpp:17: erreur : secp256k1.h: No such file or directory #include <secp256k1.h> ^ in key.ccp line : 17 16#ifdef USE_SECP256K1 17#include <secp256k1.h> 18#endif
|
hushus
|
|
|
Leveilleur (OP)
|
|
April 11, 2015, 05:03:39 PM Last edit: April 11, 2015, 05:32:54 PM by Leveilleur |
|
Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so( manual pages. ---------------------------------------------------------------------- /bin/mkdir -p '/usr/local/include' /usr/bin/install -c -m 644 include/secp256k1.h '/usr/local/include' /bin/mkdir -p '/usr/local/lib/pkgconfig' /usr/bin/install -c -m 644 libsecp256k1.pc '/usr/local/lib/pkgconfig' make[1]: quittant le répertoire « /home/userlocal/secp256k1 » Can anyone give me the contents of his /etc/ld.so.conf? And, I do not know what to insert for "$INSTALL_PREFIX" ?
|
hushus
|
|
|
YarkoL
Legendary
Offline
Activity: 996
Merit: 1013
|
|
April 11, 2015, 05:46:37 PM |
|
Can anyone give me the contents of his /etc/ld.so.conf? Is there any compelling reason why you would like use that option (other ones are provided in the instructions)? And, I do not know what to insert for "$INSTALL_PREFIX" ? The directory where you want to install to. Libbitcoin eh? You've come a long way in a short time
|
“God does not play dice"
|
|
|
Leveilleur (OP)
|
|
April 11, 2015, 05:58:39 PM |
|
Is there any compelling reason why you would like use that option (other ones are provided in the instructions)?
I want to ensure it is installed ! "Error include secp256k1.h" during qt compilation The directory where you want to install to.
What is the default location?(Ubuntu 14.02) Libbitcoin eh? You've come a long way in a short time what is "Libbitcoin" ?
|
hushus
|
|
|
YarkoL
Legendary
Offline
Activity: 996
Merit: 1013
|
|
April 11, 2015, 08:10:11 PM |
|
Ok, I went through your posts, and maybe I understand now what you're trying to do. You want to build a coin named Crave and it hangs because it does not find secp256k1.h - right? What does the readme.md say? To build Crave, you clone the libsecp256k1 repository that is linked above, and build it first, according to the instructions, again in that repo's readme. Then you have the missing library and can try building Crave again. Good luck!
|
“God does not play dice"
|
|
|
Leveilleur (OP)
|
|
April 11, 2015, 11:35:13 PM |
|
Ok, I went through your posts, and maybe I understand now what you're trying to do. You want to build a coin named Crave and it hangs because it does not find secp256k1.h - right? What does the readme.md say? To build Crave, you clone the libsecp256k1 repository that is linked above, and build it first, according to the instructions, again in that repo's readme. Then you have the missing library and can try building Crave again. Good luck! when you say " clone the libsecp256k1 repository that is linked ", i do not know what the location or paste the folder
|
hushus
|
|
|
|