Installation on OSX El Capitan

On various Hardware and OS systems: pi / windows / routers / nas, etc
KristianO
Posts: 6
Joined: Sunday 20 December 2015 19:49
Target OS: OS X
Domoticz version:
Contact:

Installation on OSX El Capitan

Postby KristianO » Monday 21 December 2015 10:16

Hi!

Im very new to Domoticz and would very much appriciate of someone could help me out with an installation of Domoticz on a OSX server.

I tried the following steps:
1. Download Xcode from the Mac App Store. When it’s download launch it.
2. Download and install MacPorts – you can find this by Googling it. We installed the version for Mac OS Mavericks
3. In Terminal run this command: sudo port selfupdate
4. In Terminal run: sudo port upgrade outdated
5. Run: sudo port install cmake
6. Run: sudo port install boost
7. Run: sudo port install libusb
8. Run: sudo port install libusb-compat
9: git clone https://github.com/domoticz/domoticz.git domoticz (installed under /Users/kristian/Library/domoticz/
10. Run: cd domoticz
11. Run: cmake CMakeLists.txt

At step 11 i get the following error:

Boost version: 1.59.0

Boost include path: /opt/local/include

Could not find the following static Boost libraries:

boost_thread
boost_date_time

How to proceed?

Thanks!

User avatar
gizmocuz
Posts: 7712
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi
Domoticz version: beta
Location: Top of the world
Contact:

Re: Installation on OSX El Capitan

Postby gizmocuz » Monday 21 December 2015 17:50

you can try to download the OSx version here:

http://www.domoticz.com/releases/?dir=beta

and install it like:

Code: Select all

   mkdir ~/domoticz
   cd ~/domoticz
   wget http://www.domoticz.com/releases/domoticz_osx_x86_64_latest.tgz
   tar domoticz_osx_x86_64_latest.tgz
   rm domoticz_osx_x86_64_latest.tgz

then start it with
./domoticz
Quality outlives Quantity!

KristianO
Posts: 6
Joined: Sunday 20 December 2015 19:49
Target OS: OS X
Domoticz version:
Contact:

Re: Installation on OSX El Capitan

Postby KristianO » Monday 21 December 2015 22:33

Thanks alot for your replay!

After i did all the steps i get the following in the execution.

MACMINI:domoticz kristianolofsson$ ./domoticz
dyld: Library not loaded: /usr/local/lib/libusb-0.1.4.dylib
Referenced from: /Users/kristianolofsson/domoticz/./domoticz
Reason: image not found
Trace/BPT trap: 5

I also tried all the prev. steps again wo any problems. It seems like a problem in finding the libusb?

bellyd
Posts: 14
Joined: Sunday 11 January 2015 13:17
Target OS: OS X
Domoticz version:
Contact:

Re: Installation on OSX El Capitan

Postby bellyd » Sunday 03 January 2016 14:58

I had the same problem with Boost v1.59. I managed to work around it by using Boost 1.58 iso 1.59. Check my post of Nov 8th 2015: https://www.domoticz.com/forum/viewtopic.php?f=6&t=2581

NOTE: this will only work if you have 1.58 installed. I didn't find an easy way to retrieve an old(er) version via macports. What you can you is uninstall macports (see the macports wiki) and follow the homebrew instructions. This gave me a working Domoticz server today on El Capitan 10.11.2.

Success!
---
Domoticz newbie using mac mini server -- Oregon Scientific sensors -- KAKU switches -- Evohome Wifi with Evoclient

rotax
Posts: 1
Joined: Friday 06 January 2017 11:49
Target OS: OS X
Domoticz version:
Contact:

Re: Installation on OSX El Capitan

Postby rotax » Friday 06 January 2017 11:54

open command line in Os X and type:

1) ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homeb ... er/install )" < /dev/null 2> /dev/null
2) brew install libusb-compat
3) brew install openssl

after these three steps Domoticz should run. I have done that in Sierra and it works fine.

trixwood
Posts: 504
Joined: Friday 18 March 2016 8:20
Target OS: OS X
Domoticz version: Offline
Contact:

Re: Installation on OSX El Capitan

Postby trixwood » Friday 06 January 2017 13:50

How did you get the new plugin system compiled?

I found the option to disable it, but I have no idea how to include it...


Return to “Installation, Compiling, Permissions, Security and Starting”

Who is online

Users browsing this forum: No registered users and 1 guest