[op25-dev] Re: Building on OSX

'O'Connor, Daniel' darius@dons.net.au [op25-dev] op25-dev at yahoogroups.com
Mon Aug 14 01:26:35 UTC 2017

> On 14 Aug 2017, at 10:52, gnorbury at bondcar.com [op25-dev] <op25-dev at yahoogroups.com> wrote:
> I'm going to take a guess that the "swig" package is not installed on your system so when you ran the "cmake ../" step prior to building op25 it generated makefiles without swig support.  It'll still compile and install quite happily but won't run...  (ask me how I know!)
> To fix the problem you need to do a "sudo apt install swig" or whatever is equivalent on OSX, then delete and re-create the op25/build directory followed by the remaining build/install steps.

I do have swig installed :(
[Maelstrom 10:54] ~/projects/op25/build >cmake -D CMAKE_INSTALL_PREFIX=/opt/local ..
-- The CXX compiler identification is AppleClang
-- The C compiler identification is AppleClang
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Checking for module SWIG
-- Found SWIG version 3.0.12.
-- Found SWIG: /opt/local/bin/swig
-- Found PythonLibs: /usr/lib/libpython2.7.dylib (found suitable version "2.7.10", minimum required is "2")
-- Found PythonInterp: /opt/local/bin/python2.7 (found suitable version "2.7.13", minimum required is "2")

Full log is at https://gist.github.com/DanielO/350abc7a51c73e0ee0810a8b75696d2d

One thing I see is..
CMake Warning (dev):
  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:


This warning is for project developers.  Use -Wno-dev to suppress it.

Which might be an issue preventing it from being found.
(But I have no idea how to fix it :)

Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20170814/ecc2916f/attachment.html>

More information about the op25-dev mailing list