Build instructions on the wiki

Post Reply
phelix
Posts: 1634
Joined: Thu Aug 18, 2011 6:59 am

Build instructions on the wiki

Post by phelix »

Are the build instructions for linux up to date?

http://dot-bit.org/BuildNamecoinQTFromSource
http://dot-bit.org/BuildNamecoinFromSource

If not somebody fix it please!
nx.bit - some namecoin stats
nf.bit - shortcut to this forum

snailbrain
Posts: 309
Joined: Tue Jul 19, 2011 9:33 pm

Re: Build instructions on the wiki

Post by snailbrain »

phelix wrote:Are the build instructions for linux up to date?

http://dot-bit.org/BuildNamecoinQTFromSource
http://dot-bit.org/BuildNamecoinFromSource

If not somebody fix it please!
qt one should be ok

domob
Posts: 1129
Joined: Mon Jun 24, 2013 11:27 am
Contact:

Re: Build instructions on the wiki

Post by domob »

phelix wrote:Are the build instructions for linux up to date?

http://dot-bit.org/BuildNamecoinQTFromSource
http://dot-bit.org/BuildNamecoinFromSource

If not somebody fix it please!
Looks very similiar to what I do, although I have not tried out every step in a fresh check-out. But I remember that in particular the UPNP thing has always bugged me, because I usually build without libminiupnp. Nice to see that this is actually mentioned on the page! Also note that the Ubuntu/Debian packages required look good to me, but I have no idea whether that list is indeed complete / up-to-date.
BTC: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS
Use your Namecoin identity as OpenID: https://nameid.org/

phelix
Posts: 1634
Joined: Thu Aug 18, 2011 6:59 am

Re: Build instructions on the wiki

Post by phelix »

Thanks for checking!

BTW: Automatic building on Windows has some trouble as MinGW removed the installer... found a solution now, fix should come soon.
nx.bit - some namecoin stats
nf.bit - shortcut to this forum

virtual_master
Posts: 541
Joined: Mon May 20, 2013 12:03 pm
Contact:

Re: Build instructions on the wiki

Post by virtual_master »

http://dot-bit.org/BuildNamecoinQTFromSource

Xubuntu 10.04 & Xubuntu 12.04 testing machines:
sudo apt-get install libboost-chrono-dev
package not found
http://namecoinia.org/
Calendars for free to print: 2014 Calendar in JPG | 2014 Calendar in PDF Protect the Environment with Namecoin: 2014 Calendar in JPG | 2014 Calendar in PDF
BTC: 15KXVQv7UGtUoTe5VNWXT1bMz46MXuePba | NMC: NABFA31b3x7CvhKMxcipUqA3TnKsNfCC7S

domob
Posts: 1129
Joined: Mon Jun 24, 2013 11:27 am
Contact:

Re: Build instructions on the wiki

Post by domob »

virtual_master wrote:http://dot-bit.org/BuildNamecoinQTFromSource

Xubuntu 10.04 & Xubuntu 12.04 testing machines:
sudo apt-get install libboost-chrono-dev
package not found
Yes, I also saw this problem on Debian (Squeeze at least, I think it works with Wheezy). chrono seems to be a newer addition to Boost, so not sure when those will be added to respective package repositories. You can manually compile & install Boost, that's what I did on my Debian Squeeze VPS.
BTC: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS
Use your Namecoin identity as OpenID: https://nameid.org/

pmc
Posts: 73
Joined: Thu Oct 03, 2013 8:50 pm
Location: Germany
Contact:

Re: Build instructions on the wiki

Post by pmc »

You can simply remove boost_chrono from src/Makefile, that's what I do in my packages:

https://build.opensuse.org/package/show ... s/namecoin

This is what I do in the build scripts:

Code: Select all

sed -i  '/.-l \(z\|boost_chrono\|dl\|gthread\)/d' src/Makefile
sed -i '/lrt/d' namecoin-qt.pro
It also removes libdl, libgthread and librt which don't seem to be used either.

virtual_master
Posts: 541
Joined: Mon May 20, 2013 12:03 pm
Contact:

Re: Build instructions on the wiki

Post by virtual_master »

Thanks.
Namecoin-QT started and synchronizing without error message on a new installed Xubuntu 12.04 VM.
I am waiting to finish syncronizing then I will make other tests also.
On compiling a lot of warnings:
- unsigned streams ...
- unused variable fRead, fWrite, fGetSize a couple of times
- some other warnings
but no failure.
http://namecoinia.org/
Calendars for free to print: 2014 Calendar in JPG | 2014 Calendar in PDF Protect the Environment with Namecoin: 2014 Calendar in JPG | 2014 Calendar in PDF
BTC: 15KXVQv7UGtUoTe5VNWXT1bMz46MXuePba | NMC: NABFA31b3x7CvhKMxcipUqA3TnKsNfCC7S

virtual_master
Posts: 541
Joined: Mon May 20, 2013 12:03 pm
Contact:

Re: Build instructions on the wiki

Post by virtual_master »

Namecoin-qt worked without error and synchronized.
It is a good wiki and well done also. Thanks.
------------
But installed namecoind dependencies on the same machine(xubuntu 12.04), which had different library requirement and I let them overwrite.
Nameicoind failured for some reasons.
Namecoin-qt also doesn't start any more because some dependencies not any more satisfied. (probably overwritten from the namecoind library version)
I will install back the namecoin-qt library versions. what I had before May be namecoind can accept it.
Is it not possible that namecoind and namecoin-qt use the same library version ?
http://namecoinia.org/
Calendars for free to print: 2014 Calendar in JPG | 2014 Calendar in PDF Protect the Environment with Namecoin: 2014 Calendar in JPG | 2014 Calendar in PDF
BTC: 15KXVQv7UGtUoTe5VNWXT1bMz46MXuePba | NMC: NABFA31b3x7CvhKMxcipUqA3TnKsNfCC7S

pmc
Posts: 73
Joined: Thu Oct 03, 2013 8:50 pm
Location: Germany
Contact:

Re: Build instructions on the wiki

Post by pmc »

If you use the same builds of namecoind and namecoin-qt (or build them yourself on the same machine) they should use the same library versions.

Post Reply