[Guides] How to compile Feathercoin Core on OSX
-
I think it is easy. At first you install some libs, git our wallet and compile it.
1)Install brew
ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”2)Defend Libs:
brew install autoconf automake libtool boost miniupnpc openssl pkg-config protobuf libevent
brew install qt5
brew install berkeley-db4
brew install libqrencode3)Git Feathercoin Core
0.11.2.1
cd /Users/lizhi/Coin
git clone -b 0.11.2 git://github.com/FeatherCoin/Feathercoin.git ftc11210.9.3.1
git clone -b 0.9.3.1 git://github.com/FeatherCoin/Feathercoin.git ftc9314)Compile Wallet
0.11.2.1
cd ftc1121
./autogen.sh
./configure --disable-upnp-default --disable-tests --disable-hardening --without-miniupnpc
make0.9.3.1
cd ftc931
./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/” QT_CFLAGS=“-I/usr/local/Cellar/qt5/5.6.0/include -I/usr/local/Cellar/qt5/5.6.0/QtWidgets -I/usr/local/Cellar/qt5/5.6.0/include/QtCore -I/usr/local/Cellar/qt5/5.6.0/include/QtGui -I/usr/local/Cellar/qt5/5.6.0/QtNetwork” QT_LDFLAGS=“-F/usr/local/Cellar/qt5/5.6.0/lib” QT_LIBS=“-F/usr/local/Cellar/qt5/5.6.0/lib” CFLAGS=“-stdlib=libstdc++”
makecd src\qt
You can find feathercoin-qt. Yet! You can run it. -
Feathercoin 0.11.2.1 for Mac OS
-
Feathercoin 0.9.3.1 for Mac OS
-
What version of OSX did you use ? This is not El Capitan
-
Mac OS 10.9
-
I put my binary files.
http://www.ftc-c.com/pack4/featercoin-osx-0.9.3.1.zip
http://www.ftc-c.com/pack4/featercoin-osx-0.11.2.1.zipMy next job is create a install DMG.
-
If you download binary files ,I must install all *.dylib file.
feathercoin-qt:
/usr/local/opt/boost/lib/libboost_system.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/local/opt/boost/lib/libboost_filesystem.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/local/opt/boost/lib/libboost_program_options-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/local/opt/boost/lib/libboost_thread-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/local/opt/boost/lib/libboost_chrono-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/local/opt/qt5/lib/QtNetwork.framework/Versions/5/QtNetwork (compatibility version 5.6.0, current version 5.6.0)
/usr/local/opt/qt5/lib/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.6.0, current version 5.6.0)
/usr/local/opt/qt5/lib/QtGui.framework/Versions/5/QtGui (compatibility version 5.6.0, current version 5.6.0)
/usr/local/opt/qt5/lib/QtCore.framework/Versions/5/QtCore (compatibility version 5.6.0, current version 5.6.0)
/usr/local/opt/protobuf/lib/libprotobuf.9.dylib (compatibility version 10.0.0, current version 10.1.0)
/usr/local/opt/berkeley-db4/lib/libdb_cxx-4.8.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/local/opt/openssl/lib/libssl.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1056.13.0)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 48.0.0)
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1265.19.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 855.14.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 59.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0) -
This is install package. You can run wallet directly.
Downlaod
http://www.ftc-c.com/pack4/Feathercoin-Qt-0.11.2.1.app.dmg
http://www.ftc-c.com/pack4/Feathercoin-Qt-0.9.3.1.app.dmg -
When we create a release version, we need change directory from absolute position to relative position .Binary file can find his dylib.
0.11.2.1
cd /Users/lizhi/coin/install/mkdir Feathercoin-Qt-0.11.2.1.app
mkdir Feathercoin-Qt-0.11.2.1.app/Contents
mkdir Feathercoin-Qt-0.11.2.1.app/Contents/Frameworks
mkdir Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/
mkdir Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/Feathercoin-Qtcp …/Feathercoin-0.11.2.1/src/feathercoind Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/Feathercoin-Qt
cp …/Feathercoin-0.11.2.1/src/feathercoin-cli Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/Feathercoin-Qt
cp …/Feathercoin-0.11.2.1/src/feathercoin-tx Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/Feathercoin-Qt
cp …/Feathercoin-0.11.2.1/src/qt/feathercoin-qt Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/Feathercoin-Qtcp -R /usr/local/opt/qt5/lib/QtCore.framework/Versions/5/QtCore Feathercoin-Qt-0.11.2.1.app/Contents/Frameworks
cp -R /usr/local/opt/qt5/lib/QtWidgets.framework/Versions/5/QtWidgets Feathercoin-Qt-0.11.2.1.app/Contents/Frameworks
cp -R /usr/local/opt/qt5/lib/QtGui.framework/Versions/5/QtGui Feathercoin-Qt-0.11.2.1.app/Contents/Frameworks
cp -R /usr/local/opt/qt5/lib/QtNetwork.framework/Versions/5/QtNetwork Feathercoin-Qt-0.11.2.1.app/Contents/Frameworks
cp -R /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/Current/QtPrintSupport Feathercoin-Qt-0.11.2.1.app/Contents/Frameworkscp -R /usr/local/Cellar/boost/1.60.0_1/lib/libboost_system-mt.dylib Feathercoin-Qt-0.11.2.1.app/Contents/Frameworks
cp -R /usr/local/Cellar/boost/1.60.0_1/lib/libboost_filesystem-mt.dylib Feathercoin-Qt-0.11.2.1.app/Contents/Frameworks
cp -R /usr/local/Cellar/boost/1.60.0_1/lib/libboost_program_options-mt.dylib Feathercoin-Qt-0.11.2.1.app/Contents/Frameworks
cp -R /usr/local/Cellar/boost/1.60.0_1/lib/libboost_thread-mt.dylib Feathercoin-Qt-0.11.2.1.app/Contents/Frameworks
cp -R /usr/local/Cellar/boost/1.60.0_1/lib/libboost_chrono-mt.dylib Feathercoin-Qt-0.11.2.1.app/Contents/Frameworks
cp -R /usr/local/Cellar/boost/1.60.0_1/lib/libboost_regex-mt.dylib Feathercoin-Qt-0.11.2.1.app/Contents/Frameworkscp -R /usr/local/Cellar/berkeley-db4/4.8.30/lib/libdb_cxx-4.8.dylib Feathercoin-Qt-0.11.2.1.app/Contents/Frameworks
cp -R /usr/local/Cellar/berkeley-db4/4.8.30/lib/libdb_cxx.dylib Feathercoin-Qt-0.11.2.1.app/Contents/Frameworks
cp -R /usr/local/Cellar/berkeley-db4/4.8.30/lib/libdb-4.8.dylib Feathercoin-Qt-0.11.2.1.app/Contents/Frameworkscp -R /usr/local/Cellar/openssl/1.0.2g/lib/libcrypto.1.0.0.dylib Feathercoin-Qt-0.11.2.1.app/Contents/Frameworks
cp -R /usr/local/Cellar/openssl/1.0.2g/lib/libssl.1.0.0.dylib Feathercoin-Qt-0.11.2.1.app/Contents/Frameworks
cp -R /usr/local/Cellar/miniupnpc/1.9.20151008/lib/libminiupnpc.15.dylib Feathercoin-Qt-0.11.2.1.app/Contents/Frameworks
cp -R /usr/local/Cellar/libpng/1.6.21/lib/libpng16.16.dylib Feathercoin-Qt-0.11.2.1.app/Contents/Frameworks
cp -R /usr/local/Cellar/qrencode/3.4.4/lib/libqrencode.3.dylib Feathercoin-Qt-0.11.2.1.app/Contents/Frameworks
cp -R /usr/local/Cellar/protobuf/2.6.1/lib/libprotobuf.9.dylib Feathercoin-Qt-0.11.2.1.app/Contents/Frameworksinstall_name_tool -change /usr/local/opt/boost/lib/libboost_system.dylib @loader_path/…/…/Frameworks/libboost_system.dylib Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/Feathercoin-Qt/feathercoin-qt
install_name_tool -change /usr/local/opt/boost/lib/libboost_filesystem.dylib @loader_path/…/…/Frameworks/libboost_filesystem.dylib Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/Feathercoin-Qt/feathercoin-qt
install_name_tool -change /usr/local/opt/boost/lib/libboost_program_options-mt.dylib @loader_path/…/…/Frameworks/libboost_program_options-mt.dylib Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/Feathercoin-Qt/feathercoin-qt
install_name_tool -change /usr/local/opt/boost/lib/libboost_thread-mt.dylib @loader_path/…/…/Frameworks/libboost_thread-mt.dylib Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/Feathercoin-Qt/feathercoin-qt
install_name_tool -change /usr/local/opt/boost/lib/libboost_chrono-mt.dylib @loader_path/…/…/Frameworks/libboost_chrono-mt.dylib Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/Feathercoin-Qt/feathercoin-qtinstall_name_tool -change /usr/local/opt/qt5/lib/QtCore.framework/Versions/5/QtCore @loader_path/…/…/Frameworks/QtCore Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/Feathercoin-Qt/feathercoin-qt
install_name_tool -change /usr/local/opt/qt5/lib/QtWidgets.framework/Versions/5/QtWidgets @loader_path/…/…/Frameworks/QtWidgets Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/Feathercoin-Qt/feathercoin-qt
install_name_tool -change /usr/local/opt/qt5/lib/QtGui.framework/Versions/5/QtGui @loader_path/…/…/Frameworks/QtGui Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/Feathercoin-Qt/feathercoin-qt
install_name_tool -change /usr/local/opt/qt5/lib/QtNetwork.framework/Versions/5/QtNetwork @loader_path/…/…/Frameworks/QtNetwork Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/Feathercoin-Qt/feathercoin-qt
install_name_tool -change /usr/local/opt/qt5/lib/QtPrintSupport.framework/Versions/Current/QtPrintSupport @loader_path/…/…/Frameworks/QtPrintSupport Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/Feathercoin-Qt/feathercoin-qtinstall_name_tool -change /usr/local/opt/berkeley-db4/lib/libdb_cxx-4.8.dylib @loader_path/…/…/Frameworks/libdb_cxx-4.8.dylib Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/Feathercoin-Qt/feathercoin-qt
install_name_tool -change /usr/local/opt/protobuf/lib/libprotobuf.9.dylib @loader_path/…/…/Frameworks/libprotobuf.9.dylib Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/Feathercoin-Qt/feathercoin-qt
install_name_tool -change /usr/local/opt/openssl/lib/libssl.1.0.0.dylib @loader_path/…/…/Frameworks/libssl.1.0.0.dylib Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/Feathercoin-Qt/feathercoin-qt
install_name_tool -change /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib @loader_path/…/…/Frameworks/libcrypto.1.0.0.dylib Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/Feathercoin-Qt/feathercoin-qt
install_name_tool -change /usr/local/opt/qrencode/lib/libqrencode.3.dylib @loader_path/…/…/Frameworks/libqrencode.3.dylib Feathercoin-Qt-0.11.2.1.app/Contents/MacOs/Feathercoin-Qt/feathercoin-qt -
tried to install http://www.ftc-c.com/pack4/featercoin-osx-0.9.3.1.zip and says is damaged or complete when go to install? OSX 10.11.3. here cheers for any help!