# Compiling elastic-agent for linux/mips64

**URL:** <https://discuss.elastic.co/t/compiling-elastic-agent-for-linux-mips64/266157>\
**Category:** Beats\
**Tags:** elastic-agent\
**Created:** [March 3, 2021, 8:20pm UTC](https://discuss.elastic.co/t/compiling-elastic-agent-for-linux-mips64/266157 "2021-03-03T20:20:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kn1ght0w1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kn1ght0w1/32/84912_2.png) [@kn1ght0w1](https://discuss.elastic.co/u/kn1ght0w1)\
**Post date:** [March 3, 2021, 8:20pm UTC](https://discuss.elastic.co/t/compiling-elastic-agent-for-linux-mips64/266157/1 "2021-03-03T20:20:18Z")

</div>

Hi All, I am trying to compile elastic-agent for linux/mips64 and I am getting a bit beyond myself.

I cloned the GIT repo and ran the following to try and get it to compile:  
`SNAPSHOT=true DEV=true PLATFORMS=linux/mips64 ~/go/bin/mage package`

The output from the command looks thusly:

```auto
$ SNAPSHOT=true DEV=true PLATFORMS=linux/mips64 ~/go/bin/mage package
package ran for 1.082µs
Error: elastic-agent package is expected to include other packages

```

I tried adding this line to the `magefile.go`:  
`{"linux/mips64", "linux-mips64.tar.gz"},`

However, same error. Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)\
**Post date:** [March 4, 2021, 9:52am UTC](https://discuss.elastic.co/t/compiling-elastic-agent-for-linux-mips64/266157/2 "2021-03-04T09:52:23Z")

</div>

Guessing - did you try to build filebeat and metricbeat before?

---

<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:** [April 1, 2021, 11:52am UTC](https://discuss.elastic.co/t/compiling-elastic-agent-for-linux-mips64/266157/3 "2021-04-01T11:52:25Z")

</div>

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