From: M. en T.E. Alejandro Diaz Infante (linux_at_enmac.net)
Date: Fri Feb 06 2004 - 14:59:13 EST
On Friday 06 February 2004 01:35 pm, you wrote:
> --- "M. en T.E. Alejandro Diaz Infante"
>
> <linux_at_enmac.net> wrote:
> > On Friday 06 February 2004 11:08 am, you wrote:
> > > > Tried the four combinations without success.
> > > >
> > > > cp -r /usr/lib/ispell/ /usr/lib/enchant/
> > > > cp -r /usr/share/myspell/ /usr/lib/enchant/
> > > > cp -r /usr/lib/ispell/ /home/alex/.enchant/
> > > > cp -r /usr/share/myspell/ /home/alex/.enchant/
> > >
> > > What did you just do?
> > >
> > > You need to copy any Ispell dictionaries to:
> > >
> > > ~/.enchant/ispell/
> > > $prefix/share/enchant/ispell/
> >
> > I think I did that. The contents of /usr/lib/ispell
> > are dictionaries:
>
> No, you copied things to /usr/lib/enchant before,
> which is not the same as /usr/share/enchant.
>
Oh, there is no /usr/share/enchant in the rpm for SuSE 9.0
( http://prdownloads.sourceforge.net/abiword/enchant-1.1.3-100.SuSE.ulb.1.i586.rpm?download ),
so I copied to the only directory program available, /usr/lib/enchant. The
contents of enchant rpm are
/usr/bin/enchant
/usr/bin/enchant-lsmod
/usr/lib/enchant/libenchant_aspell.so
/usr/lib/enchant/libenchant_aspell.so.1
/usr/lib/enchant/libenchant_aspell.so.1.1.3
/usr/lib/enchant/libenchant_hspell.so
/usr/lib/enchant/libenchant_hspell.so.1
/usr/lib/enchant/libenchant_hspell.so.1.1.3
/usr/lib/enchant/libenchant_ispell.so
/usr/lib/enchant/libenchant_ispell.so.1
/usr/lib/enchant/libenchant_ispell.so.1.1.3
/usr/lib/enchant/libenchant_myspell.so
/usr/lib/enchant/libenchant_myspell.so.1
/usr/lib/enchant/libenchant_myspell.so.1.1.3
/usr/lib/libenchant.so.1
/usr/lib/libenchant.so.1.1.3
/usr/man/man1/enchant.1.gz
/usr/share/doc/packages/enchant
/usr/share/doc/packages/enchant/AUTHORS
/usr/share/doc/packages/enchant/BUGS
/usr/share/doc/packages/enchant/COPYING.LIB
/usr/share/doc/packages/enchant/ChangeLog
/usr/share/doc/packages/enchant/HACKING
/usr/share/doc/packages/enchant/MAINTAINERS
/usr/share/doc/packages/enchant/NEWS
/usr/share/doc/packages/enchant/README
/usr/share/doc/packages/enchant/TODO
I also created an .enchant directory in my $HOME, created ispell and myspell
dictionaries inside .enchant, and copied dictionaries to their respective
directories. It didn't work, either.
> Anyway, things should "just work". Unless SuSe uses a
> broken version of libtool which won't let you use C++
> plugins inside of a C library.
>
> In case James Olgey is paying attention, I think that
> libtool 1.6 fixes this. Alternately, you can do
> something like "CC=c++ ./configure && make && make
> install".
>
> Things you can try:
>
> 1)
> Type 'enchant-lsmod' sometime, and email me back the
> results. Make sure that you have some backends
> installed.
>
hspell: 'Hspell Provider' (/usr/lib/enchant/libenchant_hspell.so)
aspell: 'Aspell Provider' (/usr/lib/enchant/libenchant_aspell.so)
myspell: 'Myspell Provider' (/usr/lib/enchant/libenchant_myspell.so)
ispell: 'Ispell Provider' (/usr/lib/enchant/libenchant_ispell.so)
> 2)
> Type 'enchant-lsmod -lang', to see what backend
> Enchant would use for your environment variable $LANG.
>
Ummh... for either english or spanish it uses the Hspell!
en_US: hspell = Hspell Provider (/usr/lib/enchant/libenchant_hspell.so)
es_ES: hspell = Hspell Provider (/usr/lib/enchant/libenchant_hspell.so)
> 3)
> Type 'enchant-lsmod -lang en', to see what backend
> Enchant would use for English. Try '-lang es' to see
> what backend it would use for Spanish.
>
Same thing:
en: hspell = Hspell Provider (/usr/lib/enchant/libenchant_hspell.so)
es: hspell = Hspell Provider (/usr/lib/enchant/libenchant_hspell.so)
> 4)
> Type 'echo "helllo" | enchant -a' to see if Enchant
> will come up with a list of suggestions for "helllo".
This is the output:
alex_at_linux:/usr/lib/enchant> echo "helllo" | enchant -a
@(#) International Ispell Version 3.1.20 (but really Enchant 1.1.3)
# helllo 1
> If you're running in a Spanish locale, try a similarly
> misspelled Spanish word with obvious suggestions.
>
Same thing in Spanish:
@(#) International Ispell Version 3.1.20 (but really Enchant 1.1.3)
# prueva 1
And the same with a word without mispellings
@(#) International Ispell Version 3.1.20 (but really Enchant 1.1.3)
# prueba 1
Thanks for your help.
-----------------------------------------------
To unsubscribe from this list, send a message to
abiword-user-request_at_abisource.com with the word
unsubscribe in the message body.
This archive was generated by hypermail 2.1.4 : Fri Feb 06 2004 - 15:05:35 EST