# Attempting to compile filebeat in AIX

**URL:** <https://discuss.elastic.co/t/attempting-to-compile-filebeat-in-aix/143378>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [August 7, 2018, 5:59pm UTC](https://discuss.elastic.co/t/attempting-to-compile-filebeat-in-aix/143378 "2018-08-07T17:59:04Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pierhugues](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pierhugues/32/48383_2.png) [@pierhugues](https://discuss.elastic.co/u/pierhugues)\
**Post date:** [August 10, 2018, 12:27pm UTC](https://discuss.elastic.co/t/attempting-to-compile-filebeat-in-aix/143378/3 "2018-08-10T12:27:16Z")

</div>

@arlequin @trex58 I am currently working on a PR to easily define feature at compile time, I believe that will help in your case, [It's not ready yet](https://github.com/elastic/beats/pull/7803).

We could have an include defined for your specific platform like AIX.

The following error message come from a dependency defined by our testing helpers, which seems to fallback to a windows

```auto
Have set the GOPATH and GOROOT correctly and I'm getting this error:
../vendor/github.com/fatih/color/color.go:21:12: error: reference to undefined identifier 'isatty.IsTerminal'
(!isatty.IsTerminal(os.Stdout.Fd()) && !isatty.IsCygwinTerminal(os.Stdout.Fd()))
[......]

```

---

_[View the full topic](https://discuss.elastic.co/t/attempting-to-compile-filebeat-in-aix/143378)._
