Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Indexing starts all over again

From: Paras Fadte <plfgoa(at)not-real.gmail.com>
Date: Tue Aug 18 2009 - 07:01:04 GMT
Hi Peter,

Thank you for the  response. I am currently facing one more problem .
I installed swish-e on a machine with SUSE LINUX 10.1 (X86-64) and it
woks fine . But on another machine having same OS of same version it
is giving following error during "make statement". Can you help me out
with the following ?

gcc version 4.1.0 (SUSE Linux)

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
make[3]: Entering directory `/home/paras/swish-e-2.4.7/src/expat'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../../src  -I"./xmlparse" -I"./xmltok"   -g -O2 -MT
xmltok.lo -MD -MP -MF ".deps/xmltok.Tpo" -c -o xmltok.lo xmltok.c; \
then mv -f ".deps/xmltok.Tpo" ".deps/xmltok.Plo"; else rm -f
".deps/xmltok.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I./xmlparse -I./xmltok -g
-O2 -MT xmltok.lo -MD -MP -MF .deps/xmltok.Tpo -c xmltok.c  -fPIC
-DPIC -o .libs/xmltok.o
In file included from /usr/include/features.h:346,
                 from /usr/include/string.h:26,
                 from ./xmltok/xmldef.h:6,
                 from xmltok.c:6:
/usr/include/gnu/stubs.h:4: error: expected ‚=‚, ‚,‚, ‚;‚, ‚asm‚ or
‚__attribute__‚ before ‚<‚ token
In file included from /usr/include/features.h:346,
                 from /usr/include/string.h:26,
                 from ./xmltok/xmldef.h:6,
                 from xmltok.c:6:
/usr/include/gnu/stubs.h:7:21: error: invalid suffix "h" on floating constant
/usr/include/gnu/stubs.h:9:21: error: invalid suffix "h" on floating constant
In file included from ./xmltok/xmldef.h:6,
                 from xmltok.c:6:
/usr/include/string.h:39: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/string.h:43: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/string.h:52: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/string.h:59: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/string.h:62: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/string.h:66: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/string.h:88: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/string.h:96: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/string.h:102: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/string.h:109: error: expected ‚=‚, ‚,‚, ‚;‚, ‚asm‚ or
‚__attribute__‚ before ‚strxfrm‚
/usr/include/string.h:184: error: expected ‚=‚, ‚,‚, ‚;‚, ‚asm‚ or
‚__attribute__‚ before ‚strcspn‚
/usr/include/string.h:188: error: expected ‚=‚, ‚,‚, ‚;‚, ‚asm‚ or
‚__attribute__‚ before ‚strspn‚
/usr/include/string.h:242: error: expected ‚=‚, ‚,‚, ‚;‚, ‚asm‚ or
‚__attribute__‚ before ‚strlen‚
/usr/include/string.h:270: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/string.h:288: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/string.h:292: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/string.h:296: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/string.h:299: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/string.h:329: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
In file included from /usr/include/string.h:417,
                 from ./xmltok/xmldef.h:6,
                 from xmltok.c:6:
/usr/include/bits/string2.h:969: error: expected ‚=‚, ‚,‚, ‚;‚, ‚asm‚
or ‚__attribute__‚ before ‚__strcspn_c1‚
/usr/include/bits/string2.h:971: error: expected ‚=‚, ‚,‚, ‚;‚, ‚asm‚
or ‚__attribute__‚ before ‚__strcspn_c1‚
/usr/include/bits/string2.h:979: error: expected ‚=‚, ‚,‚, ‚;‚, ‚asm‚
or ‚__attribute__‚ before ‚__strcspn_c2‚
/usr/include/bits/string2.h:982: error: expected ‚=‚, ‚,‚, ‚;‚, ‚asm‚
or ‚__attribute__‚ before ‚__strcspn_c2‚
/usr/include/bits/string2.h:991: error: expected ‚=‚, ‚,‚, ‚;‚, ‚asm‚
or ‚__attribute__‚ before ‚__strcspn_c3‚
/usr/include/bits/string2.h:994: error: expected ‚=‚, ‚,‚, ‚;‚, ‚asm‚
or ‚__attribute__‚ before ‚__strcspn_c3‚
/usr/include/bits/string2.h:1045: error: expected ‚=‚, ‚,‚, ‚;‚, ‚asm‚
or ‚__attribute__‚ before ‚__strspn_c1‚
/usr/include/bits/string2.h:1047: error: expected ‚=‚, ‚,‚, ‚;‚, ‚asm‚
or ‚__attribute__‚ before ‚__strspn_c1‚
/usr/include/bits/string2.h:1056: error: expected ‚=‚, ‚,‚, ‚;‚, ‚asm‚
or ‚__attribute__‚ before ‚__strspn_c2‚
/usr/include/bits/string2.h:1059: error: expected ‚=‚, ‚,‚, ‚;‚, ‚asm‚
or ‚__attribute__‚ before ‚__strspn_c2‚
/usr/include/bits/string2.h:1068: error: expected ‚=‚, ‚,‚, ‚;‚, ‚asm‚
or ‚__attribute__‚ before ‚__strspn_c3‚
/usr/include/bits/string2.h:1071: error: expected ‚=‚, ‚,‚, ‚;‚, ‚asm‚
or ‚__attribute__‚ before ‚__strspn_c3‚
/usr/include/bits/string2.h: In function ‚__strpbrk_c2‚:
/usr/include/bits/string2.h:1129: error: ‚size_t‚ undeclared (first
use in this function)
/usr/include/bits/string2.h:1129: error: (Each undeclared identifier
is reported only once
/usr/include/bits/string2.h:1129: error: for each function it appears in.)
/usr/include/bits/string2.h:1129: error: expected ‚;‚ before ‚__s‚
/usr/include/bits/string2.h: In function ‚__strpbrk_c3‚:
/usr/include/bits/string2.h:1142: error: ‚size_t‚ undeclared (first
use in this function)
/usr/include/bits/string2.h:1142: error: expected ‚;‚ before ‚__s‚
In file included from /usr/include/bits/string2.h:1299,
                 from /usr/include/string.h:417,
                 from ./xmltok/xmldef.h:6,
                 from xmltok.c:6:
/usr/include/stdlib.h: At top level:
/usr/include/stdlib.h:589: error: expected ‚)‚ before ‚__size‚
/usr/include/stdlib.h:591: error: expected ‚)‚ before ‚__nmemb‚
In file included from /usr/include/string.h:417,
                 from ./xmltok/xmldef.h:6,
                 from xmltok.c:6:
/usr/include/bits/string2.h:1323: error: expected declaration
specifiers or ‚...‚ before ‚size_t‚
In file included from ./xmltok/xmldef.h:22,
                 from xmltok.c:6:
/usr/include/stdlib.h:140: error: expected ‚=‚, ‚,‚, ‚;‚, ‚asm‚ or
‚__attribute__‚ before ‚__ctype_get_mb_cur_max‚
In file included from ./xmltok/xmldef.h:22,
                 from xmltok.c:6:
/usr/include/stdlib.h:455: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/stdlib.h:485: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/stdlib.h:487: error: nonnull argument with out-of-range
operand number (argument 1, operand 4)
/usr/include/stdlib.h:600: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
In file included from /usr/include/stdlib.h:612,
                 from ./xmltok/xmldef.h:22,
                 from xmltok.c:6:
/usr/include/alloca.h:33: error: expected ‚)‚ before ‚__size‚
In file included from ./xmltok/xmldef.h:22,
                 from xmltok.c:6:
/usr/include/stdlib.h:617: error: expected ‚)‚ before ‚__size‚
/usr/include/stdlib.h:622: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/stdlib.h:622: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/stdlib.h:776: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/stdlib.h:776: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/stdlib.h:777: error: nonnull argument with out-of-range
operand number (argument 1, operand 5)
/usr/include/stdlib.h:781: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/stdlib.h:781: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/stdlib.h:782: error: nonnull argument with out-of-range
operand number (argument 1, operand 4)
/usr/include/stdlib.h:854: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/stdlib.h:857: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/stdlib.h:861: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/stdlib.h:865: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/stdlib.h:874: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/stdlib.h:878: error: expected declaration specifiers or
‚...‚ before ‚size_t‚
/usr/include/stdlib.h:885: error: expected ‚=‚, ‚,‚, ‚;‚, ‚asm‚ or
‚__attribute__‚ before ‚mbstowcs‚
/usr/include/stdlib.h:888: error: expected ‚=‚, ‚,‚, ‚;‚, ‚asm‚ or
‚__attribute__‚ before ‚wcstombs‚
In file included from xmltok.c:243:
./xmltok/xmltok_impl.c: In function ‚normal_cdataSectionTok‚:
./xmltok/xmltok_impl.c:308: error: ‚size_t‚ undeclared (first use in
this function)
./xmltok/xmltok_impl.c:308: error: expected ‚;‚ before ‚n‚
./xmltok/xmltok_impl.c:309: error: ‚n‚ undeclared (first use in this function)
./xmltok/xmltok_impl.c: In function ‚normal_contentTok‚:
./xmltok/xmltok_impl.c:787: error: ‚size_t‚ undeclared (first use in
this function)
./xmltok/xmltok_impl.c:787: error: expected ‚;‚ before ‚n‚
./xmltok/xmltok_impl.c:788: error: ‚n‚ undeclared (first use in this function)
./xmltok/xmltok_impl.c: In function ‚normal_prologTok‚:
./xmltok/xmltok_impl.c:975: error: ‚size_t‚ undeclared (first use in
this function)
./xmltok/xmltok_impl.c:975: error: expected ‚;‚ before ‚n‚
./xmltok/xmltok_impl.c:976: error: ‚n‚ undeclared (first use in this function)
In file included from xmltok.c:636:
./xmltok/xmltok_impl.c: In function ‚little2_cdataSectionTok‚:
./xmltok/xmltok_impl.c:308: error: ‚size_t‚ undeclared (first use in
this function)
./xmltok/xmltok_impl.c:308: error: expected ‚;‚ before ‚n‚
./xmltok/xmltok_impl.c:309: error: ‚n‚ undeclared (first use in this function)
./xmltok/xmltok_impl.c: In function ‚little2_contentTok‚:
./xmltok/xmltok_impl.c:787: error: ‚size_t‚ undeclared (first use in
this function)
./xmltok/xmltok_impl.c:787: error: expected ‚;‚ before ‚n‚
./xmltok/xmltok_impl.c:788: error: ‚n‚ undeclared (first use in this function)
./xmltok/xmltok_impl.c: In function ‚little2_prologTok‚:
./xmltok/xmltok_impl.c:975: error: ‚size_t‚ undeclared (first use in
this function)
./xmltok/xmltok_impl.c:975: error: expected ‚;‚ before ‚n‚
./xmltok/xmltok_impl.c:976: error: ‚n‚ undeclared (first use in this function)
In file included from xmltok.c:775:
./xmltok/xmltok_impl.c: In function ‚big2_cdataSectionTok‚:
./xmltok/xmltok_impl.c:308: error: ‚size_t‚ undeclared (first use in
this function)
./xmltok/xmltok_impl.c:308: error: expected ‚;‚ before ‚n‚
./xmltok/xmltok_impl.c:309: error: ‚n‚ undeclared (first use in this function)
./xmltok/xmltok_impl.c: In function ‚big2_contentTok‚:
./xmltok/xmltok_impl.c:787: error: ‚size_t‚ undeclared (first use in
this function)
./xmltok/xmltok_impl.c:787: error: expected ‚;‚ before ‚n‚
./xmltok/xmltok_impl.c:788: error: ‚n‚ undeclared (first use in this function)
./xmltok/xmltok_impl.c: In function ‚big2_prologTok‚:
./xmltok/xmltok_impl.c:975: error: ‚size_t‚ undeclared (first use in
this function)
./xmltok/xmltok_impl.c:975: error: expected ‚;‚ before ‚n‚
./xmltok/xmltok_impl.c:976: error: ‚n‚ undeclared (first use in this function)
make[3]: *** [xmltok.lo] Error 1
make[3]: Leaving directory `/home/paras/swish-e-2.4.7/src/expat'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/paras/swish-e-2.4.7/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/paras/swish-e-2.4.7/src'
make: *** [all-recursive] Error 1

-------------------------------------------------------------------------------------------------------------------------------

Thank you .

-Paras



On Tue, Aug 18, 2009 at 7:39 AM, Peter Karman<peter@peknet.com> wrote:
> Paras Fadte wrote on 8/14/09 1:35 AM:
>> Hi ,
>>
>> Also , when I try compiling swish-e with incremental support I get
>> following during "make check" test . What could be the reason ?
>>
>> Swish-e version used is 2.4.7
>>
>> OS is :
>> SUSE LINUX 10.1 (X86-64)
>> VERSION = 10.1
>>
>>
>> PASS: check_index
>> FAIL: check_search
>> FAIL: check_metasearch
>> PASS: check_fuzzy
>> ===================
>> 2 of 4 tests failed
>> ===================
>> make[2]: *** [check-TESTS] Error 1
>
> I can confirm that failure under SUSE 10.2 on x86-64 (64bit) arch.
>
> However, all tests pass for me under CentOS 5.3 on i386 (32bit) arch.
>
> I'm going to guess it's a 32-vs-64-bit issue. The tests just segfault.
>
> The btree (incremental) feature in the 2.4 series is still labeled experimental.
> The original author has been inactive in the community for several years, and no
> one has come forward to advance that feature to a place of stability.
>
> The 2.6 branch has incremental support using BDB, but it is also experimental
> and no one has come forward to move that along either.
>
> Swish3+Xapian has incremental support, plus full Unicode (UTF-8) support. Swish3
> does not yet have a 1.0 release date planned. You can read about that here:
>
> †http://dev.swish-e.org/wiki/swish3
>
> In short, there is no incremental support available in a mature, stable,
> official release of Swish-e. And aside from my own work on Swish3, no one is
> contributing any code at this time to advance that feature.
>
> Sorry to sound like a downer; just wanted you to have a frank assessment of the
> fact that your problem is confirmed, and there is no known solution or plan for
> a solution.
>
> pek
> --
> Peter Karman †. †http://peknet.com/ †. †peter(at)not-real.peknet.com
> gpg key: 37D2 DAA6 3A13 D415 4295 †3A69 448F E556 374A 34D9
> _______________________________________________
> Users mailing list
> Users@lists.swish-e.org
> http://lists.swish-e.org/listinfo/users
>
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Tue Aug 18 03:01:08 2009