Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Date Range search oddity

From: Bela Gazdy <bela(at)not-real.bluedog.cc.emory.edu>
Date: Wed Mar 04 2009 - 12:03:45 GMT
On Tue Mar  3 21:04:40 2009 (GMT) you, AKA Peter Karman wrote:
> 
> Bela Gazdy wrote on 3/3/09 6:17 AM:
<SNIP>
> > Background:
> > swish-e-2.4.5 compiled on AIX 5.3 with gcc-3.3.2 (or native cc_r);
> > perl-5.8.2 (cc_r) with all the required modules.
> > 
> > Indexed hypermail (v. 2.1.7) archives in chunks, merged into one index file,
> > all indexing done with the same config parameters.
> > 
> > Symptom:
> > When searching for a string that has NO match in the entire index, i.e., when
> > selecting "Limit to: All", it returns the expected red "no results" message for
> > every "Limit to:" and "Date Range" selections as well; however,
> > 
> > When searching for a string for which "THERE IS" at least one document with a
> > match, i.e., the "Limit to: All" selection does return results, all other
> > "Limit to:" or "Date Range" selection for which "THERE IS NOT" a match in the 
> > specified date-interval, returns the error:
> > 
> > 	"Ran out of memory (could not allocate 0 more bytes)!"
> > 
> > which, in case of the swish.cgi CGI script, appears in red on the browser, while
> > with mod_perl, the page returns the generic "Internal Server Error" message and
> > the error is sent to the web server's log. All other functions work great.
> > 
<SNIP>
> 
> can you reproduce the error from the command line? Just to eliminate one
> variable (the web server environment and the calling code).
> 
> Also, could you try with the 2.4.6 release here and see if the issue persists:
> 
>  http://swish-e.org/distribution/swish-e-2.4.6.tar.gz
> 
> -- 
> Peter Karman  .  http://peknet.com/  .  peter(at)not-real.peknet.com

Peter,

Thank you for your prompt reply.

Yes, command line query produces the same behavior.

swish-e-2.4.6 fails to compile; below is the tail end of 'make'. I am not a
programmer, therefore I can't attempt debugging.

Thanks: -Bela

-------------------------------------------------------------------------------
        if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -
I. -I.  -Dlibexecdir=\"/usr/local/swish2.4.6/lib/swish-e\"   -DPATH_SEPARATOR=\"
:\"   -I/opt/freeware/include -I/opt/freeware/include/libxml2 -Ireplace   -Wall 
 -g -O2 -MT swish_qsort.lo -MD -MP -MF ".deps/swish_qsort.Tpo" -c -o swish_qsort
.lo swish_qsort.c;  then mv -f ".deps/swish_qsort.Tpo" ".deps/swish_qsort.Plo"; 
else rm -f ".deps/swish_qsort.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I. -Dlibexecdir=\"/usr/local/swish2.4.6/lib/swish-
e\" -DPATH_SEPARATOR=\":\" -I/opt/freeware/include -I/opt/freeware/include/libxm
l2 -Ireplace -Wall -g -O2 -MT swish_qsort.lo -MD -MP -MF .deps/swish_qsort.Tpo -
c swish_qsort.c  -DPIC -o .libs/swish_qsort.o
        if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -
I. -I.  -Dlibexecdir=\"/usr/local/swish2.4.6/lib/swish-e\"   -DPATH_SEPARATOR=\"
:\"   -I/opt/freeware/include -I/opt/freeware/include/libxml2 -Ireplace   -Wall 
 -g -O2 -MT date_time.lo -MD -MP -MF ".deps/date_time.Tpo" -c -o date_time.lo da
te_time.c;  then mv -f ".deps/date_time.Tpo" ".deps/date_time.Plo"; else rm -f "
.deps/date_time.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I. -Dlibexecdir=\"/usr/local/swish2.4.6/lib/swish-
e\" -DPATH_SEPARATOR=\":\" -I/opt/freeware/include -I/opt/freeware/include/libxm
l2 -Ireplace -Wall -g -O2 -MT date_time.lo -MD -MP -MF .deps/date_time.Tpo -c da
te_time.c  -DPIC -o .libs/date_time.o
In file included from getruntime.c:59,
                 from date_time.c:39:
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/include/unistd.h:178: err
or: conflicting types for `lseek64'
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/include/unistd.h:176: err
or: previous declaration of `lseek64'
In file included from /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/inc
lude/unistd.h:739,
                 from getruntime.c:59,
                 from date_time.c:39:
/usr/include/sys/lockf.h:64: error: conflicting types for `lockf64'
/usr/include/sys/lockf.h:62: error: previous declaration of `lockf64'
In file included from getruntime.c:59,
                 from date_time.c:39:
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/include/unistd.h:802: err
or: conflicting types for `ftruncate64'
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/include/unistd.h:800: err
or: previous declaration of `ftruncate64'
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/include/unistd.h:838: err
or: conflicting types for `truncate64'
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/include/unistd.h:836: err
or: previous declaration of `truncate64'
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/include/unistd.h:855: err
or: conflicting types for `pread64'
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/include/unistd.h:852: err
or: previous declaration of `pread64'
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/include/unistd.h:856: err
or: conflicting types for `pwrite64'
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/include/unistd.h:853: err
or: previous declaration of `pwrite64'
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/include/unistd.h:923: err
or: conflicting types for `fclear64'
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/include/unistd.h:920: err
or: previous declaration of `fclear64'
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/include/unistd.h:924: err
or: conflicting types for `fsync_range64'
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/include/unistd.h:921: err
or: previous declaration of `fsync_range64'
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.
-------------------------------------------------------------------------------

-- 
LIBRARY/SYSTEMS - EUCLID/PRIMO
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Wed Mar 4 07:03:46 2009