Version: HEAD (using KDE Devel) Installed from: Compiled sources Compiler: gcc version 3.2.2 [FreeBSD] 20030205 (release) OS: FreeBSD koffice% ./configure --prefix=$KDEDIR --with-extra-includes=/usr/local/include --with-extra-libs=/usr/local/lib From Configure output in koffice: ... checking for new_aspell_config in -laspell... no checking aspell.h usability... no checking aspell.h presence... no checking for aspell.h... no ... Your libaspell is too old or not installed, I couldn't find aspell.h. You must download aspell >= 0.50.2 See http://aspell.net/. Spell-checking disabled. Section from config.log attached as aspell.txt Also note that /usr/local/include/aspell.h exists "ldconfig -r | grep aspell" returns: 215:-laspell.15 => /usr/local/lib/libaspell.so.15 "pkg_glob aspell" returns: aspell-0.50.3_1
Created attachment 4760 [details] config.log relevant sections
On Wednesday 18 February 2004 11:14, Troy Unrau wrote: > Also note that /usr/local/include/aspell.h exists Apparently AC_CHECK_HEADER(aspell.h) doesn't look in /usr/local/include Does --with-extra-includes=/usr/local/include --with-extra-libs=/usr/local/lib help? Or try replacing AC_CHECK_HEADER with KDE_CHECK_HEADER in koffice/lib/kospell/configure.in.in, then run make -f Makefile.cvs ./configure [...]
Tried configuring using those options (as noted in the original report) to no effect -- trying the second recommendation... After changing both AC_CHECK_HEADER with KDE_CHECK_HEADER and AC_CHECK_LIB with KDE_CHECK_LIB for aspell, then it works. Since my commit bit in CVS is b0rked, if you submit the change and close the bug report, it would be appreciated.
CVS commit by faure: Use KDE_CHECK* instead of AC_CHECK* to find libaspell more easily (e.g. in /usr/local) CCMAIL: 75504-done@bugs.kde.org M +4 -4 configure.in.in 1.8.2.1 --- koffice/lib/kospell/configure.in.in #1.8:1.8.2.1 @@ -2,11 +2,11 @@ AC_LANG_C dnl Check for aspell library - AC_CHECK_LIB(aspell, new_aspell_config, [LIBASPELL="-laspell"]) - AC_CHECK_HEADER(aspell.h) + KDE_CHECK_LIB(aspell, new_aspell_config, [LIBASPELL="-laspell"]) + KDE_CHECK_HEADER(aspell.h) if test -z "$ac_cv_header_aspell_h"; then echo "" - echo "Your libaspell is too old or not installed, I couldn't find aspell.h." + echo "I couldn't find aspell.h, part of the libaspell package." echo "You must download aspell >= 0.50.2" - echo "See http://aspell.net/. Spell-checking disabled." + echo "See http://aspell.net/ or use your distribution's packages for libaspell." echo "" LIBASPELL=""