It is my 10th attempts (remove cygwin, change place etc) to build aspell, I am getting the same problem:
make[1]: Entering directory `/d/lyx-devel/downloads/aspell-0.60.4/aspell-0.60.4' depbase=`echo prog/aspell.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \ if g++ -DHAVE_CONFIG_H -I. -I. -I./gen -I./gen -I./common -I./interfaces/cc/ -I./modules/speller/default/ -DLOCALEDIR=\"/mingw/share/locale\" -g -O2 -fno-exceptions -MT prog/aspell.o -MD -MP -MF "$depbase.Tpo" -c -o prog/aspell.o prog/aspell.cpp; \ then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi prog/aspell.cpp:28:20: aspell.h: No such file or directory In file included from prog/check_funs.hpp:10, from prog/aspell.cpp:38: prog/checker_string.hpp:29: error: expected `)' before '*' token prog/checker_string.hpp:107: error: ISO C++ forbids declaration of `AspellSpeller' with no type prog/checker_string.hpp:107: error: expected `;' before '*' token prog/aspell.cpp:56:28: speller_impl.hpp: No such file or directory prog/aspell.cpp:57:20: data.hpp: No such file or directory prog/aspell.cpp:66: error: `aspeller' has not been declared prog/aspell.cpp:66: error: expected nested-name-specifier before "Conv" prog/aspell.cpp:66: confused by earlier errors, bailing out make[1]: *** [prog/aspell.o] Error 1 make[1]: Leaving directory `/d/lyx-devel/downloads/aspell-0.60.4/aspell-0.60.4' make: *** [all-recursive] Error 1 The weird part is, -I./interfaces/cc/ has aspell.h. Any clue? Bo