[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: kmail under Solaris and Linux
From:       Michael =?iso-8859-1?q?H=E4ckel?= <haeckel () kde ! org>
Date:       2002-01-30 17:21:18
[Download RAW message or body]

On Wednesday 30 January 2002 17:48:17, Jochen Reinwand wrote:
> Sorry, forgot to mention that I'm NOT using Qt 3.0!
> On Solaris kde is linked against Qt 2.3.2 and on Linux against 2.2.4.
> Is it possible that the problem ist related to the different Qt versions?

Actually Qt-2.3.1 is recommended for KDE 2.2.2, but this is probably not the 
problem here.

> > The problem: the .*.index files of kmail seem to have a byte order
> > problem. If the file is generated under Linux, Solaris does not display
> > any messages. Only the messages that arrive during the folder is active
> > can be accessed. If you switch to another folder an back they vanish.
> > They are not deleted from the folder file, but it is not possible to
> > access them out of kmail. Deleting .*.index is the only way to fix it.
> > Now you can read your Mails with Solaris. But now Linux cannot access the
> > mail folders...
> >
> > Do I make something wrong, are there any hidden configuration options or
> > is it a bug?

It's probably a bug, but I currently don't know, how to fix this.

The index files are binary files for performance reasons. They contain some 
ushort numbers written directely into the files.
The strings are also written in 16bit unicode, but there I currently don't 
know if there are also byte order problems.

You could work around this by running always a script before starting KMail 
that removes the index files, but then you loose status information and 
performance.

Regards,
Michael Häckel


_______________________________________________
kmail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic