jackburton79 / ocs-agent

Lite inventory agent (compatibile with ocsinventory-ng and glpi)
GNU General Public License v3.0
14 stars 6 forks source link

Fail to compile #45

Closed inext68 closed 5 months ago

inext68 commented 5 months ago

Hello, I found your project and this is very useful for my work to inventory 10zig Thinclients into GLPI (or Ocsinventory). I tryed to complile on linux Ubuntu 22.04.4.LTS but I receive the error below. Hope you can solve . Thanks for you work.


----/ocs-agent-2.0.0$ <<>>...<<>>

Building file: http/SocketGetter.cpp Invoking: GCC C++ Compiler g++ -DTIXML_USE_STL -fPIE -O2 -Wall -I ./ -c -fmessage-length=0 -MMD -MP -MF"http/SocketGetter.d" -MT"http/SocketGetter.d" -o "http/SocketGetter.o" "http/SocketGetter.cpp" In file included from http/SocketGetter.cpp:11: http/SSLSocket.h:13:10: fatal error: openssl/ssl.h: No such file or directory 13 | #include <openssl/ssl.h> | ^~~~~~~ compilation terminated. make: *** [subdir.mk:41: http/SocketGetter.o] Error 1

jackburton79 commented 5 months ago

Hi, try installing openssl_devel as a dependency

inext68 commented 5 months ago

Thank you. Now I can complile it.

jackburton79 commented 5 months ago

Nice!