[Solved] Troubles building Feathercoin (FTC)from source - what can I do?
-
[quote name=“bitcoinerS” post=“4162” timestamp=“1368798821”]
qt4-dev-tools is installed. I have no problems building bitcoin or litecoin from source on the same machine.[/quote]
Then unfortunately I’m pretty much out of ideas bar one… You could try recloning the source, but other than that it’s an issue specific to your build/setup as opposed to the Feathercoin-qt files.Here’s my feathercoin-qt, built on Ubuntu 11.10 :
http://puu.sh/2VfUb/feathercoin-qt.zip
Drop that into your ~/ directory and double click to run it (or run ~/.feathercoin-qt)I’ll start making a 13.x virtual machine and see if I encounter the same issues.
Edit, may need to take ownership of it “chown username feathercoin-qt”
Edit2, Installing now.
-
~/local/FeatherCoin(master) $ ./feathercoin-qt
Segmentation fault (core dumped) -
[quote name=“bitcoinerS” post=“4166” timestamp=“1368800001”]
~/local/FeatherCoin(master) $ ./feathercoin-qt
Segmentation fault (core dumped)[/quote]
It’s either something specific you have installed (or don’t have installed) or 13.04 itself. I’ll have a VM up soon and I’ll poke around and see what’s what, I can’t see (nor understand) why you’re getting that issue. x:Edit: Et voila, built perfectly on 13.04 with no issues what so ever… Which now means your problem is beyond my understanding and help… Sorry I’ve not been able to solve it for you, if possible I’d recommend a fresh install of 13.04 x:
-
[quote name=“bitcoinerS” post=“4166” timestamp=“1368800001”]
~/local/FeatherCoin(master) $ ./feathercoin-qt
Segmentation fault (core dumped)
[/quote]Can you do a couple of things for me please so we can troubleshoot this?
First do an “aptitude search qrencode” and paste the result. That could explain that one problem with the file.
As for the core dump, can you see if there is a file called “core” or one starting with core in the directory you were doing this or in the home dir of your user?
Did you get it to build without an error yet?
-
>>Edit: Et voila, built perfectly on 13.04 with no issues what so ever… Which now means your problem is beyond my understanding and help… Sorry I’ve not been able to solve it for you, if possible I’d recommend a fresh install of 13.04 x:
I am running a fresh install of 13.04.
Please tell me exactly what steps you took to build, as I am a at a loss of what could be causing it. -
[quote name=“ChristianRiesen” post=“4186” timestamp=“1368804947”]
[quote author=bitcoinerS link=topic=430.msg4166#msg4166 date=1368800001]
~/local/FeatherCoin(master) $ ./feathercoin-qt
Segmentation fault (core dumped)
[/quote]Can you do a couple of things for me please so we can troubleshoot this?
First do an “aptitude search qrencode” and paste the result. That could explain that one problem with the file.
As for the core dump, can you see if there is a file called “core” or one starting with core in the directory you were doing this or in the home dir of your user?
Did you get it to build without an error yet?
[/quote]aptitude search qrencode
p libqrencode-dev - QR Code encoding library – development
p libqrencode-dev:i386 - QR Code encoding library – development
p libqrencode3 - QR Code encoding library
p libqrencode3:i386 - QR Code encoding library
p python-qrencode - Python bindings for the Qrencode QR Code generator library
p python-qrencode:i386 - Python bindings for the Qrencode QR Code generator library
v python2.7-qrencode -
v python2.7-qrencode:i386 -
p qrencode - QR Code encoder into PNG image
p qrencode:i386 - QR Code encoder into PNG imageAs for core dump that was when I tried running the file built by the other commenter on this thread. I did not get the source to compile yet.
-
[quote name=“bitcoinerS” post=“4227” timestamp=“1368820318”]
[quote author=ChristianRiesen link=topic=430.msg4186#msg4186 date=1368804947]
[quote author=bitcoinerS link=topic=430.msg4166#msg4166 date=1368800001]
~/local/FeatherCoin(master) $ ./feathercoin-qt
Segmentation fault (core dumped)
[/quote]Can you do a couple of things for me please so we can troubleshoot this?
First do an “aptitude search qrencode” and paste the result. That could explain that one problem with the file.
As for the core dump, can you see if there is a file called “core” or one starting with core in the directory you were doing this or in the home dir of your user?
Did you get it to build without an error yet?
[/quote]aptitude search qrencode
p libqrencode-dev - QR Code encoding library – development
p libqrencode-dev:i386 - QR Code encoding library – development
p libqrencode3 - QR Code encoding library
p libqrencode3:i386 - QR Code encoding library
p python-qrencode - Python bindings for the Qrencode QR Code generator library
p python-qrencode:i386 - Python bindings for the Qrencode QR Code generator library
v python2.7-qrencode -
v python2.7-qrencode:i386 -
p qrencode - QR Code encoder into PNG image
p qrencode:i386 - QR Code encoder into PNG imageAs for core dump that was when I tried running the file built by the other commenter on this thread. I did not get the source to compile yet.
[/quote]As Adam Savage of Mythbusters likes to say: “There’s your problem”
p libqrencode-devMeans not installed…
Do this as root:
aptitude install libqrencode-devThen try to build again :)
-
[quote]
First do an “aptitude search qrencode” and paste the result. That could explain that one problem with the file.[/quote]
I ended up installing a missing package libqrencode-dev
and now when I build new error comes up:[code]g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g+±64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -Isrc -Isrc/json -Isrc/qt -Isrc/qt/test -I. -I. -o test_main.o src/qt/test/test_main.cpp
src/qt/test/test_main.cpp:1:17: fatal error: QTest: No such file or directory
compilation terminated.
make: *** [test_main.o] Error 1
[/code]troubleshooting this one now…
-
[quote name=“bitcoinerS” post=“4230” timestamp=“1368821207”]
[quote]
First do an “aptitude search qrencode” and paste the result. That could explain that one problem with the file.[/quote]
I ended up installing a missing package libqrencode-dev
and now when I build new error comes up:[code]g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g+±64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -Isrc -Isrc/json -Isrc/qt -Isrc/qt/test -I. -I. -o test_main.o src/qt/test/test_main.cpp
src/qt/test/test_main.cpp:1:17: fatal error: QTest: No such file or directory
compilation terminated.
make: *** [test_main.o] Error 1
[/code]troubleshooting this one now…
[/quote]Run this then try to build again (one line):
aptitude install bitcoin-qt git qt4-qmake qt4-dev-tools build-essential libssl-dev libdb4.8-dev libdb4.8+±dev libqrencode-dev libboost-all-dev -
[code]sudo aptitude install bitcoin-qt git qt4-qmake qt4-dev-tools build-essential libssl-dev libdb4.8-dev libdb4.8+±dev libqrencode-dev libboost-all-dev
No candidate version found for libdb4.8-dev
No candidate version found for libdb4.8+±dev[/code]
[code]
~/local/FeatherCoin(master) $ make
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g+±64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -Isrc -Isrc/json -Isrc/qt -Isrc/qt/test -I. -I. -o test_main.o src/qt/test/test_main.cpp
src/qt/test/test_main.cpp:1:17: fatal error: QTest: No such file or directory
compilation terminated.
make: *** [test_main.o] Error 1[/code]
-
sudo aptitude install libdb-dev libdb+±dev
hmmm apart from that I’m a bit at a loss. Qtest is a testing framework but I can’t see a package you might be missing.
-
finally that did it :) THANKS
-
Glad I could help :) Send a couple coins to Shadow as a thanks, he asked me to help out here :)
-
will do thanks again.
-
[quote name=“ShadowEW” post=“3621” timestamp=“1368609521”]
Hi there I’ve built the wallet a couple of times now on Ubuntu, I’ve got it working by doing this from the terminal:
[/quote]Whew, thank god I found this post :)
Managed to grab my wallet which I’d completely forgotten about off the ssd, and … wow that’s a hassle of a process to install.
but worked perfectly, and copied the wallet over and it all seems sorted.
Boy I remember ubuntu being a pita, but it’s getting polished… still a pita… my usb hdtv stick simply wont work on boot, I need to unplug-replug it, and trying to work out why… hurgle.
But thankfully, I didn’t lose my wallet… I’d cry in ral life if I had done haha.
cheers for the writeup mate, saved me a heck of a lot of hassle!!
:)
-
hmm im not sure about this good luck
-
I’m still completely new to Ubuntu (12.04), so forgive me if this is a naive question, but I tried following the direction posted here and I got an error on the command:
qmake ‘USE_UPNP=-’
The error:
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.Any pointers?
Once I get the wallet working, I’m going to try mining. I’ve been running CGminer with the Slushpool and I want to see how it does with feathercoin.
-
[quote name=“rangerk” post=“18218” timestamp=“1372378566”]
I’m still completely new to Ubuntu (12.04), so forgive me if this is a naive question, but I tried following the direction posted here and I got an error on the command:qmake ‘USE_UPNP=-’
The error:
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.Any pointers?
Once I get the wallet working, I’m going to try mining. I’ve been running CGminer with the Slushpool and I want to see how it does with feathercoin.
[/quote]This is not a Failure, but an informational Message.
The parameter “USE_UPNP=-” is required only, if you don’t have miniupnpc libraries instaleld on your system.
Nevertheless, the wallet works without UPNP.more important: did the ‘make’ command work after you got the above message from qmake?
-
Great! I am now a feather coiner. Next step, mining.
You know, of all the coins, you guys seem to be having the most fun. :)