Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    [Solved] Troubles building Feathercoin (FTC)from source - what can I do?

    Support
    7
    24
    11950
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      ShadowEW last edited by

      [quote name=“bitcoinerS” post=“3809” timestamp=“1368654666”]
      Thanks, I followed your instructions but still get stuck at this error:
      [code]
      qmake USE_UPNP=-
      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 qrcodedialog.o src/qt/qrcodedialog.cpp
      src/qt/qrcodedialog.cpp:12:22: fatal error: qrencode.h: No such file or directory
      [/code]
      [/quote]

      Seems like there’s a qt issues there still, usually installing the bitcoin-qt pulls down a few more of the files required to run it. Have you tried updating, removing, reinstalling qt packages?

      As a shot in the dark you could try installing the developers package:
      [code]
      sudo apt-get install qt4-dev-tools
      [/code]

      1 Reply Last reply Reply Quote 0
      • B
        bitcoinerS last edited by

        qt4-dev-tools is installed. I have no problems building bitcoin or litecoin from source on the same machine.

        1 Reply Last reply Reply Quote 0
        • S
          ShadowEW last edited by

          [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.

          1 Reply Last reply Reply Quote 0
          • B
            bitcoinerS last edited by

            ~/local/FeatherCoin(master) $ ./feathercoin-qt
            Segmentation fault (core dumped)

            1 Reply Last reply Reply Quote 0
            • S
              ShadowEW last edited by

              [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:

              [img]http://puu.sh/2Vhjl.png[/img]

              1 Reply Last reply Reply Quote 0
              • C
                ChristianRiesen Regular Member last edited by

                [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?

                1 Reply Last reply Reply Quote 0
                • B
                  bitcoinerS last edited by

                  >>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.

                  1 Reply Last reply Reply Quote 0
                  • B
                    bitcoinerS last edited by

                    [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 image

                    As 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.

                    1 Reply Last reply Reply Quote 0
                    • C
                      ChristianRiesen Regular Member last edited by

                      [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 image

                      As 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-dev

                      Means not installed…

                      Do this as root:
                      aptitude install libqrencode-dev

                      Then try to build again :)

                      1 Reply Last reply Reply Quote 0
                      • B
                        bitcoinerS last edited by

                        [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…

                        1 Reply Last reply Reply Quote 0
                        • C
                          ChristianRiesen Regular Member last edited by

                          [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

                          1 Reply Last reply Reply Quote 0
                          • B
                            bitcoinerS last edited by

                            [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]

                            1 Reply Last reply Reply Quote 0
                            • C
                              ChristianRiesen Regular Member last edited by

                              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.

                              1 Reply Last reply Reply Quote 0
                              • B
                                bitcoinerS last edited by

                                finally that did it :) THANKS

                                1 Reply Last reply Reply Quote 0
                                • C
                                  ChristianRiesen Regular Member last edited by

                                  Glad I could help :) Send a couple coins to Shadow as a thanks, he asked me to help out here :)

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    bitcoinerS last edited by

                                    will do thanks again.

                                    1 Reply Last reply Reply Quote 0
                                    • ?
                                      A Former User last edited by

                                      [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!!

                                      :)

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        DapperDon last edited by

                                        hmm im not sure about this good luck

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          rangerk last edited by

                                          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.

                                          1 Reply Last reply Reply Quote 0
                                          • Wellenreiter
                                            Wellenreiter Moderators last edited by

                                            [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?

                                            Feathercoin development donation address: 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A
                                            Openpgp key: 0x385C34E77F0D74D7 (at keyserver.ubuntu.com)/fingerprint: C7B4 E9EA 17E1 3D12 07AB 1FDB 385C 34E7 7F0D 74D7

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post