Build the mac agent from source

133 views
Skip to first unread message

Demetri

unread,
Apr 20, 2018, 1:27:34 PM4/20/18
to Wazuh mailing list
Hi,

I've been playing around with the windows version of the agent successfully. I'm curious about the mac agent, but from the documentation I don't see a way to specify building the mac agent via make. What am I missing? do I just target linux and build it on a mac?

So, for windows I can do this 'make TARGET=winagent DEBUG=1". What is the equivalent for mac?

thanks.

Jose Luis Ruiz

unread,
Apr 20, 2018, 1:42:02 PM4/20/18
to Wazuh mailing list, Demetri
Hi Demetri

We have packages to install in Mac,


Please check the packages list:



Regards
————————
José Luis Ruiz.
Wazuh Inc.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/d4447852-b22a-4487-a77d-6de4d7282233%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Demetri

unread,
Apr 20, 2018, 1:54:02 PM4/20/18
to Wazuh mailing list
I'd like to build and debug the code real-time on a mac with my IDE.


On Friday, April 20, 2018 at 1:42:02 PM UTC-4, Jose Luis Ruiz wrote:
Hi Demetri

We have packages to install in Mac,


Please check the packages list:



Regards
————————
José Luis Ruiz.
Wazuh Inc.

On April 20, 2018 at 10:27:36 AM, Demetri (demetri...@gmail.com) wrote:

Hi,

I've been playing around with the windows version of the agent successfully. I'm curious about the mac agent, but from the documentation I don't see a way to specify building the mac agent via make. What am I missing? do I just target linux and build it on a mac?

So, for windows I can do this 'make TARGET=winagent DEBUG=1". What is the equivalent for mac?

thanks.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.

rafael...@wazuh.com

unread,
Apr 20, 2018, 8:12:39 PM4/20/18
to Wazuh mailing list
Hi Demetri,

to build the agent from the source for MacOS you need to install the command line tools (gcc etc) for MacOS. You can follow this link http://railsapps.github.io/xcode-command-line-tools.html to install them.

Now you from the terminal, inside the src folder run as root:
#make TARGET=agent PREFIX=/Library/Ossec DEBUG=true

Then install the agent with the install.sh script as normally.

Best regards.
Reply all
Reply to author
Forward
0 new messages