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

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

    Technical Development
    9
    39
    29074
    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

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

                                    Confirmed with 0.9.6 OSX Sierra + boost 1.62.0 + qt 5.7.0

                                    git clone https://github.com/FeatherCoin/Feathercoin.git -b 0.9.6 FTC096
                                    cd FTC096/
                                    ./autogen.sh
                                     ./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/" CXXFLAGS="-arch x86_64 -std=c++11 -stdlib=libc++" --with-gui=qt5 --with-qrcode=yes --with-boost=/usr/local/Cellar/boost162/1.62.0 --with-boost-libdir=/usr/local/Cellar/boost162/1.62.0/lib
                                    make
                                    
                                    sudo easy_install appscript
                                    make deploy
                                    
                                    

                                    Make Deploy output:

                                    acids-Mac:FTC096 acid$ make deploy
                                    src/build-aux/install-sh -c -d Feathercoin-Qt.app/Contents/MacOS
                                    STRIPPROG="/usr/bin/strip" /bin/sh /Users/acid/FTC096/src/build-aux/install-sh -c -s  src/qt/feathercoin-qt Feathercoin-Qt.app/Contents/MacOS/Feathercoin-Qt
                                    ./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-mt.dylib ...
                                    Processing libboost_filesystem-mt.dylib ...
                                    Processing libboost_program_options-mt.dylib ...
                                    Processing libboost_thread-mt.dylib ...
                                    Processing libboost_chrono-mt.dylib ...
                                    Processing QtNetwork.framework ...
                                    Processing QtPrintSupport.framework ...
                                    Processing QtWidgets.framework ...
                                    Processing QtGui.framework ...
                                    Processing QtCore.framework ...
                                    Processing QtDBus.framework ...
                                    Processing libprotobuf.9.dylib ...
                                    Processing libdb_cxx-4.8.dylib ...
                                    Processing libqrencode.3.dylib ...
                                    Processing libssl.1.0.0.dylib ...
                                    Processing libcrypto.1.0.0.dylib ...
                                    Processing QtCore.framework ...
                                    Processing libdbus-1.3.dylib ...
                                    Processing QtWidgets.framework ...
                                    Processing QtGui.framework ...
                                    Processing libcrypto.1.0.0.dylib ...
                                    + Deploying plugins +
                                    Processing plugin audio/libqtaudio_coreaudio.dylib ...
                                    Processing QtMultimedia.framework ...
                                    Processing plugin bearer/libqcorewlanbearer.dylib ...
                                    Processing plugin bearer/libqgenericbearer.dylib ...
                                    Processing plugin canbus/libqtpeakcanbus.dylib ...
                                    Processing QtSerialBus.framework ...
                                    Processing QtSerialPort.framework ...
                                    Processing plugin canbus/libqttinycanbus.dylib ...
                                    Processing plugin generic/libqtuiotouchplugin.dylib ...
                                    Processing plugin geoservices/libqtgeoservices_mapbox.dylib ...
                                    Processing QtLocation.framework ...
                                    Processing QtPositioning.framework ...
                                    Processing QtQuick.framework ...
                                    Processing QtQml.framework ...
                                    Processing plugin geoservices/libqtgeoservices_nokia.dylib ...
                                    Processing plugin geoservices/libqtgeoservices_osm.dylib ...
                                    Processing plugin imageformats/libqdds.dylib ...
                                    Processing plugin imageformats/libqgif.dylib ...
                                    Processing plugin imageformats/libqicns.dylib ...
                                    Processing plugin imageformats/libqico.dylib ...
                                    Processing plugin imageformats/libqjpeg.dylib ...
                                    Processing plugin imageformats/libqmacjp2.dylib ...
                                    Processing plugin imageformats/libqtga.dylib ...
                                    Processing plugin imageformats/libqtiff.dylib ...
                                    Processing plugin imageformats/libqwbmp.dylib ...
                                    Processing plugin imageformats/libqwebp.dylib ...
                                    Processing plugin mediaservice/libqavfcamera.dylib ...
                                    Processing plugin mediaservice/libqavfmediaplayer.dylib ...
                                    Processing QtMultimediaWidgets.framework ...
                                    Processing QtOpenGL.framework ...
                                    Processing plugin mediaservice/libqtmedia_audioengine.dylib ...
                                    Processing plugin platforminputcontexts/libqtvirtualkeyboardplugin.dylib ...
                                    Processing plugin platforms/libqcocoa.dylib ...
                                    Processing plugin platforms/libqminimal.dylib ...
                                    Processing plugin platforms/libqoffscreen.dylib ...
                                    Processing plugin playlistformats/libqtmultimedia_m3u.dylib ...
                                    Processing plugin position/libqtposition_cl.dylib ...
                                    Processing plugin position/libqtposition_geoclue.dylib ...
                                    Processing plugin position/libqtposition_positionpoll.dylib ...
                                    Processing plugin printsupport/libcocoaprintersupport.dylib ...
                                    Processing plugin sceneparsers/libassimpsceneio.dylib ...
                                    Processing Qt3DExtras.framework ...
                                    Processing Qt3DRender.framework ...
                                    Processing Qt3DCore.framework ...
                                    Processing QtConcurrent.framework ...
                                    Processing Qt3DInput.framework ...
                                    Processing QtGamepad.framework ...
                                    Processing Qt3DLogic.framework ...
                                    Processing plugin sceneparsers/libgltfsceneio.dylib ...
                                    Processing plugin sensorgestures/libqtsensorgestures_plugin.dylib ...
                                    Processing QtSensors.framework ...
                                    Processing plugin sensorgestures/libqtsensorgestures_shakeplugin.dylib ...
                                    Processing plugin sensors/libqtsensors_generic.dylib ...
                                    + Installing qt.conf +
                                    + Adding Qt translations +
                                    + Preparing .dmg disk image +
                                    ..........................................................................................................................................................................................
                                    ...............................................................................................................................................................................
                                    created: /Users/acid/FTC096/Feathercoin-Qt.temp.dmg
                                    + Applying fancy settings +
                                    Running AppleScript:
                                    
                                            on run argv
                                               tell application "Finder"
                                                 tell disk "Feathercoin-Qt"
                                                       open
                                                       set current view of container window to icon view
                                                       set toolbar visible of container window to false
                                                       set statusbar visible of container window to false
                                                       set the bounds of container window to {300,300,800,620}
                                                       set theViewOptions to the icon view options of container window
                                                       set arrangement of theViewOptions to not arranged
                                                       set icon size of theViewOptions to 96
                                                       set background picture of theViewOptions to file "background.png"
                                                       do shell script "SetFile -a V /Volumes/Feathercoin-Qt/background.png"
                                                       set position of item "Applications" of container window to {370,156}
                                                       set position of item "Feathercoin-Qt.app" of container window to {128,156}
                                                       close -- close/reopen works around a bug...
                                                       open
                                                       update without registering applications
                                                       delay 5
                                                       eject
                                                 end tell
                                               end tell
                                            end run
                                    
                                    + Finalizing .dmg disk image +
                                    Preparing imaging engine…
                                    Reading Protective Master Boot Record (MBR : 0)…
                                       (CRC32 $155089DC: Protective Master Boot Record (MBR : 0))
                                    Reading GPT Header (Primary GPT Header : 1)…
                                       (CRC32 $740451C6: GPT Header (Primary GPT Header : 1))
                                    Reading GPT Partition Data (Primary GPT Table : 2)…
                                       (CRC32 $CCE3B672: GPT Partition Data (Primary GPT Table : 2))
                                    Reading  (Apple_Free : 3)…
                                       (CRC32 $00000000:  (Apple_Free : 3))
                                    Reading disk image (Apple_HFS : 4)…
                                    .........................................................................................................................................................................................
                                       (CRC32 $7D4129FF: disk image (Apple_HFS : 4))
                                    Reading  (Apple_Free : 5)…
                                    .........................................................................................................................................................................................
                                       (CRC32 $00000000:  (Apple_Free : 5))
                                    Reading GPT Partition Data (Backup GPT Table : 6)…
                                    .........................................................................................................................................................................................
                                       (CRC32 $CCE3B672: GPT Partition Data (Backup GPT Table : 6))
                                    Reading GPT Header (Backup GPT Header : 7)…
                                    ..........................................................................................................................................................................................
                                       (CRC32 $CEE3653F: GPT Header (Backup GPT Header : 7))
                                    Adding resources…
                                    ..........................................................................................................................................................................................
                                    Elapsed Time:  5.793s
                                    File size: 23911646 bytes, Checksum: CRC32 $25BEA6D0
                                    Sectors processed: 150239, 141908 compressed
                                    Speed: 12.0Mbytes/sec
                                    Savings: 68.9%
                                    created: /Users/acid/FTC096/Feathercoin-Qt.dmg
                                    + Done +
                                    acids-Mac:FTC096 acid$ 
                                    
                                    • 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

                                      Image

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

                                        @lizhi, @aciddude

                                        Thanks for that.

                                        Can you provide the binaries, when we officially release 09.6?

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

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

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

                                          @lizhi, @aciddude

                                          Thanks for that.

                                          Can you provide the binaries, when we officially release 0.9.6?

                                          I’m happy to provide OSX Binaries

                                          • 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
                                          • First post
                                            Last post