Page 1 of 1

Installation on OSX El Capitan

Posted: Monday 21 December 2015 9:16
by KristianO
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!

Re: Installation on OSX El Capitan

Posted: Monday 21 December 2015 16:50
by gizmocuz
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

Re: Installation on OSX El Capitan

Posted: Monday 21 December 2015 21:33
by KristianO
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?

Re: Installation on OSX El Capitan

Posted: Sunday 03 January 2016 13:58
by bellyd
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: 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!

Re: Installation on OSX El Capitan

Posted: Friday 06 January 2017 10:54
by rotax
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.

Re: Installation on OSX El Capitan

Posted: Friday 06 January 2017 12:50
by trixwood
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...