Title: how to install the alt-coin qt clients with linux Post by: Ecurb123 on November 08, 2013, 09:53:24 PM hi all,
I want to install a few alt-coin clients on a linux machine and I've never done it before, can anyone help me out? Title: Re: how to install the alt-coin qt clients with linux Post by: hhs99 on November 08, 2013, 10:17:11 PM what distro and which coin?
Title: Re: how to install the alt-coin qt clients with linux Post by: dupee419 on November 08, 2013, 10:25:58 PM nearly every distro compiles the same way
you need to have all the dependencies installed in advance, in particular "make" generally the command in terminal is "make -f makefile.unix" for the daemon for the Qt it'd be "qmake" followed by "make" obviously you need to make sure your terminal is pointed at the directory housing the code, but that should do it for suse or any debian based distro. it's considerably easier than compiling for mac or windows edit: i suppose I should mention that the instructions for compiling the daemon need to be executed in the /src directory of the coin code, where as the qt is compiled in the main directory of the code where you find a file called bitcoin-qt.pro (can change based on the coin) Title: Re: how to install the alt-coin qt clients with linux Post by: hhs99 on November 08, 2013, 11:47:47 PM If you tell me what coin and distro I can give you a quick how-to
Title: Re: how to install the alt-coin qt clients with linux Post by: Ecurb123 on November 09, 2013, 08:24:13 AM thanks both. I'm on ubuntu and need a ppcoin and litecoin client. It's funny I feel pretty good using ubuntu, I've been writing python for my raspberry pi, I've got the OS working the way I like it but I'm still confused on how to install software sometimes.
Title: Re: how to install the alt-coin qt clients with linux Post by: hhs99 on November 09, 2013, 01:00:15 PM apt-get install build-essential libssl-dev libdb4.8-dev libdb4.8++-dev libboost-all-dev git
git clone git://github.com/litecoin-project/litecoin.git cd litecoin/src qmake "USE_UPNP=-" make cp litecoind /usr/bin/litecoind; Only need this part if you want to solo mine mkdir ~/.litecoin; echo rpcuser=someusername > ~/.litecoin/litecoin.conf echo rpcpassword=randompassword > ~/.litecoin/litecoin.conf echo rpcallowip=127.0.0.1 > ~/.litecoin/litecoin.conf litecoind -daemon Title: Re: how to install the alt-coin qt clients with linux Post by: dupee419 on November 09, 2013, 01:06:40 PM apt-get install build-essential libssl-dev libdb4.8-dev libdb4.8++-dev libboost-all-dev git git clone git://github.com/litecoin-project/litecoin.git cd litecoin/src qmake "USE_UPNP=-" make cp litecoind /usr/bin/litecoind; Only need this part if you want to solo mine mkdir ~/.litecoin; echo rpcuser=someusername > ~/.litecoin/litecoin.conf echo rpcpassword=randompassword > ~/.litecoin/litecoin.conf echo rpcallowip=127.0.0.1 > ~/.litecoin/litecoin.conf litecoind -daemon very nice. I'd like to mention that litecoin has a prebuilt wallet binary that runs nicely. There is something oddly satisfying about building your own though. Title: Re: how to install the alt-coin qt clients with linux Post by: hhs99 on November 09, 2013, 01:32:06 PM I also perfer to build my own. It makes it feel like I am building a bank or something.
Title: Re: how to install the alt-coin qt clients with linux Post by: hhs99 on November 09, 2013, 01:41:52 PM and for ppcoin heres the instructions
git clone https://github.com/primecoin/primecoin.git cd ./primecoin/src sudo apt-get install libcurl4-openssl-dev sudo apt-get install libglib2.0-dev libglibmm-2.4-dev libgmp-dev sudo apt-get install libboost-all-dev libdb-dev libdb++-dev libminiupnpc-dev libwxgtk2.8-dev qmake "USE_UPNP=-" make and your good. Title: Re: how to install the alt-coin qt clients with linux Post by: Ecurb123 on November 09, 2013, 08:18:45 PM and for ppcoin heres the instructions git clone https://github.com/primecoin/primecoin.git cd ./primecoin/src sudo apt-get install libcurl4-openssl-dev sudo apt-get install libglib2.0-dev libglibmm-2.4-dev libgmp-dev sudo apt-get install libboost-all-dev libdb-dev libdb++-dev libminiupnpc-dev libwxgtk2.8-dev qmake "USE_UPNP=-" make and your good. wow thanks so much! however when I run qmake "USE_UPNP=-" I get the following error: could not find a Qt installation of '' The other steps worked as expected. Title: Re: how to install the alt-coin qt clients with linux Post by: hhs99 on November 09, 2013, 09:17:32 PM sudo apt-get install qt4-qmake sorry I missed a package
Title: Re: how to install the alt-coin qt clients with linux Post by: Ecurb123 on November 09, 2013, 09:41:21 PM I installed the package but am still getting the same message.
Title: Re: how to install the alt-coin qt clients with linux Post by: hhs99 on November 09, 2013, 09:46:03 PM try just qmake if that doesn't work just do a make
Title: Re: how to install the alt-coin qt clients with linux Post by: Ecurb123 on November 09, 2013, 09:54:30 PM qmake gives the same message
make give this message: *** No targets specified and no makefile found. Stop. Title: Re: how to install the alt-coin qt clients with linux Post by: hhs99 on November 09, 2013, 10:06:38 PM Let me get back to the house and I will try it on my Ubuntu machine and see what I get
Title: Re: how to install the alt-coin qt clients with linux Post by: hhs99 on November 09, 2013, 10:31:56 PM Ok you need to do the following
cd into the primecoin directory and do a qmake USE_UPNP=- Then cd src; make -f makefile.unix its still building on my machine I will tell you how to start it when its done. Title: Re: how to install the alt-coin qt clients with linux Post by: Ecurb123 on November 09, 2013, 10:49:08 PM so I went to the primecoin directory and ran the "qmake USE_UPNP=-", however again same message as above.
Then I did something that might have been a mistake, I went to the src directory and ran the "make -f makefile.unix", it did it's thing seemingly successfully. Title: Re: how to install the alt-coin qt clients with linux Post by: hhs99 on November 09, 2013, 11:00:30 PM the makefile one builds the daemon. It might be a longshot but try rebooting. the qt built for me when I did it. Only bad part is I cant find a working peer to connect with to get the block source
Title: Re: how to install the alt-coin qt clients with linux Post by: Ecurb123 on November 09, 2013, 11:47:45 PM I tried resetting but still the same, below is the content of the src dir, maybe that helps:
addrman.cpp db.cpp makefile.unix rpcwallet.cpp addrman.h db.h mruset.h script.cpp alert.cpp hash.cpp netbase.cpp script.h alert.h hash.h netbase.h serialize.h allocators.h init.cpp net.cpp sync.cpp base58.h init.h net.h sync.h bignum.h json noui.cpp test bitcoinrpc.cpp key.cpp obj threadsafety.h bitcoinrpc.h key.h obj-test txdb.cpp bloom.cpp keystore.cpp primecoind txdb.h bloom.h keystore.h prime.cpp ui_interface.h checkpoints.cpp leveldb prime.h uint256.h checkpoints.h leveldb.cpp protocol.cpp util.cpp checkpointsync.cpp leveldb.h protocol.h util.h checkpointsync.h limitedmap.h qt version.cpp checkqueue.h main.cpp rpcblockchain.cpp version.h clientversion.h main.h rpcdump.cpp wallet.cpp compat.h makefile.linux-mingw rpcmining.cpp walletdb.cpp crypter.cpp makefile.mingw rpcnet.cpp walletdb.h crypter.h makefile.osx rpcrawtransaction.cpp wallet.h Title: Re: how to install the alt-coin qt clients with linux Post by: Ecurb123 on November 10, 2013, 11:56:40 AM another update:
I did some searching online and found this http://stackoverflow.com/questions/16607003/qmake-could-not-find-a-qt-installation-of I installed suggested package: sudo apt-get install qtcreator and now when I run qmake in the primecoin dir I get this message: Project MESSAGE: Building with UPNP support sh: 1: /usr/lib/i386-linux-gnu/qt5/bin/lrelease: not found RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_af_ZA.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_ar.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_bg.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_ca_ES.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_cs.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_da.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_de.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_el_GR.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_en.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_es.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_es_CL.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_et.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_eu_ES.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_fa.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_fa_IR.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_fi.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_fr.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_fr_CA.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_he.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_hr.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_hu.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_it.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_lt.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_nb.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_nl.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_pl.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_pt_BR.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_pt_PT.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_ro_RO.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_ru.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_sk.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_sr.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_sv.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_tr.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_uk.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_zh_CN.qm' RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_zh_TW.qm' Title: Re: how to install the alt-coin qt clients with linux Post by: hhs99 on November 10, 2013, 01:40:21 PM The repo could be broken right now. I would create an issue with them and see if they can fix it.
Title: Re: how to install the alt-coin qt clients with linux Post by: Ecurb123 on November 10, 2013, 01:45:26 PM just to make sure I understand, you mean from the source here:
git clone https://github.com/primecoin/primecoin.git Title: Re: how to install the alt-coin qt clients with linux Post by: hhs99 on November 10, 2013, 01:48:08 PM https://github.com/primecoin/primecoin is the developers address. Im sure its something simple
Title: Re: how to install the alt-coin qt clients with linux Post by: Ecurb123 on November 10, 2013, 02:10:18 PM again thanks so much the help. here is what I've done now with more confusion.
I went to the github site, read the readme which told to go to http://primecoin.org/ from there I saw the link to download the client: http://sourceforge.net/projects/primecoin/files/latest/download?source=files I downloaded the client, unpacked it and read the readme: Quote Setup --------------------- You need the Qt4 run-time libraries to run Bitcoin-Qt. On Debian or Ubuntu: `sudo apt-get install libqtgui4` Unpack the files into a directory and run: - bin/32/bitcoin-qt (GUI, 32-bit) - bin/32/bitcoind (headless, 32-bit) - bin/64/bitcoin-qt (GUI, 64-bit) - bin/64/bitcoind (headless, 64-bit) ... I did went to the dir and ran ./bitocin-qt now I have a primecoin wallet! However two things I don't understand... 1. Why can I simply download and run the client, when before we were trying to compile the whole thing, what is the advantage to compiling if there is one? 2. Why the heck is it a primecoin wallet, when from the star I wanted PPcoin wallet!? :) Are they somehow the same thing? Title: Re: how to install the alt-coin qt clients with linux Post by: Ecurb123 on November 10, 2013, 02:14:20 PM also one more thing to your point about now being able to connect to a peer, at first I also wasn't able to connect, but then I turned off my VPN, now it works. Maybe the VPN service won't allow that protocol?
Title: Re: how to install the alt-coin qt clients with linux Post by: hhs99 on November 10, 2013, 02:16:22 PM Sorry to early and not enough caffeine
for ppcoin same process different link http://sourceforge.net/projects/ppcoin/files/0.3.0/ppcoin-0.3.0-linux.tar.gz/download and do the same thing. Title: Re: how to install the alt-coin qt clients with linux Post by: Ecurb123 on November 10, 2013, 02:28:51 PM got it thanks
|