# Building on AIX 7.2

**URL:** https://discourse.haproxy.org/t/building-on-aix-7-2/2425
**Category:** Help!
**Created:** [April 27, 2018, 12:24pm UTC](https://discourse.haproxy.org/t/building-on-aix-7-2/2425 "2018-04-27T12:24:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![geekthymia](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@geekthymia](https://discourse.haproxy.org/u/geekthymia)
#### Post date: [April 27, 2018, 12:24pm UTC](https://discourse.haproxy.org/t/building-on-aix-7-2/2425/1 "2018-04-27T12:24:34Z")

</div>

This is just for a quick sanity check. I’m not seeing much sign of any mention of haproxy on AIX beyond 5.3. Before I involve myself heavily in it, has anyone attempted a build of haproxy on AIX 7.2 or am I highly likely on a road to nowhere?

TIA.

---

<div class="post-metadata">

### Author: ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)
#### Post date: [April 28, 2018, 12:51pm UTC](https://discourse.haproxy.org/t/building-on-aix-7-2/2425/2 "2018-04-28T12:51:48Z")

</div>

I doubt we have AIX users here on discourse.

I’d suggest you use the mailing list for this instead, there is a higher chance of reaching some AIX users there.

You can just send a mail to:  
`haproxy at formilux dot org`

---

<div class="post-metadata">

### Author: ![geekthymia](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@geekthymia](https://discourse.haproxy.org/u/geekthymia)
#### Post date: [April 28, 2018, 1:06pm UTC](https://discourse.haproxy.org/t/building-on-aix-7-2/2425/3 "2018-04-28T13:06:58Z")

</div>

Thanks for the suggestion. I’ll do that shortly 🙂

---

<div class="post-metadata">

### Author: ![gladiac](https://avatars.discourse-cdn.com/v4/letter/g/96bed5/32.png) [@gladiac](https://discourse.haproxy.org/u/gladiac)
#### Post date: [February 4, 2020, 6:30am UTC](https://discourse.haproxy.org/t/building-on-aix-7-2/2425/4 "2020-02-04T06:30:22Z")

</div>

Hi @geekthymia ,  
if you are still interested in getting HA-Proxy to run on AIX 7.2 - I bit the bullet and created a patch for the latest haproxy-2.1 revision to make it build alright on AIX: [https://pastebin.com/XRz5QRAQ](https://pastebin.com/XRz5QRAQ)  
After applying the patch you can just do

> make TARGET=aix72-gcc CPU=power8 blablabla

and it should build just fine. Not that you would have to use GCC as I have no XLC at hand to test. Also note that if you have GCC9 or newer and Power9-based CPUs you can use CPU=power9.  
good luck
