installation domoticz sur jail

doum33

Dabbler
Joined
Dec 2, 2021
Messages
14
Bonjour à tous,

J'essaie d'installer domoticz sous un jail truenas. Pour cela j'ai suivi 2 tutos avec 2 comportements différents:
1/ https://www.domoticz.com/wiki/FreeNAS
En suivant ce lien, je plante sur la commande cmake -DCMAKE_BUILD_TYPE=Release
-- OPENSSL library found at: /usr/lib/libssl.so;/usr/lib/libcrypto.so
-- Linking against boost static libraries
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Boost: /usr/local/include (found version "1.72.0") found components: thread system chrono date_time atomic
-- BOOST includes found at: /usr/local/include
-- ZLIB library found at: /usr/lib/libz.so
-- ZLIB includes found at: /usr/include
-- Found CURL: /usr/local/lib/libcurl.so (found version "7.79.1")
-- Curl library found at: /usr/local/lib/libcurl.so
-- Curl includes found at: /usr/local/include
CMake Error at CMakeLists.txt:671 (MESSAGE):
CEREAL not found on your system! try 'sudo apt-get install libcereal-dev'


-- Configuring incomplete, errors occurred!
See also "/root/home/domoticz/domoticz/CMakeFiles/CMakeOutput.log".
See also "/root/home/domoticz/domoticz/CMakeFiles/CMakeError.log".
J'essaie donc la commande proposée:
root@Domoticz:~/home/domoticz/domoticz # sudo apt-get install livcereal-dev
sudo: Command not found.

je n'arrive donc pas à installer les éléments manquants pour poursuivre l'installation. Auriez-vous des idées de comment résoudre ce problème?

2/ https://www.domoticz.com/wiki/FreeBSD#Official_port
En suivant ce lien, l'installation se termine correctement. Seulement il s'agit de la version 2020.2 que je souhaiterai mettre à jour, ce que je n'arrive pas à faire.
Sous usr/local/domoticz/scripts je vois bien un download_update.sh mais lorsque je le lance j'ai le message suivant:
wget: not found
Impossible d'exécuter quoi que ce soit.
Quelqu'un a une idée pour réussir à mettre à jour domoticz?

Pensez-vous qu'une des 2 méthodes est plus adaptée que l'autre?
Merci d'avance pour votre aide!
 

Pitfrr

Wizard
Joined
Feb 10, 2014
Messages
1,531
Bonjour,

Je n'ai aucune idée pour l'installation de Domoticz dans une jail... mais... en voyant ta première erreur:
Code:
root@Domoticz:~/home/domoticz/domoticz # sudo apt-get install livcereal-dev
sudo: Command not found. 

On dirait vraiment que sudo n'est pas installé.
Et de même problème pour wget peut-ètre?

Vérifie que ces commandes sont bien installées et sinon, faudra les installer.
Pour sudo, tape tout simplement sudo et ça devrait te donner la syntaxe ou retourner une erreur.
De même pour wget.
 
Top