This is a little guide to help you compile the memecoin-qt client on (X)Ubuntu.
Since they are all based on the same client, this guide should also be applicable on other clients like the litecoin-qt, feathercoin-qt, …
1. Install git, make a ~/src directory and clone the memecoin-qt source code
mining@mining:sudo apt-get install git mining@mining:cd ~ mining@mining:mkdir src mining@mining:cd src mining@mining:git clone https://github.com/muddafudda/Memecoin
2. Download the needed development files
sudo apt-get install build-essential libssl-dev \ libdb-dev libdb++-dev libboost-all-dev \ libqrencode-dev qt4-qmake libqtgui4 libqt4-dev
3. Fix memecoin-qt.pro
There is a little error in the memecoin-qt.pro file which forces make to use a very specific version of boost. Open ~/src/Memecoin/memecoin-qt.pro and change the line that says
LIBS += -lboost_system-mgw46-mt-sd-1_53 -lboost_filesystem-mgw46-mt-sd-1_53 -lboost_program_options-mgw46-mt-sd-1_53 -lboost_thread-mgw46-mt-sd-1_53
into
LIBS += -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread
BOOST_LIB_SUFFIX=-mgw46-mt-sd-1_53
should become
BOOST_LIB_SUFFIX=
and deleting the following lines
isEmpty(BOOST_LIB_SUFFIX) {
macx:BOOST_LIB_SUFFIX = -mt
windows:BOOST_LIB_SUFFIX = -mgw44-mt-s-1_53
}
should help you fix errors like:
ddatamapper.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_overviewpage.o build/moc_csvmodelwriter.o build/moc_sendcoinsentry.o build/moc_qvalidatedlineedit.o build/moc_qvaluecombobox.o build/moc_askpassphrasedialog.o build/moc_notificator.o build/moc_miningpage.o build/moc_rpcconsole.o build/qrc_bitcoin.o -L/usr/lib/i386-linux-gnu -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -lrt -LC:/deps/boost/stage/lib -Lc:/deps/db/build_unix -Lc:/deps/ssl -lssl -lcrypto -ldb_cxx -lboost_system-mgw46-mt-sd-1_53 -lboost_filesystem-mgw46-mt-sd-1_53 -lboost_program_options-mgw46-mt-sd-1_53 -lboost_thread-mgw46-mt-sd-1_53 -lQtGui -lQtCore -lpthread /usr/bin/ld: cannot find -lboost_system-mgw46-mt-sd-1_53 /usr/bin/ld: cannot find -lboost_filesystem-mgw46-mt-sd-1_53 /usr/bin/ld: cannot find -lboost_program_options-mgw46-mt-sd-1_53 /usr/bin/ld: cannot find -lboost_thread-mgw46-mt-sd-1_53 collect2: error: ld returned 1 exit status make: *** [memecoin-qt] Error 1
4. Prepare the installation
mining@mining:cd ~/src/MemeCoin mining@mining:qmake USE_UPNP=- USE_QRCODE=0 USE_IPV6=0
You can safely ignore following messages:
Project MESSAGE: Building without UPNP support
Project MESSAGE: Building with UPNP supportRemoved plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
5. Build it
mining@mining: make
The last step might take a while, but once it’s finished, there should be an executable file called ‘memecoin-qt’ in ~/src/Memecoin/
Edit 2013-12-20: Please also check out my cryptocurrency build script which automates a few things for you on Linux.
Looks good man, thanks for the helpful article. I’m trying to do the same — not build wallets, but trying to get people interested and involved with bitcoins. I’m obviously not going to spam my new WordPress here, but keep it up; nice blog. Nice theme as well, looks familiar 🙂 Smart minds think the same it seems. By the way, not sure if you mine — but are you bothering mining MEM? Or just made this as a tutorial?
Following because you put this together — I was planning on writing something in Linux and posting how to build a wallet — I’ll just forward them here.
Thanks again man, even I learned from your article. Follow me as well — the more digital-currency lovers, the better. Let’s make the revolution get rolling!
Thanks man 😉 .
I’m indeed mining MEM-coins hoping they’ll rise in value in a few months :p . I also wrote a post to build most other cryptocoin wallets in linux: https://pw999.wordpress.com/2013/10/05/build-cryptocoin-walletclient-on-linux/ , might be more interesting to forward people to.
i’m trying to compile the dogecoins wallet, but i get this error at the end of the make process:
src/main.cpp:17:53: fatal error: boost/random/uniform_int_distribution.hpp: no such file o directory
compilation terminated.
make: *** [build/main.o] Error 1
what’s wrong? ty
Hey,
looks like you’re having some missing dependencies. My best guess is that you need to install “libboost-all-dev”. If it’s still not working, this should be the complete list of dependencies to install: build-essential libssl-dev libdb-dev libdb++-dev libboost-all-dev libqrencode-dev qt4-qmake libqtgui4 libqt4-dev libprotobuf-dev libprotoc-dev protobuf-compiler git autoconf automake
You may also want to try my build script: https://pw999.wordpress.com/2013/10/05/build-cryptocoin-walletclient-on-linux/
The script worked out-of-the box for dogecoin-qt on Xubuntu.
is there any way to compile the windows wallet on linux? i have followed a few guides but so far none have worked
Hmmm, I doubt it. Maybe if you try running the Linux wallet from cygwin or babun on Windows?
Great Great Great I can’t say any other thing!!!
I want be your friend Phillip.
Excellent and cool person I have every seen.