Paul Smith wrote:

> On Mon, 27 Sep 2004 18:22:35 +0100, Angus Leeming
> <[EMAIL PROTECTED]> wrote:
>> > I think that the reported problem should never occur even in slow
>> > computers. (In my machine, aspell is used inside kwrite with no
>> > problem; the same does not happen with LyX, as already mentioned.)
>> 
>> I guess it depends on how aspell is invoked. As I understand it, there's
>> a library interface to aspell (meaning that the external pipes solution
>> is not needed or used) as well as some legacy 'ispell-like' interface.
>> Do you have aspell support compiled into lyx?
>> 
>> $ ldd path-to-lyx
>> 
>> should shed some light.
> 
> Angus,
> 
> My ldd output is below. Any clue?

No aspell there. (Nor in mine either, as it happens.) Nonetheless, I have
aspell and aspell-devel rpms installed. Hmmmm....

Ok, you need to ask for it explicitly when configuring:

./configure --with-pspell

(pspell is a compatibility interface standing for Portable Spellchecker. It
links into aspell.)

Now, when I try ldd:

ldd src/lyx | grep spell
        libpspell.so.15 => /usr/lib/libpspell.so.15 (0x00776000)
        libaspell.so.15 => /usr/lib/libaspell.so.15 (0x00b0a000)

So, in future I won't use an external process when I check some spelling,
I'll just call a function. If I was suffering from the spell checking woes
you've been describing, I can rest safe in the knowledge that they're now
a thing of the past.

-- 
Angus

Reply via email to