Ticket #4 (new task)

Opened 2 years ago

Last modified 2 years ago

Port Box Backup to AIX

Reported by: martin Assigned to: martin
Priority: normal Milestone:
Component: box libraries Version: 0.10
Keywords: Cc:

Description

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.

Attachments

aix5-svn.patch (2.3 kB) - added by martin on 31/08/2006 08:39:55.
Initial patch from Stefan
aix5-svn.diff (2.3 kB) - added by martin on 31/08/2006 08:41:22.
Same file but with .diff on the end

Change History

31/08/2006 00:13:39 changed by martin

  • owner set to martin.

31/08/2006 08:39:55 changed by martin

  • attachment aix5-svn.patch added.

Initial patch from Stefan

31/08/2006 08:41:22 changed by martin

  • attachment aix5-svn.diff added.

Same file but with .diff on the end