Make command not working Topic is solved

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
lugia777
Posts: 4
Joined: Thursday 28 May 2020 19:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Make command not working

Post by lugia777 »

Hi!

I've followed these steps to install Domoticz. I'm using a Pine64. It always worked with a clean install and a step by step procedure. But now, I got this problem when I "make" :

/usr/dev-domoticz/main/../webserver/proxydef.def:91:1: required from here
/usr/include/cereal/cereal.hpp:448:9: error: static assertion failed: cereal could not find any output serialization functions for the provided type and archive combination.

Types must either have a serialize function, load/save pair, or load_minimal/save_minimal pair (you may not mix these).
Serialize functions generally have the following signature:

template<class Archive>
void serialize(Archive & ar)
{
ar( member1, member2, member3 );
}


CMakeFiles/domoticz.dir/build.make:158: recipe for target 'CMakeFiles/domoticz.dir/main/domoticz.cpp.o' failed
make[2]: *** [CMakeFiles/domoticz.dir/main/domoticz.cpp.o] Error 1
CMakeFiles/Makefile2:345: recipe for target 'CMakeFiles/domoticz.dir/all' failed
make[1]: *** [CMakeFiles/domoticz.dir/all] Error 2
Makefile:171: recipe for target 'all' failed
make: *** [all] Error 2

Any suggestion would be appreciated :) Thank you!

N.B.: I'm kind of a newbie at this :)
lugia777
Posts: 4
Joined: Thursday 28 May 2020 19:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Make command not working

Post by lugia777 »

Sorry, here are the steps I followed :

https://www.domoticz.com/wiki/Build_Dom ... rom_source
jaakko
Posts: 2
Joined: Saturday 30 May 2020 18:17
Target OS: Linux
Domoticz version:
Contact:

Re: Make command not working

Post by jaakko »

I have same problem than Lugia777 have.

Make crash
what i can do ?
my hardware is HP proliant
and softwarwe ubuntu 16.04
DannyR
Posts: 4
Joined: Sunday 31 May 2020 14:35
Target OS: Linux
Domoticz version:
Contact:

Re: Make command not working

Post by DannyR »

Same problem here!

I am using Ubuntu 16.04, if that helps.
foxmulder06
Posts: 11
Joined: Sunday 31 May 2020 18:29
Target OS: Linux
Domoticz version: 2020.2
Location: FRANCE
Contact:

Re: Make command not working

Post by foxmulder06 »

Hi,

-> Did you follow ALL information provided on Domoticz source code information page ?

-> What is your CMAKE version ? Must be > 3.16.0

Verify you are on the correct version with : cmake --version

Results of cmake --version:

cmake version 3.16.xx
CMake suite maintained and supported by Kitware (kitware.com/cmake).



Note: I did it without any problems on "Ubuntu 18.04.4 LTS" + INTEL ATOM 32bits + Domoticz latest release V2020.2 :D
I created an installation process, fully automated by Shell script that do ALL stuff automatically...

Regards
_____________________________________
Pascal
lugia777
Posts: 4
Joined: Thursday 28 May 2020 19:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Make command not working

Post by lugia777 »

Hi!

Thank you foxmulder06, I'll make a try with your suggestion. I did install cmake 3.16.3 and was running this version (clean install, so no other versions were present on my system), so I'll try 3.16.0 and ubuntu 18.04.4 (was also on 16.04).

Will come back with the results.

Thanks again for your time and feedback!
DannyR
Posts: 4
Joined: Sunday 31 May 2020 14:35
Target OS: Linux
Domoticz version:
Contact:

Re: Make command not working

Post by DannyR »

Thanks foxmulder06 for reaching out!

Yes, I followed the instructions on the "Build Domoticz from source" page.
I have previously built Domoticz Version: 2020.1 (build 11835) from source without troubles.
My cmake version is 3.17.2.
.
lugia777
Posts: 4
Joined: Thursday 28 May 2020 19:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Make command not working

Post by lugia777 »

Hi!

So far, so good!

I've been able to build Domoticz with this image for Pine64 :

Armbian_20.05.1_Pine64_bionic_current_5.4.43.img (Ubuntu 18.04)

I've followed the instructions from here :

https://www.domoticz.com/wiki/Build_Dom ... rom_source

Thanks again for your help, foxmulder06! Hope the others will do fine too!
jaakko
Posts: 2
Joined: Saturday 30 May 2020 18:17
Target OS: Linux
Domoticz version:
Contact:

Re: Make command not working

Post by jaakko »

My problem dont end

i use cmake 1.73.3
liboost1.73

compile with cmake it say
Make Error at CMakeLists.txt:583 (message):
Found libBoost version 1.73.0, 106000 or newer required

what the F***
foxmulder06
Posts: 11
Joined: Sunday 31 May 2020 18:29
Target OS: Linux
Domoticz version: 2020.2
Location: FRANCE
Contact:

Re: Make command not working

Post by foxmulder06 »

Hi Jaakko,

Did you apply the following BEFORE re-installing new library BOOST V1.73 + reboot :

[This first step is necessary because you will get linking errors if you don't remove the old Boost library]

sudo apt remove --purge --auto-remove libboost-dev libboost-thread-dev libboost-system-dev libboost-atomic-dev libboost-regex-dev libboost-chrono-dev


Just setup latest Domoticz V2020.2 Build 12117 + latest BOOST library V1.73 : No error during compilation so, sound like a "local" probleme related to some dependcies.

Let me know :-)

Regards
_____________________________________
Pascal
DannyR
Posts: 4
Joined: Sunday 31 May 2020 14:35
Target OS: Linux
Domoticz version:
Contact:

Re: Make command not working

Post by DannyR »

DannyR wrote: Sunday 31 May 2020 14:52 Same problem here!
I am using Ubuntu 16.04, if that helps.
I can confirm that after upgrading to Ubuntu 18.04 the problem does not occur anymore.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest