-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Hi Mr. Kermith,
Wonderfull work here!
Thank you for your coding time.
I'm trying to test you script in a new and clean raspbian Buster minimal installation.
So far I found a couple of errors and, maybe some solution.
1.- Installation report on screen reports incorrectly about FAIL/OK installed items.
- In my experience, installation reports:
FAIL for "Centreon Connectors" >>> It's true, installation fails.
OK for "Centreon Engine" >>> Wrong. Centreon Engine installation fails to complete.
OK for "Centreon Broker" >>> Wrong. Installation fails to complete.
2.- Regarding "Centreon Connectors" failed installation:
I managed to install it correctly modifying line 171 of v1.57 as follows:
--- /usr/local/bin/conan install .. >> ${INSTALL_LOG}
+++ /usr/local/bin/conan install .. --build=fmt --build=gtest --build=spdlog >> ${INSTALL_LOG}
3.- Regarding "Centreon Engine" failed installation:
I tried with following suggested solution, in line 228
--- /usr/local/bin/conan install .. >> ${INSTALL_LOG}
+++ /usr/local/bin/conan install .. --build=missing >> ${INSTALL_LOG}
But I got blocked in a dead end with following error I don't know how to solve:
[ 98%] Linking CXX static library ../lib/libgrpc++.a
[ 98%] Built target grpc++
make: *** [Makefile:130: all] Error 2
grpc/1.25.0@inexorgame/stable:
grpc/1.25.0@inexorgame/stable: ERROR: Package 'aebc1ca5c7ad1699f83c13e92c47996d8e4822fd' build failed
grpc/1.25.0@inexorgame/stable: WARN: Build folder /root/.conan/data/grpc/1.25.0/inexorgame/stable/build/aebc1ca5c7ad1699f83c13e92c47996d8e4822fd
ERROR: grpc/1.25.0@inexorgame/stable: Error in build() method, line 119
cmake.build()
ConanException: Error 2 while executing cmake --build '/root/.conan/data/grpc/1.25.0/inexorgame/stable/build/aebc1ca5c7ad1699f83c13e92c47996d8e4822fd/build_subfolder' '--' '-j4'
4.- Regarding "Centreon Broker" failed installation:
Suggestion is to apply similar correction to line 379.
--- /usr/local/bin/conan install .. >> ${INSTALL_LOG}
+++ /usr/local/bin/conan install .. --build=missing >> ${INSTALL_LOG}
Although I still couldn't test this one.
Hope this might help to improve your code.
Regards
Juanma Granja