# Following developper's guide, beats won't compile

**URL:** <https://discuss.elastic.co/t/following-developpers-guide-beats-wont-compile/41592>\
**Category:** Beats\
**Created:** [February 12, 2016, 9:57am UTC](https://discuss.elastic.co/t/following-developpers-guide-beats-wont-compile/41592 "2016-02-12T09:57:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rvlander](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@rvlander](https://discuss.elastic.co/u/rvlander)\
**Post date:** [February 12, 2016, 9:57am UTC](https://discuss.elastic.co/t/following-developpers-guide-beats-wont-compile/41592/1 "2016-02-12T09:57:59Z")

</div>

Disclaimer: I am a total noob in Go.

When running from Getting Ready section in Developpers's guide:

```auto
go get github.com/elastic/beats

```

I have the following error:

```auto
package github.com/elastic/beats: no buildable Go source files in <GOPATH>/src/github.com/elastic/beats

```

---

<div class="post-metadata">

**Author:** ![rvlander](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@rvlander](https://discuss.elastic.co/u/rvlander)\
**Post date:** [February 15, 2016, 10:16am UTC](https://discuss.elastic.co/t/following-developpers-guide-beats-wont-compile/41592/2 "2016-02-15T10:16:00Z")

</div>

I succeeded build topbeat by making

```auto
go get github.com/elastic/beats/topbeat

```

After having installed all dependencies (see error trace when trying to built it the first time to know what to go get).

There where also an error concerning sigar/gosigar. I just added "sigar" aliases in topbeat.go (l10) and sigar.go (l8)

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [February 16, 2016, 4:47pm UTC](https://discuss.elastic.co/t/following-developpers-guide-beats-wont-compile/41592/3 "2016-02-16T16:47:48Z")

</div>

we've vendored all dependencies in [github.com/elastic/beats](http://github.com/elastic/beats) repository. You need to run `export GO15VENDOREXPERIMENT=1` before running make.

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [February 16, 2016, 5:26pm UTC](https://discuss.elastic.co/t/following-developpers-guide-beats-wont-compile/41592/4 "2016-02-16T17:26:53Z")

</div>

I opened an issue here to add this to the developer guide: [https://github.com/elastic/beats/issues/983](https://github.com/elastic/beats/issues/983)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 9:55pm UTC](https://discuss.elastic.co/t/following-developpers-guide-beats-wont-compile/41592/5 "2017-07-05T21:55:40Z")

</div>


