[Box Backup-commit] Re: #4: Port Box Backup to AIX

Box Backup boxbackup-dev@boxbackup.org
Thu, 02 Oct 2008 07:37:35 -0000


#4: Port Box Backup to AIX
----------------------------+-----------------------------------------------
  Reporter:  martin         |       Owner:  martin
      Type:  task           |      Status:  new   
  Priority:  normal         |   Milestone:        
 Component:  box libraries  |     Version:  0.10  
Resolution:                 |    Keywords:        
----------------------------+-----------------------------------------------
Old 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.

New 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.

-- 
Ticket URL: <https://www.boxbackup.org/trac/ticket/4#comment:2>
Box Backup <http://www.boxbackup.org/>
An open source, completely automatic on-line backup system for UNIX.