# Problem in building libbeat according to the developer guide

**URL:** https://discuss.elastic.co/t/problem-in-building-libbeat-according-to-the-developer-guide/61069
**Category:** Beats
**Tags:** beats-development
**Created:** [September 21, 2016, 2:27am UTC](https://discuss.elastic.co/t/problem-in-building-libbeat-according-to-the-developer-guide/61069 "2016-09-21T02:27:11Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![wing999](https://avatars.discourse-cdn.com/v4/letter/w/6f9a4e/32.png) [@wing999](https://discuss.elastic.co/u/wing999)
#### Post date: [September 21, 2016, 2:27am UTC](https://discuss.elastic.co/t/problem-in-building-libbeat-according-to-the-developer-guide/61069/1 "2016-09-21T02:27:11Z")

</div>

Hello All,

I am following the "Developer Guide: Creating a New Beat" and trying to develop my own beat. However, I have encountered a problem in the step "Building and Running the Beat". After I execute "make", I get the following output is:

```
make: *** No rule to make target `vendor/github.com/elastic/beats/generate/beat/examplebeat/beater/{{', needed by `countbeat'. Stop.

```

There are still some directories named {{[cookiecutter.xxx](http://cookiecutter.xxx)}} within the generated project directory. I do not know it is my setup problem or anything else, any help is appreciated, thank you.

The configuration of my building machine:  
Ubuntu 14.04  
GNU Make 3.81  
Python 2.7.6  
Cookiecutter 1.4.0  
gccgo (Ubuntu 4.9.3-0ubuntu4) 4.9.3

---

<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: [September 21, 2016, 6:48am UTC](https://discuss.elastic.co/t/problem-in-building-libbeat-according-to-the-developer-guide/61069/2 "2016-09-21T06:48:52Z")

</div>

The directory examplebeat should not be there. Either there went something wrong in our script or the beat was created in the wrong directory.

Did you create the directory examplebeat or was that already there after you were running the cookiecutter command?

---

<div class="post-metadata">

### Author: ![wing999](https://avatars.discourse-cdn.com/v4/letter/w/6f9a4e/32.png) [@wing999](https://discuss.elastic.co/u/wing999)
#### Post date: [October 5, 2016, 7:39am UTC](https://discuss.elastic.co/t/problem-in-building-libbeat-according-to-the-developer-guide/61069/3 "2016-10-05T07:39:19Z")

</div>

May be I made some mistakes in checking out the code. I still don't know  
why but everything is alright after I delete and check out the code  
again.

---

<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: [October 5, 2016, 6:29pm UTC](https://discuss.elastic.co/t/problem-in-building-libbeat-according-to-the-developer-guide/61069/4 "2016-10-05T18:29:24Z")

</div>

It could be that you fetched a state of the repo in which it was not working correctly. I'm glad it works now.

---

<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: [October 12, 2016, 2:27am UTC](https://discuss.elastic.co/t/problem-in-building-libbeat-according-to-the-developer-guide/61069/5 "2016-10-12T02:27:19Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
