# Compiling filebeat from source on ppc64le

**URL:** <https://discuss.elastic.co/t/compiling-filebeat-from-source-on-ppc64le/242186>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [July 22, 2020, 12:18pm UTC](https://discuss.elastic.co/t/compiling-filebeat-from-source-on-ppc64le/242186 "2020-07-22T12:18:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![seth-priya](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@seth-priya](https://discuss.elastic.co/u/seth-priya)\
**Post date:** [July 22, 2020, 12:18pm UTC](https://discuss.elastic.co/t/compiling-filebeat-from-source-on-ppc64le/242186/1 "2020-07-22T12:18:40Z")

</div>

Hi,

I am trying to build filebeat version 6.8.10 using the below steps on ppc64le, UBI-8 and had a couple of questions

#Steps to build (using go.10.2)  
git clone [https://github.com/elastic/beats.git](https://github.com/elastic/beats.git)  
cd beats  
git checkout v6.8.10  
cd filebeat  
make  
make unit

This works, however I also tried "PLATFORM=Linux/ppc64le make snapshot", "mage build", "make test" and run into python 2/3 compatibility issues which I am trying to look at currently but just wanted to confirm that python2 is what is required here?

The other, somewhat related question is if the default filebeat binary that is generated with mage build will have the x-pack code or are there specific things that need to be done to exclude/include this?

Any pointers here would be of great help, thanks in advance!!

Thanks,  
Priya

---

<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:** [August 19, 2020, 2:18pm UTC](https://discuss.elastic.co/t/compiling-filebeat-from-source-on-ppc64le/242186/2 "2020-08-19T14:18:42Z")

</div>

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