UKHAS Wiki

UK High Altitude Society

User Tools

Site Tools


projects:dl-fldigi:build-osx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:dl-fldigi:build-osx [2013/11/28 17:12] jcoxonprojects:dl-fldigi:build-osx [2016/08/02 19:46] (current) jcoxon
Line 1: Line 1:
-====== Build on Mac OS X 10.8+ ======+ 
 +====== Build on Mac OS X 11.5+ ======
  
   * Requirements:   * Requirements:
Line 23: Line 24:
 $ cp /usr/local/Cellar/curl/7.28.1/lib/pkgconfig/libcurl.pc /usr/local/lib/pkgconfig/ $ cp /usr/local/Cellar/curl/7.28.1/lib/pkgconfig/libcurl.pc /usr/local/lib/pkgconfig/
 </code> </code>
 +May need to do a similar thing for libpng (on Mac OS X 10.6.8)
  
 +As Apple have stopped using openssl you'll need to symlink it
 +<code>
 +$ cd /usr/local/include 
 +$ ln -s ../opt/openssl/include/openssl .
 +</code>
 +
 +Might also need you to install the latest xcode command tools:
 +<code>
 +$ xcode-select --install
 +</code>
 +
 +Then start the it for real:
 <code> <code>
 $ autoreconf -vfi $ autoreconf -vfi
 </code> </code>
-On OS X Mavericks (10.9)+On OS X 10.9+ (Mavericks and Yosemite)
 <code> <code>
 $ CXXFLAGS="-stdlib=libstdc++" ./configure --disable-flarq $ CXXFLAGS="-stdlib=libstdc++" ./configure --disable-flarq
Line 41: Line 55:
 <code> <code>
 $ src/dl-fldigi --hab $ src/dl-fldigi --hab
 +</code>
 +
 +====== Mac OS X 10.5.8 ======
 +
 +  * issues with trl/hashcodes
 +  * need to edit spot/notify.cxx and remove reference:
 +<code>
 +//#if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1)
 +//  #define MAP_TYPE std::tr1::unordered_map
 +//  #include <tr1/unordered_map>
 +//#else
 +// use the non-standard gnu hash_map on gcc <= 4.0.x,
 +// which has a broken tr1::unordered_map::operator=
 +#  define MAP_TYPE __gnu_cxx::hash_map
 +#  include <ext/hash_map>
 +namespace __gnu_cxx {
 +        // define the missing hash specialisation for std::string
 +        // using the 'const char*' hash function
 +                template<> struct hash<std::string> {
 +                size_t operator()(const std::string& s) const { return __stl_ha$
 +        };
 +}
 +//#endif
 </code> </code>
projects/dl-fldigi/build-osx.1385658742.txt.gz · Last modified: 2013/11/28 17:12 by jcoxon

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki