Stefan Norlin made an initial port of box to AIX. It involves some hacks so investigation needs to be done to find better solutions where possible.
Stefan wrote:
with the attached diff I can compile on AIX 5 and Box Backup
works seemingly ok. I do not consider it a clean portability work but it is an indication where something needs to be done. Also there are very few and minor changes which I think is good.
All tests do not pass, I am looking at that. raidfile is one problem and a bbstored that does not stop is another.
However, I am able to take snapshot backup, browse it and compare it ok using bbackupquery.
The workaround for malloc(0) is not beatiful but it solves my problem temporarily.
The installed version of BDB 4.4 depends on pthread library from which the "hack" in configure.ac originates.
It would be great to be able to link OpenSSL and libdb statically in order to not have to compile Box for each installation when the OS versions are not exactly the same and therefore dependencies do not always work out with dynamic libraries.