projects:dl-fldigi:build-osx
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:dl-fldigi:build-osx [2012/12/29 22:26] – jcoxon | projects:dl-fldigi:build-osx [2016/08/02 19:46] (current) – jcoxon | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Build on Mac OS X 10.8.2 ====== | ||
- | **Work in progress** | + | ====== Build on Mac OS X 11.5+ ====== |
+ | |||
+ | | ||
+ | | ||
+ | | ||
< | < | ||
- | $ brew install git automake fltk pkg-config libsamplerate portaudio | + | $ brew install git automake fltk pkg-config libsamplerate portaudio |
+ | </ | ||
+ | < | ||
$ git clone git:// | $ git clone git:// | ||
$ cd dl-fldigi | $ cd dl-fldigi | ||
$ git submodule init | $ git submodule init | ||
$ git submodule update | $ git submodule update | ||
+ | </ | ||
+ | < | ||
$ cd m4 | $ cd m4 | ||
$ cp / | $ cp / | ||
$ cd .. | $ cd .. | ||
+ | $ cp / | ||
+ | </ | ||
+ | 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 | ||
+ | < | ||
+ | $ cd / | ||
+ | $ ln -s ../ | ||
+ | </ | ||
+ | |||
+ | Might also need you to install the latest xcode command tools: | ||
+ | < | ||
+ | $ xcode-select --install | ||
+ | </ | ||
+ | |||
+ | Then start the it for real: | ||
+ | < | ||
$ autoreconf -vfi | $ autoreconf -vfi | ||
- | $ ./configure --disable-flarq | + | </ |
+ | On OS X 10.9+ (Mavericks and Yosemite) | ||
+ | < | ||
+ | $ CXXFLAGS=" | ||
+ | </code> | ||
+ | Otherwise | ||
+ | < | ||
+ | $ ./configure | ||
+ | </code> | ||
+ | < | ||
$ make | $ make | ||
+ | </ | ||
+ | < | ||
+ | $ src/ | ||
+ | </ | ||
+ | |||
+ | ====== Mac OS X 10.5.8 ====== | ||
+ | |||
+ | * issues with trl/ | ||
+ | * need to edit spot/ | ||
+ | < | ||
+ | //#if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) | ||
+ | // #define MAP_TYPE std:: | ||
+ | // #include < | ||
+ | //#else | ||
+ | // use the non-standard gnu hash_map on gcc <= 4.0.x, | ||
+ | // which has a broken tr1:: | ||
+ | # define MAP_TYPE __gnu_cxx:: | ||
+ | # include < | ||
+ | namespace __gnu_cxx { | ||
+ | // define the missing hash specialisation for std::string | ||
+ | // using the 'const char*' hash function | ||
+ | template<> | ||
+ | size_t operator()(const std:: | ||
+ | }; | ||
+ | } | ||
+ | //#endif | ||
</ | </ |
projects/dl-fldigi/build-osx.1356819979.txt.gz · Last modified: 2012/12/29 22:26 by jcoxon