Subject: | compilation of 0.08 against Debian's libclucene-dev 0.9.16a-1 fails |
There is no version 0.08 in "broken in" field, so I stuck version in
subject.
Here is error message:
g++ -c -I/usr/lib -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"0.08\"
-DXS_VERSION=\"0.08\" -fPIC "-I/usr/lib/perl/5.8/CORE"
-DCLUCENE_0_9_16A Lucene.c
xs/StopAnalyzer.xs: In function 'void
XS_Lucene__Analysis__StopAnalyzer_new(PerlInterpreter*, CV*)':
xs/StopAnalyzer.xs:13: error: invalid conversion from 'const wchar_t**'
to 'wchar_t**'
xs/StopAnalyzer.xs:13: error: initializing argument 1 of
'lucene::analysis::StopAnalyzer::StopAnalyzer(wchar_t**)'
xs/StopFilter.xs: In function 'void
XS_Lucene__Analysis__StopFilter_new(PerlInterpreter*, CV*)':
xs/StopFilter.xs:8: error: invalid conversion from 'const wchar_t**' to
'wchar_t**'
xs/StopFilter.xs:8: error: initializing argument 3 of
'lucene::analysis::StopFilter::StopFilter(lucene::analysis::TokenStream*,
bool, wchar_t**)'
make: *** [Lucene.o] Error 1
gcc version:
dpavlin@llin:~$ g++ -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --with-tune=i686
--enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)