Problems with building namecoin-qt on Linux Mint 15

Post Reply
biolizard89
Posts: 2001
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Problems with building namecoin-qt on Linux Mint 15

Post by biolizard89 »

I'm following the instructions at http://dot-bit.org/BuildNamecoinQTFromSource with Linux Mint 15. When I try to install the prereq packages, I get this:

Code: Select all

No candidate version found for libboost-chrono1.48-dev
No candidate version found for libboost-date-time1.48-dev
No candidate version found for libboost-filesystem1.48-dev
No candidate version found for libboost-program-options1.48-dev
No candidate version found for libboost-serialization1.48-dev
No candidate version found for libboost-system1.48-dev
No candidate version found for libboost-thread1.48-dev
No candidate version found for libboost1.48-dev
No candidate version found for libboost-chrono1.48-dev
No candidate version found for libboost-date-time1.48-dev
No candidate version found for libboost-filesystem1.48-dev
No candidate version found for libboost-program-options1.48-dev
No candidate version found for libboost-serialization1.48-dev
No candidate version found for libboost-system1.48-dev
No candidate version found for libboost-thread1.48-dev
No candidate version found for libboost1.48-dev
qmake appeared to work fine. make threw some missing header errors, which I was able to resolve by installing the libssl-dev and libboost-all-dev packages. After running make (it appeared to build successfully), I executed namecoin-qt. The splash screen appeared for about half a second, and then disappeared. The terminal from which I launched it showed these errors:

Code: Select all

"sni-qt/21485" WARN  18:31:29.411 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE 
namecoin server starting
Segmentation fault
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
namecoin-qt: ../../src/xcb_io.c:274: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Does anyone know how I might be able to resolve this? Thanks.
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

moa
Posts: 255
Joined: Mon May 23, 2011 6:13 am

Re: Problems with building namecoin-qt on Linux Mint 15

Post by moa »

Sounds like you might have

Code: Select all

daemon=1 
erroneously set in your namecoin.conf? Comment it out if so ... but "server=1" is needed for debug window rpc calls....

biolizard89
Posts: 2001
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: Problems with building namecoin-qt on Linux Mint 15

Post by biolizard89 »

moa wrote:Sounds like you might have

Code: Select all

daemon=1 
erroneously set in your namecoin.conf? Comment it out if so ... but "server=1" is needed for debug window rpc calls....
Yes, looks like that was it... I removed daemon=1 and now it works, thanks. Strange that this configuration worked fine for Namecoin-Qt on Windows 7.
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

moa
Posts: 255
Joined: Mon May 23, 2011 6:13 am

Re: Problems with building namecoin-qt on Linux Mint 15

Post by moa »

Yes, looks like that was it... I removed daemon=1 and now it works, thanks. Strange that this configuration worked fine for Namecoin-Qt on Windows 7.
Clearly it is not "working fine" on Windows since it is ignoring the conf file call to daemonise ... which on linux it attempts to and then crashes when trying to background the GUI thread.

biolizard89
Posts: 2001
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: Problems with building namecoin-qt on Linux Mint 15

Post by biolizard89 »

moa wrote:
Yes, looks like that was it... I removed daemon=1 and now it works, thanks. Strange that this configuration worked fine for Namecoin-Qt on Windows 7.
Clearly it is not "working fine" on Windows since it is ignoring the conf file call to daemonise ... which on linux it attempts to and then crashes when trying to background the GUI thread.
"Working fine" may not be the best phrasing... however, I would expect consistent behavior on Windows and Linux, which was not the case. It might be a good idea for a dev (e.g. snailbrain) to check on this.
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

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

Re: Problems with building namecoin-qt on Linux Mint 15

Post by snailbrain »

we will fix this in next update

Post Reply