# Needed building (configure,make and makeinstall ) steps for Filebeat from source on AIX

**URL:** <https://discuss.elastic.co/t/needed-building-configure-make-and-makeinstall-steps-for-filebeat-from-source-on-aix/109764>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 30, 2017, 1:59pm UTC](https://discuss.elastic.co/t/needed-building-configure-make-and-makeinstall-steps-for-filebeat-from-source-on-aix/109764 "2017-11-30T13:59:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ritesh\_Sharma](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@Ritesh\_Sharma](https://discuss.elastic.co/u/Ritesh_Sharma)\
**Post date:** [November 30, 2017, 1:59pm UTC](https://discuss.elastic.co/t/needed-building-configure-make-and-makeinstall-steps-for-filebeat-from-source-on-aix/109764/1 "2017-11-30T13:59:22Z")

</div>

Hi Team,

I am trying to fetch logs from my AIX source machines , since Filebeats is not supported officially on AIX but still i wanted to give it a try on AIX machines and hence decided to build its source from gccgo ; i have downloaded the beats source from the master branch "[https://github.com/elastic/beats/tree/master/](https://github.com/elastic/beats/tree/master/)" but i cant find any document which elaborates which main file i need to invoke through gccgo.

however I am new to this go and gccgo world but wanted to build filebeat anyhow and hence will appreciate any help regarding this.

P.S. : I have already tried Rsyslog but found it inconsistent for AIX (requires changes in its statefile and further restarts everyday ) .

Kind Regards,  
Ritesh.

---

<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:** [November 30, 2017, 10:08pm UTC](https://discuss.elastic.co/t/needed-building-configure-make-and-makeinstall-steps-for-filebeat-from-source-on-aix/109764/2 "2017-11-30T22:08:28Z")

</div>

I haven't tried gccgo or ever attempted to cross-compile filebeat to AIX. A beats main file is in every top-level directory, like `github.com/elastic/beats/filebeat/main.go`.  
Docs on gccgo say [it ships](https://golang.org/doc/install/gccgo#Using_gccgo) with a `go` tool replacement. You can try to build filebeat by switching to `$GOPATH/src/github.com/elastic/beats/filebeat` and start the build via `go build`, using the `go` tool provided by gcc (otherwise you would have to compile all go files + link the generated object files yourself).

---

<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:** [December 28, 2017, 10:08pm UTC](https://discuss.elastic.co/t/needed-building-configure-make-and-makeinstall-steps-for-filebeat-from-source-on-aix/109764/3 "2017-12-28T22:08:30Z")

</div>

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