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

    [DEV] MacOS - Build Feathercoind + Feathercoin-Qt v0.9.3.1 [COMPLETED]

    Technical Development
    9
    39
    29075
    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.
    • AcidD
      AcidD Moderators last edited by AcidD

      Fyi I had to build the Feathercoin-qt.App Manually as doing a “make deploy” shows the below

      Mac-Admin:FTC0931 admin$ make deploy
      ./contrib/macdeploy/macdeployqtplus Feathercoin-Qt.app -add-qt-tr da,de,es,hu,ru,uk,zh_CN,zh_TW -dmg -fancy ./contrib/macdeploy/fancy.plist -verbose 2
      + Removing old dist folder +
      + Copying source bundle +
      + Deploying frameworks +
      Processing libboost_system.dylib ...
      Error: No file at libboost_system.dylib
      Traceback (most recent call last):
        File "./contrib/macdeploy/macdeployqtplus", line 583, in <module>
          sys.exit(ret)
      NameError: name 'ret' is not defined
      make: *** [Feathercoin-Qt.dmg] Error 1
      
      

      I swear I was able to create a static 160MB file on Centos for Feathercoin that included everything needed for it to run as “portable” or “standalone” I just cant remember the switches…

      LDFLAGS=-static doesn’t seem to do anything.

      • FTC Block Explorer + API @ https://fsight.chain.tips
      • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
      • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
      • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

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

        Ok so I believe …as per this http://stackoverflow.com/questions/5259249/creating-static-mac-os-x-c-build

        that we cannot use -static since OSX doesnt like/support it.

        • FTC Block Explorer + API @ https://fsight.chain.tips
        • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
        • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
        • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

        1 Reply Last reply Reply Quote 2
        • wrapper
          wrapper Moderators last edited by

          Can we get away without the static build?

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

            Hi All,

            Finally!! after many moons and sleepless nights, I’ve done it!!

            I have a Static Binary that worked on a clean MacOS Sierra install…no other dependancies or software were installed on the test machine.

            This was build with MacOS Sierra, Boost155, Protobuf260, QT 5.7.0.

            Full 64-bit, none of this going back generations of OS’s just to get it to build…No nonsense from Acid!

            EDIT========The below link is for the Feathercoin-Qt.app file only.
            Download link here:
            https://ufile.io/09c25

            • FTC Block Explorer + API @ https://fsight.chain.tips
            • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
            • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
            • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

            1 Reply Last reply Reply Quote 3
            • AcidD
              AcidD Moderators last edited by

              Love a good screenshot!

              https://i.snag.gy/wDoxJk.jpg

              • FTC Block Explorer + API @ https://fsight.chain.tips
              • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
              • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
              • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

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

                I’ve also managed to get the “Make Deploy” working.

                You have to edit a few files since it’s looking for things “Bitcoin” related (eg. Bitcoin-qt becomes Feathercoin-qt…etc)

                However…after some hackery I can now produce a DMG file with a working Feathercoin-Qt App. YAY!!

                Image

                I just downloaded GIMP so I can change the “To install Bitcoin…” Text

                • FTC Block Explorer + API @ https://fsight.chain.tips
                • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
                • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
                • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

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

                  Hi All,

                  This is ready for testing I believe.

                  Random (might be useful) points:

                  • Built Feathercoin 0.9.3.1 from source here: https://github.com/FeatherCoin/Feathercoin/tree/0.9.3.1
                    major hackery with the Makefiles to get things like C++11 support for QT 5.7

                  • Built it under MacOS Sierra 10.12.1
                    Yes I did go back to Mavricks 10.9 out of pure frustration at one point, I had 2 build stations (VMs) at work and 1 at home (MacBookPro) , each with different versions of OSX…trying different things…the final working build came from my OSX Sierra MacBookPro

                  • Hackery for “Make Deploy” - wasn’t much, I had a info.plist file ready to copy into the Feathercoin-Qt.app as the “Make deploy” is running …otherwise the .App file gets built and doesn’t work because it’s looking for the executable binary “Bitcoin-Qt”

                  • Edited the background.png file in the contrib/macdeploy folder - just added the Feathercoin name instead of Bitcoin

                  • on OSX Sierra 10.12 you’ll have to use QT 5.7.0 since previous versions are not supported. You’ll get an error “QT Requires C++11 Support” . - thats when the Makefile Hackery for /src/qt/Makefile comes in…while other Makefiles were left alone
                    You’ll also get the same error for macdockiconhandler and you have to go and add the same flags you did for QT CXXFLAGS on OBJCXXFLAGS

                  -std=c++11   <<< add that 
                  
                  • LevelDB Makefile was edited to include that flag

                  • Last ./configure command looked like this:

                  acids-MBP:FTC0931 acid$ ./configure --disable-upnp-default --disable-tests --without-miniupnpc LDFLAGS="-L/usr/local/opt/berkeley-db4/lib/ -L/usr/local/opt/qrencode/lib/" CPPFLAGS=" -I/usr/local/opt/berkeley-db4/include/ -I/usr/local/opt/qrencode/include/" --with-gui=qt5 --with-qrcode=yes --with-boost=/usr/local/Cellar/boost155/1.55.0_1
                  

                  Anyways, I digress… Here’s the goods.

                  Link to DMG:
                  https://ufile.io/26924

                  Love a good screen shot:
                  Image

                  Anyone testing this, feel free to post back in this thread.

                  • FTC Block Explorer + API @ https://fsight.chain.tips
                  • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
                  • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
                  • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

                  S U 2 Replies Last reply Reply Quote 0
                  • AcidD
                    AcidD Moderators last edited by

                    Full blockchain sync on test machine in 4 hours. Will pass some FTC back and fourth between my dev machine and the test machine.

                    Test Machine is a MacBook Pro with a Fresh Install of MacOS Sierra. No dependancies or libs were installed, the DMG opens and the app installs successfully. A complete static build.

                    • FTC Block Explorer + API @ https://fsight.chain.tips
                    • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
                    • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
                    • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

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

                      Hi All,

                      Both the wallet on my dev machine and test machine synced correctly.

                      I sent some FTC to my dev machine here:
                      https://bchain.info/FTC/addr/71gkB9EvzVJ2GMimcHQx4njntzX55ahPdW

                      I’d like to get a few more test machines running this before we push it to Feathercoin.com for downloading.

                      • FTC Block Explorer + API @ https://fsight.chain.tips
                      • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
                      • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
                      • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

                      1 Reply Last reply Reply Quote 3
                      • AmDD
                        AmDD Regular Member last edited by

                        Awesome! Im not on a mac but thanks for the effort put into this!!

                        P2Pool Node: http://104.236.34.9:19327/ 0.5% fee

                        1 Reply Last reply Reply Quote 3
                        • S
                          sradics @AcidD last edited by

                          @aciddude said in [DEV] MacOS - Build Feathercoind + Feathercoin-Qt v0.9.3.1 [COMPLETED]:

                          https://ufile.io/26924

                          Just did a test with https://ufile.io/26924 and it was working fine for me on Mac-OS Sierra - MacBook (Retina, 12-inch, Early 2015).

                          Installer worked without problems and Feathercoin-QT GUI started fast. Did 1 outgoing transaction and one incoming transaction and both worked well and fast.

                          So - now I’m running v0.9.3.1 - GREAT JOB :-)

                          1 Reply Last reply Reply Quote 4
                          • wrapper
                            wrapper Moderators last edited by wrapper

                            @Wellenreiter has now created the release version 0.9.6. This should just compile the same as 0.3.1 and 0.9.3.2 - the differenced are documentation.

                            Once were happy that compiles and runs as version 0.9.3.2, the test look positive to produce the official build.

                            Version 0.9.6 contains a number of significant improvements, particularly in look and feel.

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

                              Actually it is 0.9.3.6

                              We are planning the release for the second half of January, if all goes well

                              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 4
                              • wrapper
                                wrapper Moderators last edited by wrapper

                                Should have just edited it, i’m still rough.

                                It needs to be 0.9.6 otherwise people will still use 0.9.5 because it is a bigger number !!!

                                Sorry didn’t notice, the slight difference, when i checked it.

                                Wellenreiter 1 Reply Last reply Reply Quote 2
                                • Wellenreiter
                                  Wellenreiter Moderators @wrapper last edited by Wellenreiter

                                  @wrapper
                                  ok, branch number is 0.9.6 now

                                  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 3
                                  • AcidD
                                    AcidD Moderators last edited by

                                    Hi All,

                                    This work has been documented to the best of my ability, see here:
                                    http://forum.feathercoin.com/topic/8769/guide-build-feathercoind-feathercoin-qt-v0-9-3-1-on-macos-sierra

                                    • FTC Block Explorer + API @ https://fsight.chain.tips
                                    • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
                                    • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
                                    • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

                                    1 Reply Last reply Reply Quote 3
                                    • U
                                      uncle_muddy administrators @AcidD last edited by

                                      Link to DMG:
                                      https://ufile.io/26924

                                      Anyone testing this, feel free to post back in this thread.

                                      Have a spare few moments so was trying to give this a run for it’s money but the file is no longer available, can anyone provide me with a working link for this?

                                      UM

                                      AcidD 1 Reply Last reply Reply Quote 0
                                      • AcidD
                                        AcidD Moderators @uncle_muddy last edited by

                                        @uncle_muddy said in [DEV] MacOS - Build Feathercoind + Feathercoin-Qt v0.9.3.1 [COMPLETED]:

                                        Link to DMG:
                                        https://ufile.io/26924

                                        Anyone testing this, feel free to post back in this thread.

                                        Have a spare few moments so was trying to give this a run for it’s money but the file is no longer available, can anyone provide me with a working link for this?

                                        UM

                                        Here is 0.9.3.1 for MacOS
                                        https://ufile.io/48148

                                        • FTC Block Explorer + API @ https://fsight.chain.tips
                                        • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
                                        • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
                                        • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

                                        1 Reply Last reply Reply Quote 0
                                        • lizhi
                                          lizhi last edited by

                                          Yes, I make Feathercoin-QT v0.9.6
                                          alt text

                                          1 Reply Last reply Reply Quote 1
                                          • lizhi
                                            lizhi last edited by

                                            cd /Users/lizhi/Coin
                                            cd Feathercoin-0.9.6
                                            ./autogen.sh
                                            ./configure --disable-upnp-default --disable-tests --disable-hardening --without-miniupnpc LDFLAGS=“-L/usr/local/opt/berkeley-db4/lib/ -L/usr/local/opt/qrencode/lib/” CPPFLAGS=“-I/usr/local/opt/berkeley-db4/include/ -I/usr/local/opt/qrencode/include/” --with-gui=qt5 --with-qrcode=yes
                                            make

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