Setup & Build Issue on Filebeat on MAC (High Seria version :10.13.6)

(Mishra Vinay) #1


I am trying to setup and build the filebeat in our mac (OS: High Seria version: 10.13.6). But unfortunately, unable to run the code and debug. can you please help me on this.

I download the GOLang and setup, after that, I clone the beats code from github and try to build this code for debugging. getting error:
cannot find package "" in any of:
/Users/user01/Desktop/Go_Workspace/src/beats/vendor/ (vendor tree)
/usr/local/go/src/ (from $GOROOT)
/Users/user01/Desktop/Go_Workspace/src/ (from $GOPATH)

can you please help me on that, and guide me to build and debug the code.

(Steffen Siering) #2

Why do you need to build filebeat yourself? We provide binaries for OS X.

The build error is weird. Looks like you have two checkouts, one in $GOROOT and one in $GOPATH? Check your go environment and work space being setup correctly. Do no store any third party packages under $GOROOT.

(Mishra Vinay) #3

Thanks ,
It's fix, there was a folder structure issue.

(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.