Re: latest aspell stable build fails
Olivier Kaloudoff <[email protected]>
| Newsgroups | gmane.comp.gnu.aspell.devel |
|---|---|
| Message-ID | <[email protected]> |
Thank you Kevin,
I finally managed to compile aspell after adding the following
options to ./configure;
bash-2.03$ ./configure --prefix=/apps/free/aspell/0.60.4/
--enable-curses-include=/usr/ucbinclude/
--enable-curses=/usr/ucblib/libcurses.a
Best Regards,
Olivier
PS: on the page;
http://aspell.sourceforge.net/man-html/Curses-Notes.html
There is no precision on which version is neaded for libcurses. Tried
with GNU ncurses 5.4 and 5.5, it does not work.
Maybe ./configure script could detect if we have the right libcurses and
fail if not ?
Kevin Atkinson wrote:
> On Mon, 19 Jun 2006, Olivier Kaloudoff wrote:
>
>> Hello List,
>>
>> I'm trying to compile aspell-0.60.4 on Solaris using GNU tools,
>> but it fails with the following error;
>>
>> seems that some code is used inside prog/check_funs.cpp but not
>> declared anywhere else. Is there a way to compile aspell anyway ?
>>
>> gcc -g -O2 -o word-list-compress prog/compress.o -ldl
>> 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=\"/apps/free/aspell/0.60.4/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
>> depbase=`echo prog/check_funs.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=\"/apps/free/aspell/0.60.4/share/locale\" -g -O2
>> -fno-exceptions -MT prog/check_funs.o -MD -MP -MF "$depbase.Tpo" -c
>> -o prog/check_funs.o prog/check_funs.cpp; \
>> then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo";
>> exit 1; fi
>> prog/check_funs.cpp: In function `void get_line(acommon::String&)':
>> prog/check_funs.cpp:340: error: `wget_wch' undeclared (first use this
>> function)
>> prog/check_funs.cpp:340: error: (Each undeclared identifier is
>> reported only once for each function it appears in.)
>> prog/check_funs.cpp:354: error: `KEY_CODE_YES' undeclared (first use
>> this function)
>> prog/check_funs.cpp:376: error: `wins_nwstr' undeclared (first use
>> this function)
>> prog/check_funs.cpp:388: error: `cchar_t' undeclared (first use this
>> function)
>> prog/check_funs.cpp:388: error: expected `;' before "cc"
>> prog/check_funs.cpp:389: error: `attr_t' undeclared (first use this
>> function)
>> prog/check_funs.cpp:389: error: expected `;' before "att"
>> prog/check_funs.cpp:391: error: `cc' undeclared (first use this
>> function)
>> prog/check_funs.cpp:391: error: `mvwin_wch' undeclared (first use
>> this function)
>> prog/check_funs.cpp:392: error: `att' undeclared (first use this
>> function)
>> prog/check_funs.cpp:392: error: `getcchar' undeclared (first use this
>> function)
>
>
> This is due to an incompatable version of curses. See
> http://aspell.sourceforge.net/man-html/Curses-Notes.html
>
>
>
> _______________________________________________
> Aspell-devel mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/aspell-devel
--
Olivier Kaloudoff
Linux / Solaris Support / IT Design Nice
Texas Instruments France
821 av Jack Kilby
06270 VILLENEUVE LOUBET