Ok, so I was bitten by byteorder again. :-(
As it turned out (and was confirmed by its developers), libdbx only supports
little-endian byteorder:
>Comment By: Dave Smith (davesmith)
Date: 2003-01-10 08:25
Message:
Logged In: YES
user_id=7587
There is no endian support in libDBX. none at all. I have
put endian support into libPST, so you can copy the macros
from there if you wish to do so. The fact is the dbx file
stores everything in little endian, so a big endian machine
must convert all 2 byte, or 4 byte numbers that it reads.
So I can "copy the macros from there". I llllllllllllllove it! As it turns out, I am slowly but steadily progressing with teaching libdbx big-endianness. The occasional C hacker will confirm that this is tedious and non-rewarding work. I'll swear: Next time I'll tackle a C lib for XS I'll be checking endianness before!
But I also have some good news: I had a talk with Mark Overmeer on the namespace of Mail::OutlookX (brian d foy suggested that) and we quickly agreed on Mail::Transport::Dbx. Thus it can easily be integrated into Mail::Box and this is what Mark will actually do after the release (which would have already been done hadn't this endian thing turned up....sigh).
We also agreed on meeting on this March's Perl workshop to be held in Sankt Augistin just close by where I'm living (Aachen, or as the francophones prefer, Aix-la-Chapelle) and also share a hotel room. There'll be a number of interesting talks...one by Nicholas Clark on performance tuning under Perl. It'll be a tutorial and I am really looking forward to hearing him.