[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Aspell-user] crash from: aspell -a --encoding=utf-8 --lang=fi
From: |
Kevin Rodgers |
Subject: |
Re: [Aspell-user] crash from: aspell -a --encoding=utf-8 --lang=fi |
Date: |
Thu, 2 Jun 2005 15:53:36 -0600 |
Kevin Atkinson writes:
> On Thu, 2 Jun 2005, Kevin Rodgers wrote:
>
> > 1. aspell --version
> > @(#) International Ispell Version 3.1.20 (but really Aspell 0.60.2)
> >
> > 5. What next?
>
> I need to be able to reprosuce the bug. So if you could tell me the steps
> you took it would be very helpfull.
echo "foo" | aspell -a --encoding=utf-8 --lang=fi
Hmmm, something fishy is going on here. It works on my desktop (SunOS
5.9/Solaris 9 i86pc/i386), but not on our server (SunOS 5.8/Solaris 8
sun4u/sparc).
The working version is linked against a different set of libraries:
libaspell.so.15 => /opt/csw/lib/libaspell.so.15
libcurses.so.1 => /usr/lib/libcurses.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libCstd.so.1 => /usr/lib/libCstd.so.1
libCrun.so.1 => /usr/lib/libCrun.so.1
libm.so.1 => /usr/lib/libm.so.1
libintl.so.3 => /opt/csw/lib/libintl.so.3
libc.so.1 => /usr/lib/libc.so.1
libiconv.so.2 => /opt/csw/lib/libiconv.so.2
libw.so.1 => /usr/lib/libw.so.1
than the non-working version:
libaspell.so.15 => /opt/sfw/lib/libaspell.so.15
libncurses.so.5 => /opt/sfw/lib/libncurses.so.5
libdl.so.1 => /usr/lib/libdl.so.1
libstdc++.so.2.10.0 => /opt/sfw/lib/libstdc++.so.2.10.0
libm.so.1 => /usr/lib/libm.so.1
libc.so.1 => /usr/lib/libc.so.1
/usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
All the dictionary files except fi.rws on both systems are the same:
-rw-r--r-- 1 root other 82 Apr 15 18:25 fi.dat
-rw-r--r-- 1 root other 70 Apr 15 18:25 fi.multi
-rw-r--r-- 1 root other 1734864 Apr 15 18:25 fi.rws
-rw-r--r-- 1 root other 1014495 Apr 15 18:25 fi_affix.dat
-rw-r--r-- 1 root other 72 Apr 15 18:25 finnish.alias
fi.rws is the same size but has numerous differences across the
different machines, so I tried copying it from the working platform to
my home directory on the non-working platform. But running it there
with --dict-dir=$HOME just resulted in this error, which probably
explains why they're different:
Error: The file "/home/kevinr/fi.rws" is not in the proper format.
Wrong endian order.
By the way, the "echo | aspell" command also fails for Russian
(--lang=ru) but works fine for Danish (da), German (de), English (en),
Spanish (es), French (fr), Italian (it), Norwegian (no), Portuguese
(pt), and Swedish (sv).
> > I just noticed that the aspell manual says this about the
> > --encoding option:
> >
> > Valid values include, but not limited to, iso-8859-*, utf-8,
> > ucs-2, ucs-4.
> >
> > But check out the variation in these /opt/sfw/lib/aspell-0.60/*.dat
> > files:
>
> Utf-8 is valid.
I meant, is iso8859-1 (no hyphen) valid and equivalent to iso-8859-1?
And what about koi8-r?
Thanks,
--
Kevin