[libvoikko] Libvoikko 2.3

Andris Pavenis andris.pavenis at iki.fi
Wed Feb 10 07:50:37 EET 2010

08.02.2010 17:52, Harri Pitkänen kirjoitti:
> Libvoikko 2.3 has been released. Release notes and sources are available at
> http://voikko.sourceforge.net

Fails to build on CentOS 5.4 (i386) (it means that perhaps also on corresponding RHEL version) with 
gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)

due to warnings turned into errors by option -Werror.

Output of make is in the end of this message.


PS. Builds OK under Fedora 12 (x86_64) with:

gcc version 3.4.6 20060404 (Red Hat 3.4.6-18)
gcc-versio 4.4.2 20091222 (Red Hat 4.4.2-20) (GCC)


Output of Make in CentOS 5.4 i386

[andris at ap ix86]$ make
make  all-recursive
make[1]: Siirrytään hakemistoon "/home/andris/Build/voikko/libvoikko/2.3/ix86"
Making all in src
make[2]: Siirrytään hakemistoon "/home/andris/Build/voikko/libvoikko/2.3/ix86/src"
make  all-am
make[3]: Siirrytään hakemistoon "/home/andris/Build/voikko/libvoikko/2.3/ix86/src"
depbase=`echo spellchecker/spell.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
	/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../libvoikko-2.3/src 
-I..     -g -O2 -fvisibility=hidden -Wall -Werror -pedantic -MT spellchecker/spell.lo -MD -MP -MF 
$depbase.Tpo -c -o spellchecker/spell.lo ../../libvoikko-2.3/src/spellchecker/spell.cpp &&\
	mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../libvoikko-2.3/src -I.. -g -O2 
-fvisibility=hidden -Wall -Werror -pedantic -MT spellchecker/spell.lo -MD -MP -MF 
spellchecker/.deps/spell.Tpo -c ../../libvoikko-2.3/src/spellchecker/spell.cpp  -fPIC -DPIC -o 
cc1plus: warnings being treated as errors
../../libvoikko-2.3/src/spellchecker/Speller.hpp:37: warning: ‘class 
libvoikko::spellchecker::Speller’ has virtual functions but non-virtual destructor
../../libvoikko-2.3/src/hyphenator/Hyphenator.hpp:28: warning: ‘class 
libvoikko::hyphenator::Hyphenator’ has virtual functions but non-virtual destructor
make[3]: *** [spellchecker/spell.lo] Virhe 1
make[3]: Poistutaan hakemistosta "/home/andris/Build/voikko/libvoikko/2.3/ix86/src"
make[2]: *** [all] Virhe 2
make[2]: Poistutaan hakemistosta "/home/andris/Build/voikko/libvoikko/2.3/ix86/src"
make[1]: *** [all-recursive] Virhe 1
make[1]: Poistutaan hakemistosta "/home/andris/Build/voikko/libvoikko/2.3/ix86"
make: *** [all] Virhe 2

More information about the Libvoikko mailing list