On Sunday 20 April 2003 9:55 am, Martyn Drake wrote:
If you've installed Sylpheed via tarball, you'll need to explicity tell it to use aspell/ispell at configure time. Type ./configure --help for the list of options.
Thanks for the tip Martyn.
The tarball I have downloaded is:
-rw-r--r-- 1 root root 2647125 Apr 18 18:06 sylpheed-0.8.11claws.tar.gz
which I unpacked.
I have had a look at the ./configure --help and notice these options which may be relevant:
--enable-aspell Enable GNU/aspell support default=no --with-aspell-prefix=PFX Prefix where aspell is installed (optional) --with-aspell-libs=LIBS Where GNU/aspell library reside (/usr/local/lib) --with-aspell-includes=INCLUDES Where GNU/aspell headers reside (/usr/local/include)
I have had a look in /usr/local/lib (where sylpheed expects to find the libs?) and can see:
bash-2.05a$ ls /usr/local/lib X11 libaspell.so.15 libpspell.so libaspell.la libaspell.so.15.0.2 libpspell.so.15 libaspell.so libpspell.la libpspell.so.15.0.2
and if I look in /usr/local/include (where sylpheed expects to find the includes?) I can see:
bash-2.05a$ ls /usr/local/include aspell.h pspell
I therefore assume that these default locations are correct so tried just:
./configure --enable-aspell
Amongst all the messages which scrolled past I could see:
checking whether to use GNU/aspell... yes checking for aspell... /usr/local/bin/aspell checking for GNU/aspell - version >= 0.50... yes checking for GNU/aspell dictionaries location... /usr/local/lib/aspell checking if GNU/aspell is correctly installed... no *** The GNU/aspell test program did not succeed. This usually means that *** the headers and the libraries could not be found. Check config.log *** for detailed error message and add the relevant options *** --with-aspell-prefix, --with-aspell-includes or --with-aspell-libs *** to the configure command. *** This can also mean that the library was not found at runtime. In that case *** add its path to LD_LIBRARY_PATH environment variable or in /etc/ld.so.conf
This suggests I look at config.log. If I look in that, then, amongst all the information I see a section which says:
configure:16043: checking for aspell configure:16061: found /usr/local/bin/aspell configure:16074: result: /usr/local/bin/aspell configure:16082: checking for GNU/aspell - version >= 0.50 configure:16127: gcc -o conftest -g -O2 conftest.c >&5 configure:16130: $? = 0 configure:16132: ./conftest configure:16135: $? = 0 configure:16150: result: yes configure:16152: checking for GNU/aspell dictionaries location configure:16160: result: /usr/local/lib/aspell configure:16162: checking if GNU/aspell is correctly installed configure:16197: gcc -o conftest -g -O2 -I/usr/local/include conftest.c -L/us r/local/lib -laspell >&5 configure:16200: $? = 0 configure:16202: ./conftest ./conftest: error while loading shared libraries: libaspell.so.15: cannot open shared object file: No such file or directory configure:16205: $? = 127 configure: program exited with status 127
Unfortunately I don't know much about installing programs via tarballs and was wondering if someone could interpret the above messages for so so I can suss out what I need to do to get sylpheed-claws to compile with a spell checker.
Thanks,
Ian.
PS: Operating Sytem = Slackware 8.2 if this is relevant.