securesocketfunneling/ssf

Having trouble building for macOS

bobbyl140 opened this issue · 0 comments

I have a server running macOS 10.13 (High Sierra) that I would like to be able to forward UDP traffic around. I keep coming back to this project, and it says on the readme that it is compatible with macOS. However, I have tried many different ways of compiling this to run but various things keep failing. At the moment, something about boost seems to not be installed completely. I tried the build_boost.sh script, but it seems to be trying to cd into a directory that doesn't exist. I get the following output when trying to build version 1.62.0:

./build_boost.sh: line 16: realpath: command not found
./build_boost.sh: line 19: realpath: command not found
./build_boost.sh: line 20: realpath: command not found
[*] Decompressing 
bzip2: I won't read compressed data from a terminal.
bzip2: For help, type: `bzip2 --help'.
[*] Bootstrapping Boost
./build_boost.sh: line 31: cd: boost_1_62_0: No such file or directory
sed: boost_1_62_0/project-config.jam: No such file or directory
[*] Building Boost
./build_boost.sh: line 46: cd: boost_1_62_0: No such file or directory

When using the version of boost installed via brew install boost, I get this output:

  Found package configuration file:

    /usr/local/Cellar/boost/1.75.0_1/lib/cmake/boost_system-1.75.0/boost_system-config.cmake

  but it set boost_system_FOUND to FALSE so package "boost_system" is
  considered to be NOT FOUND.  Reason given by package:

  No suitable build variant has been found.

  The following variants have been tried and rejected:

  * libboost_system-mt.dylib (shared, Boost_USE_STATIC_LIBS=ON)

  * libboost_system-mt.a (shared runtime, Boost_USE_STATIC_RUNTIME=ON)

  * libboost_system.dylib (shared, Boost_USE_STATIC_LIBS=ON)

  * libboost_system.a (shared runtime, Boost_USE_STATIC_RUNTIME=ON)

Call Stack (most recent call first):
  /usr/local/opt/boost/lib/cmake/Boost-1.75.0/BoostConfig.cmake:258 (boost_find_component)
  /usr/local/Cellar/cmake/3.19.2/share/cmake/Modules/FindBoost.cmake:460 (find_package)
  CMakeLists.txt:91 (find_package)


-- Configuring incomplete, errors occurred!

If anyone has any guidance on how to build this, help would be appreciated, as there don't seem to be other ways of UDP forwarding that work reliably.