-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Installation Packages for Wazuh Agent #128
Comments
Update(16/10/2024) Added option to run Currently, the installation only places the following file:
(16/10/2024) Improved path setting and added option to modify it. |
Update
[ 98%] Building CXX object CMakeFiles/wazuh-agent.dir/agent/src/main.cpp.o
[100%] Linking CXX executable wazuh-agent
`_ZN5boost4asio6detail20co_spawn_entry_pointEPZNS1_20co_spawn_entry_pointINS1_16detached_handlerENS0_15any_io_executorENS1_21awaitable_as_functionIvS4_EEEENS0_9awaitableINS1_28awaitable_thread_entry_pointET0_EEPNS7_IvS9_EENS1_14co_spawn_stateIT_S9_T1_vEEE230_ZN5boost4asio6detail20co_spawn_entry_pointINS1_16detached_handlerENS0_15any_io_executorENS1_21awaitable_as_functionIvS4_EEEENS0_9awaitableINS1_28awaitable_thread_entry_pointET0_EEPNS7_IvS9_EENS1_14co_spawn_stateIT_S9_T1_vEE.Frame.destroy' referenced in section `.rodata.cst8' of modules/logcollector/libLogcollector.a(logcollector.cpp.o): defined in discarded section `.text._ZN5boost4asio6detail20co_spawn_entry_pointEPZNS1_20co_spawn_entry_pointINS1_16detached_handlerENS0_15any_io_executorENS1_21awaitable_as_functionIvS4_EEEENS0_9awaitableINS1_28awaitable_thread_entry_pointET0_EEPNS7_IvS9_EENS1_14co_spawn_stateIT_S9_T1_vEEE230_ZN5boost4asio6detail20co_spawn_entry_pointINS1_16detached_handlerENS0_15any_io_executorENS1_21awaitable_as_functionIvS4_EEEENS0_9awaitableINS1_28awaitable_thread_entry_pointET0_EEPNS7_IvS9_EENS1_14co_spawn_stateIT_S9_T1_vEE.Frame.destroy[_ZN5boost4asio6detail20co_spawn_entry_pointINS1_16detached_handlerENS0_15any_io_executorENS1_21awaitable_as_functionIvS4_EEEENS0_9awaitableINS1_28awaitable_thread_entry_pointET0_EEPNS7_IvS9_EENS1_14co_spawn_stateIT_S9_T1_vEE]' of modules/logcollector/libLogcollector.a(logcollector.cpp.o)
collect2: error: ld returned 1 exit status
make[2]: *** [wazuh-agent] Error 1
make[1]: *** [CMakeFiles/wazuh-agent.dir/all] Error 2
make: *** [all] Error 2
error: Bad exit status from /usr/local/var/tmp/rpm-tmp.xd9Atp (%build)
RPM build errors:
Bad exit status from /usr/local/var/tmp/rpm-tmp.xd9Atp (%build) This error occurs when we try to generate an RPM package by running the following command on the master branch:
We have identified that if we build using the "Debug" mode instead of "Release," this issue does not occur:
2024-10-22
|
Parent Issue:
Description
This issue focuses on creating platform-specific packages (RPM, DEB, MSI, PKG) to facilitate the installation of the Wazuh agent across supported operating systems. The packages should integrate with the native package managers and follow best practices for each platform.
Functional Requirements
Subtasks
The text was updated successfully, but these errors were encountered: