# Has anyone tried to compile beats for Raspberry Pi (ARM) yet?

**URL:** https://discuss.elastic.co/t/has-anyone-tried-to-compile-beats-for-raspberry-pi-arm-yet/37716
**Category:** Beats
**Created:** [December 21, 2015, 7:47pm UTC](https://discuss.elastic.co/t/has-anyone-tried-to-compile-beats-for-raspberry-pi-arm-yet/37716 "2015-12-21T19:47:22Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![kai5263499](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kai5263499/32/6756_2.png) [@kai5263499](https://discuss.elastic.co/u/kai5263499)
#### Post date: [December 21, 2015, 7:47pm UTC](https://discuss.elastic.co/t/has-anyone-tried-to-compile-beats-for-raspberry-pi-arm-yet/37716/1 "2015-12-21T19:47:22Z")

</div>

When I tried to build beats from source I get the following:

```
make -C libbeat testsuite || exit 1; make -C packetbeat testsuite || exit 1; make -C topbeat testsuite || exit 1; make -C filebeat testsuite || exit 1; make -C winlogbeat testsuite || exit 1;
make[1]: Entering directory '/root/beats/libbeat'
# Setups environment if TEST_ENVIRONMENT is set to true
if [true = true]; then \
 make integration-tests-environment; \
else \
make integration-tests; \
fi
make[2]: Entering directory '/root/beats/libbeat'
make prepare-tests
make[3]: Entering directory '/root/beats/libbeat'
mkdir -p build/coverage
# coverage tools
go get golang.org/x/tools/cmd/cover
# golang.org/x/tools/cover
/usr/lib/go/src/pkg/golang.org/x/tools/cover/profile.go:55: undefined: bufio.NewScanner
scripts/Makefile:79: recipe for target 'prepare-tests' failed
make[3]: *** [prepare-tests] Error 2
make[3]: Leaving directory '/root/beats/libbeat'
scripts/Makefile:100: recipe for target 'integration-tests-environment' failed
make[2]: *** [integration-tests-environment] Error 2
make[2]: Leaving directory '/root/beats/libbeat'
scripts/Makefile:133: recipe for target 'testsuite' failed
make[1]: *** [testsuite] Error 2
make[1]: Leaving directory '/root/beats/libbeat'
Makefile:8: recipe for target 'testsuite' failed
make: *** [testsuite] Error 1
```

---

<div class="post-metadata">

### Author: ![tudor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tudor/32/3753_2.png) [@tudor](https://discuss.elastic.co/u/tudor)
#### Post date: [December 21, 2015, 7:54pm UTC](https://discuss.elastic.co/t/has-anyone-tried-to-compile-beats-for-raspberry-pi-arm-yet/37716/2 "2015-12-21T19:54:57Z")

</div>

Topbeat and Filebeat have been reported to work on RPi. Packetbeat is more complex because it uses CGO. Compiling should be pretty easy with `make crosscompile`. We also produce "nightlies" with all platforms including ARM [here](https://beats-nightlies.s3.amazonaws.com/index.html?prefix=jenkins/). Probably easiest is to try one of those binaries.

---

<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: [December 21, 2015, 8:00pm UTC](https://discuss.elastic.co/t/has-anyone-tried-to-compile-beats-for-raspberry-pi-arm-yet/37716/3 "2015-12-21T20:00:01Z")

</div>

interestingly it fails when building a test dependency (symbol from stdlib is missing?).

you can try e.g.:

```
$ cd topbeat
$ GO15VENDOREXPERIMENT=1 go build

```

Have setup a proper [go dev-environment](https://golang.org/doc/install)?

---

<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:57pm UTC](https://discuss.elastic.co/t/has-anyone-tried-to-compile-beats-for-raspberry-pi-arm-yet/37716/4 "2017-07-05T21:57:22Z")

</div>


