Node: Curses Notes, Next: Loadable Filter Notes, Previous: Generic Install Instructions, Up: Installing
If you are having problems compiling check_funs.cpp
then the
most likely reason is due to incompatibilities with the curses
implementation on your system. You should first try disabling the
"wide" curses library by with the --disable-wide-curses
configure option.. By doing so you will lose support for properly
displaying UTF-8 characters but you may still be able to get the full
screen interface. If this fails than you can disable curses support
altogether with the --disable-curses
configure option. By
doing this you will lose the nice full screen interface but hopefully
you will be able to at least get Aspell to compile correctly.
If the curses library is installed in a non-standard location than you
can specify the library and include directory with
--enable-curses=
lib and
--enable-curses-include=
dir.
lib
can either be the complete path of the library--for
example
/usr/local/curses/libcurses.aor the name of the library (for example
ncurses
) or a combined location and library in the form
-L
libdir -l
lib
(for example
-L/usr/local/ncurses/lib -lncurses
).
dir is the location of the curses header files (for example
/usr/local/ncurses/include
).
In order for Aspell to correctly spell check UTF-8 documents the "wide"
version of the curses library must be installed. This is different from
the normal version of curses library, and is normally named
libcursesw
(with a w
at the end) or libncursesw
.
UTF-8 documents will not display correctly without the right curses
version installed.
In addition your system must also support the mblen
function.
Although this function was defined in the ISO C89 standard (ANSI
X3.159-1989), not all systems have it.