• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mac OS X support
#1
There does not seem to be a thread that supports Mac OS X users. I am trying to install Ardunio nano with pilight (and realized too late how cheap you sell your stuff in your forum Crying) and I was able to install homebrew etc. I did the following after opening terminal (three steps: homebrew, cmake, libunwind and cloning git taking about 3-5 minutes):

Code:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

brew install cmake

brew install libunwind-headers

git clone --depth 5 -b master https://github.com/pilight/pilight.git

and got the final message "Checking connectivity... done." So this went ok. But then I tried to CMake and got the error message


Code:
CMake Error at CMakeLists.txt:245 (message):
 Looking for libunwind - not found

-- Configuring incomplete, errors occurred!
See also "/Users/andreasloeffler/pilight/CMakeFiles/CMakeOutput.log".

 I realized that I did install libunwind above but got the following messages

Code:
==> Downloading https://homebrew.bintray.com/bottles/libunwind-headers-35.3.sierra.bottle.tar.gz
######################################################################## 100,0%
==> Pouring libunwind-headers-35.3.sierra.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

This package includes official development headers not installed by Apple.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

   CPPFLAGS: -I/usr/local/opt/libunwind-headers/include

==> Summary
?  /usr/local/Cellar/libunwind-headers/35.3: 13 files, 247.8K

Maybe CMake cannot find libunwind? But how can I changed that? The log-File of CMake is attached: 
.pdf   CMakeOutput.pdf (Size: 86.77 KB / Downloads: 1)
 
Reply
#2
Seems that libunwind doesn't support macOS: https://stackoverflow.com/questions/27842377/building-libunwind-for-mac and http://comments.gmane.org/gmane.comp.lib.unwind.devel/2199
.
 
Reply
#3
OK, so there is no way to install pilight on a arduino using Mac OS X. 

I will try a VM now.
 
Reply
#4
Just disable compilation with libunwind in CMakeLists.txt
 
Reply
#5
(11-29-2016, 08:16 PM)curlymo Wrote: Just disable compilation with libunwind in CMakeLists.txt
I tried to do that and failed again:
Code:
This program requires libc6
 I cannot install libc6 using "brew install libc6" because homebrew does not find anything of that name.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Windows Support curlymo 35 18,476 06-10-2018, 04:40 PM
Last Post: Leo
  Odroid C2 support on Kernel 4.14 Jojo 5 667 06-01-2018, 03:19 PM
Last Post: curlymo
  Odroid-C1 support terrar 51 20,355 05-31-2016, 11:08 AM
Last Post: Jojo
  Ububtu 14.4 64 bit support terrar 30 12,217 05-09-2015, 11:40 PM
Last Post: curlymo
Question radxa support terrar 57 19,125 01-05-2015, 06:58 PM
Last Post: curlymo
  [Solved] Disabled PHP support error lvdp 4 5,451 02-18-2014, 12:02 AM
Last Post: meloen
  Node support changed? koffie 19 9,189 01-12-2014, 05:44 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)