Compiling from sources issues

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.
Post Reply
Posts: 118
Joined: Tuesday 12 May 2015 12:09
Target OS: Raspberry Pi
Domoticz version: Last
Location: Belgium

Compiling from sources issues

Post by YellowSky » Thursday 07 September 2017 8:40

Hi everyone.
I'm under a raspberry pi 2 with Jessie?
I'm trying to compile domoticz from sources to enable python plugin.

I'm using this wiki page:

But i'm getting this issue

Code: Select all

[  0%] Built target revisiontag
[  1%] Built target sqlite
[  1%] Built target domoticz_gch
[ 14%] Built target lua
[ 21%] Built target mqtt
[ 22%] Building CXX object CMakeFiles/domoticz.dir/main/mainworker.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
CMakeFiles/domoticz.dir/build.make:374: recipe for target 'CMakeFiles/domoticz.dir/main/mainworker.cpp.o' failed
make[2]: *** [CMakeFiles/domoticz.dir/main/mainworker.cpp.o] Error 4
CMakeFiles/Makefile2:108: recipe for target 'CMakeFiles/domoticz.dir/all' failed
make[1]: *** [CMakeFiles/domoticz.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
I'm trying with
- cmake -DCMAKE_BUILD_TYPE=Release .

Anyone has a clue?

N.B.: to enable the python plugin, i replaced 0 by 1 into the code

Code: Select all

if (1 == 0)
in main/mainworker.cpp ... 317c67804f

Thank you

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests