Not sure how you're trying to compile Heka. The recommended way, as noted in 
the docs 
(http://hekad.readthedocs.org/en/v0.10.0/installing.html#building-hekad-with-external-plugins),
 is to put your code in an `externals` folder and add a 
`cmake/plugin_loader.cmake` file that uses the special `:local` tag to specify 
that your package is on your local hard drive. Then `. build.sh` (and `make`, 
after the environment is sourced) will work.

If you know what you're doing the go tools can be used, but you have to make 
sure the GOPATH environment is set up correctly, which you can do by running `. 
env.sh` from the Heka repo root directory.

-r


On 01/06/2016 11:14 AM, Emily Gu wrote:
Dear Hekas,

I'm writing a Heka plugin for our project. After clone Heka master and
follow the installation instruction to build it, I got the following
compilation error when import "github.com/mozilla-services/heka/pipeline
<http://github.com/mozilla-services/heka/pipeline>" in myplugin.go file.

# github.com/mozilla-services/heka/message
<http://github.com/mozilla-services/heka/message>

../../../mozilla-services/heka/message/message_matcher.go:21: undefined:
tree

It blocks my work. Your timely help is greatly appreciated.

Thanks,

Emily



_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka


_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to