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

    [solved] Building feathercoin-qt on ubuntu. \*FAQ also see guide

    Support
    5
    15
    7519
    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.
    • Bushstar
      Bushstar last edited by

      Good to hear that it is working. The key is to run the commands in the correct directory ;)

      Donate: 6hf9DF8H67ZEoW9KmPJez6BHh4XPNQSCZz

      1 Reply Last reply Reply Quote 0
      • C
        catnip last edited by

        Glad to hear you got it running. I always run qmake with the USE_UPNP=- argument but nothing else, and it works for me.

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

          [quote name=“Bushstar” post=“26976” timestamp=“1378067893”]
          Welcome to the forum.

          Run the following from the root of the extracted archive where the feathercoin-qt.pro file is.

          [code]qmake USE_UPNP=- USE_QR_CODE=0
          make[/code]

          You should then be able to start it with ./feathercoin-qt

          Let me know how you got on.
          [/quote]

          I had the same query as catholic, but sadly, didn’t get a satisfactory result. I got this. :-\

          [code]Project MESSAGE: Building without UPNP support
          sh: 1: /usr/lib/x86_64-linux-gnu/qt5/bin/lrelease: not found
          WARNING: TARGET is empty
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_bg.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_ca_ES.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_cs.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_da.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_de.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_el_GR.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_en.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_es.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_es_CL.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_et.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_eu_ES.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_fa.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_fa_IR.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_fi.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_fr.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_fr_CA.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_he.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_hr.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_hu.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_it.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_lt.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_nb.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_nl.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_pl.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_pt_BR.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_pt_PT.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_ro_RO.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_ru.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_sk.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_sr.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_sv.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_tr.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_uk.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_zh_CN.qm’
          RCC: Error in ‘src/qt/bitcoin.qrc’: Cannot find file ‘locale/bitcoin_zh_TW.qm’
          [/code]

          I checked inside the locale dir and found that the locale files had a *.ts suffix rather than a *.qm suffix. What to do?

          I’m keen to update so I can get my wallet up to date post-fork.

          TIA,
          solasaurus

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

            It seems you have the same problem as described here:

            https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1175662

            The tranlation files (ending with ‘.qm’) can’t be built, because the lrelease program is not found.

            I suggest to find lrelease with ‘which lrelease’ or ‘find / -name lrelease’

            and link the file found to /usr/lib/x86_64-linux-gnu/qt5/bin/lrelease

            the command should look linke ‘ln -s /usr/lib/x86_64-linux-gnu/qt5/bin/lrelease’

            Probably you have to perfom the ln command as superuser.

            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
            • S
              solasaurus last edited by

              Thanks for the tip Wellenreiter. I was totally unaware of this bug. And it looks like I’ve got it as I’m using a version of LinuxMint based on Ubuntu 13.04. It seems like a problem with qmake as you’ve pointed out.

              I tried your tip on using ‘ln -s’ to the dir /usr/bin/lrelease and tried running qmake again. At first I thought it was working as the command line indicated something was happening - well, no error - and the CPU was ticking over. I got suspicious after 15 minutes when it hadn’t resolved. “top” told me it was ‘lrelease’ that was running, no sign of qmake or make. I killed the process and it only then threw up the familiar error. So it appears that it doesn’t work.

              This qmake problem it seems based on the bug doc can only be rectified by upgrading the distro. :-[

              I was going to have a crack at making a .deb package and sharing it, but I think I’m going to have to not do that for the time being as I’m in no mood to upgrade just now (indeed, there won’t be an upgrade of a stable release for a month).

              Thanks for your help all the same.

              peace;
              sol

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

                Hi Solasaurus,

                you also may try to run lrelease manually and convert the language files one by one.

                change into the src/qt/locale directory and run lrelease from there on just one of the ts-files. This may help to find whether lrelease is working and just needs a lot of time or if it’s failing.

                I created a package for Debian 7.

                It’s available at: [url=http://download.opensuse.org/repositories/home:/wellenreiter01/Debian_7.0/]http://download.opensuse.org/repositories/home:/wellenreiter01/Debian_7.0/[/url]

                I just succeeded to build a package for xUbuntu. I would b glad if you could check it and give feedback whether it works or not, as I don’t use Ubuntu, but Opensuse.

                The download link is: [url=http://download.opensuse.org/repositories/home:/wellenreiter01/xUbuntu_13.04/]http://download.opensuse.org/repositories/home:/wellenreiter01/xUbuntu_13.04/[/url]

                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
                • S
                  solasaurus last edited by

                  [quote name=“Wellenreiter” post=“29943” timestamp=“1380612783”]
                  I just succeeded to build a package for xUbuntu. I would b glad if you could check it and give feedback whether it works or not, as I don’t use Ubuntu, but Opensuse.

                  The download link is: [url=http://download.opensuse.org/repositories/home:/wellenreiter01/xUbuntu_13.04/]http://download.opensuse.org/repositories/home:/wellenreiter01/xUbuntu_13.04/[/url]
                  [/quote]

                  I just tried your xubuntu .deb - it doesn’t seem to work. Generally any kind of ubuntu package will work on linuxmint if it’s the same version. It’s worth noting though, that I’m running amd64 - I’ve had troubles before with packages not specifically for the 64-bit platform.

                  Here’s some command line output:
                  [code]solasaurus@earth ~ $ dpkg -l feathercoin
                  Desired=Unknown/Install/Remove/Purge/Hold
                  | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
                  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
                  ||/ Name Version Architecture Description
                  ++±==============-============-============-=================================
                  ii feathercoin 0.6.4.4 all Port of Cryptocoin Wallet impleme
                  solasaurus@earth ~ $ feathercoin --help
                  feathercoin: command not found
                  solasaurus@earth ~ $ whereis feathercoin
                  feathercoin:
                  solasaurus@earth ~ $ feathercoin -h
                  feathercoin: command not found
                  solasaurus@earth ~ $ man feathercoin
                  No manual entry for feathercoin[/code]

                  I’m gonna try out what you suggested regarding lrelease, and I’ll get back to you when I’ve got some results for that.

                  Thanks for the tips! ;)

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

                    The name of the executable is ‘feathercoin-qt’ for the Gui version and ‘feathercoind’

                    for the daemon version.

                    the ‘–help parameter’ provides basic info, how to use the comands.

                    Also, I’m just the packager, not the programmer of the wallet 8)

                    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
                    • S
                      solasaurus last edited by

                      Hi Wellenreiter,

                      I finally got round to following all of your tips, and given the effort you’ve gone to provide advice, thought I’d better give a reply, even if it’s a little late.

                      [quote name=“Wellenreiter” post=“29943” timestamp=“1380612783”]
                      Hi Solasaurus,

                      you also may try to run lrelease manually and convert the language files one by one.

                      change into the src/qt/locale directory and run lrelease from there on just one of the ts-files. This may help to find whether lrelease is working and just needs a lot of time or if it’s failing.
                      [/quote]

                      I did this, and /usr/bin/lrelease was working - at least according to ‘top’ it was using 99% of CPU - but there was no result forthcoming. I killed the process. This is the same as what happened before. It could be a problem with my version of lrelease. I’ve no idea.
                      [quote author=Wellenreiter link=topic=3510.msg29943#msg29943 date=1380612783]
                      I created a package for Debian 7.

                      It’s available at: [url=http://download.opensuse.org/repositories/home:/wellenreiter01/Debian_7.0/]http://download.opensuse.org/repositories/home:/wellenreiter01/Debian_7.0/[/url]

                      I just succeeded to build a package for xUbuntu. I would b glad if you could check it and give feedback whether it works or not, as I don’t use Ubuntu, but Opensuse.

                      The download link is: [url=http://download.opensuse.org/repositories/home:/wellenreiter01/xUbuntu_13.04/]http://download.opensuse.org/repositories/home:/wellenreiter01/xUbuntu_13.04/[/url]
                      [/quote]

                      I’ve now tried both the .deb packages you’ve provided. Both failed on my HP Touchsmart, though again, I’ve got an amd64 machine, and it may be it requires a .deb compiled for the 64bit platform.

                      BTW, I did screw up the feathercoin command, but tried the correct ‘feathercoind’ command with various flags and got nothing.

                      So I’m truly stuck without an FTC wallet for the time being unless I upgrade (stable version won’t be ready till December) or can figure out another way to compile the source code. All the same, I do appreciate your help Wellenreiter. ;)

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

                        Hi Solasaurus,

                        the last idea I have to help you to get a Feathercoin Wallet, is to create the .qm files by just do a 'touch in the ~/locale/ directory.

                        I don’t know exactly how qt incorporates the language files in the program, but
                        there is a small chance that the compile will work and as long as your system language is set to english, the translation files are not used anyway.

                        I wish you good luck :)

                        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
                        • S
                          solasaurus last edited by

                          hi again,

                          I tried your suggestion out of exasperation. I ‘touched’ a bunch of locale files with suffix *.qm. When I ran qmake the result was the same. The *.ts files were some kind of xml files. Perhaps I should have 'cp’d or ‘ln’d from the .ts files. But it seems I’m stuck in this cul-de-sac for now. :’(

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

                            Hi Solasaurus,

                            I found a problem with the install script of the package I created and corrected it.

                            I set up a Virtual Machine with Debian 7 and was able to install and run the feathercoin wallet without problems.

                            So the Debian and Ubuntu packeges are updated on :
                            [url=http://software.opensuse.org/package/feathercoin]http://software.opensuse.org/package/feathercoin[/url]

                            The commandline for the qt version is /usr/bin/feathercoin.

                            feel free to try again :-)

                            regards

                            Wellenreiter

                            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