Gilles Detillieux a écrit : > > According to LAGADEC =?iso-8859-1?Q?Andr=E9?=: > > > ")"). Are you sure that wasn't the problem you had? > > > > Yes I am sure, but I use ht://dig 3.1.1 and the other difference is that > > I have these lignes in my search form. > > <SELECT NAME="method" SIZE="1"> > > <OPTION VALUE="and">tous les mots (clés)</OPTION> > > <OPTION VALUE="or">au moins l'un des mots </OPTION> > > <OPTION VALUE="boolean">combinaison booléenne des mots </OPTION> > > </SELECT> > > > > When I search (red and black) on the htdig mailing list with ht://dig > > 3.1.2 it work. > > Your select list looks fine, so I doubt there's a problem there. I wasn't > able to reproduce the problem under 3.1.1 on my system either. There's > very little that changed in the boolean parser between 3.1.1 & 3.1.2. > A bit of the error handling changed, to avoid repeated error messages, > but there was nothing in 3.1.1 to cause it to reject a syntactically > valid expression. Maybe there's a problem with the build of 3.1.1 on > your system, that's not showing up on other systems. > Hi, To know where is the problem, I rebuilt my database but there is always the problem. I have an other machine with Red Hat Linux 5.0 et Htdig 3.1.0b4 which is my test and experiment machine, and there is also the problem on it, after I rebuilt the database. I decide to reinstall htdig 3.1.0b4. So you can see on the attached file, the log of this installation. For me there is nothing wrong on the execution. What do you think about that ? Thanks for your help.
./configure --prefix=/usr/local/htdig-pleiade loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found configuring ht://Dig version 3.1.0b4 checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for c++... (cached) c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking for ranlib... (cached) ranlib checking for ar... (cached) /usr/bin/ar checking for sh... (cached) /bin/sh checking for sed... (cached) /bin/sed checking for sort... (cached) /bin/sort checking for find... (cached) /usr/bin/find checking for gunzip... (cached) /bin/gunzip checking for tar... (cached) tar checking for acroread... (cached) /usr/local/bin/acroread checking for sendmail... (cached) /usr/sbin/sendmail checking how to run the C preprocessor... (cached) gcc -E checking for AIX... no checking for socket in -lsocket... (cached) no checking for t_accept in -lnsl... (cached) no checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking how to run the C++ preprocessor... (cached) c++ -E checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for malloc.h... (cached) yes checking for sys/file.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for getopt.h... (cached) yes checking for fstream.h... (cached) yes checking for working const... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strstr... (cached) yes checking for localtime_r... (cached) yes checking for timegm... (cached) yes checking whether we need gethostname() prototype?... yes checking whether the third argument of getpeername can be a size_t?... yes checking for tsort... (cached) /usr/bin/tsort creating ./config.status creating CONFIG creating Makefile creating Makefile.config creating htcommon/Makefile creating htlib/Makefile creating htdig/Makefile creating htmerge/Makefile creating htnotify/Makefile creating htfuzzy/Makefile creating htsearch/Makefile creating makedp creating include/htconfig.h include/htconfig.h is unchanged configuring in db/dist running /bin/sh ./configure --prefix=/usr/local/htdig-pleiade --cache-file=../.././config.cache --srcdir=. loading cache ../.././config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking host system type... i686-pc-linux-gnu checking if --enable-debug option specified... no checking for cc... (cached) gcc checking for gcc... (cached) gcc checking for gcc... (cached) gcc checking whether the C compiler (gcc -O2 ) works... yes checking whether the C compiler (gcc -O2 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking if --enable-diagnostic option specified... no checking if --enable-cxx option specified... no checking if --enable-compat185 option specified... no checking if --enable-dump185 option specified... no checking for ar... (cached) /usr/bin/ar checking for chmod... (cached) /bin/chmod checking for cp... (cached) /bin/cp checking for mkdir... (cached) /bin/mkdir checking for ranlib... (cached) /usr/bin/ranlib checking for rm... (cached) /bin/rm checking for sh... (cached) /bin/sh checking for strip... (cached) /usr/bin/strip checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for ssize_t... (cached) yes checking whether byte ordering is bigendian... (cached) no checking for working const... (cached) yes checking for st_blksize in struct stat... (cached) yes checking whether stat file-mode macros are broken... (cached) no checking for mode_t... (cached) yes checking for off_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking for sys/select.h... (cached) yes checking for sys/time.h... (cached) yes checking for getcwd... (cached) yes checking for getopt... (cached) yes checking for memcmp... (cached) yes checking for memcpy... (cached) yes checking for memmove... (cached) yes checking for raise... (cached) yes checking for snprintf... (cached) yes checking for strerror... (cached) yes checking for strsep... (cached) yes checking for vsnprintf... (cached) yes checking for getuid... (cached) yes checking for pread... (cached) no checking for pstat_getdynamic... (cached) no checking for sysconf... (cached) yes checking for shmget... (cached) yes checking for mmap... (cached) yes checking for munmap... (cached) yes checking for select... (cached) yes checking for sigfillset... (cached) yes checking for int type sprintf return value... (cached) yes checking if --disable-bigfile option specified... no checking for spinlocks... (cached) x86/gcc checking for u_char... (cached) yes checking for u_short... (cached) yes checking for u_int... (cached) yes checking for u_long... (cached) yes checking for u_int8_t... (cached) yes checking for u_int16_t... (cached) yes checking for int16_t... (cached) yes checking for u_int32_t... (cached) yes checking for int32_t... (cached) yes checking if --enable-test option specified... no creating ./config.status creating Makefile creating include.tcl creating db.h creating db_int.h creating db_185.h creating config.h config.h is unchanged configuring in rx running /bin/sh ./configure --prefix=/usr/local/htdig-pleiade --cache-file=.././config.cache --srcdir=. loading cache .././config.cache creating ./config.status creating Makefile configuring in rx running /bin/sh ./configure --prefix=/usr/local/htdig-pleiade --cache-file=../.././config.cache --srcdir=. loading cache ../.././config.cache checking for gcc... (cached) gcc checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for ranlib... (cached) ranlib checking for a BSD compatible install... (cached) /usr/bin/install -c checking for working const... (cached) yes checking whether cross-compiling... (cached) no checking for ANSI C header files... (cached) yes creating ./config.status creating Makefile Now you must run 'make' followed by 'make install' [root@www htdig-3.1.0b4]# make make[1]: Entering directory `/home/dda/moteur_recherche/htdig-3.1.0b4/db/dist' /bin/rm -f libdb.a /usr/bin/ar cr libdb.a bt_compare.o bt_conv.o bt_curadj.o bt_cursor.o bt_delete.o bt_open.o bt_page.o bt_put.o bt_rec.o bt_recno.o bt_rsearch.o bt_search.o bt_split.o bt_stat.o btree_auto.o db.o db_appinit.o db_am.o db_apprec.o db_auto.o db_byteorder.o db_conv.o db_dispatch.o db_dup.o db_err.o db_iface.o db_join.o db_log2.o db_overflow.o db_pr.o db_rec.o db_region.o db_ret.o db_salloc.o db_shash.o dbm.o hash.o hash_auto.o hash_conv.o hash_dup.o hash_func.o hash_page.o hash_rec.o hash_stat.o hsearch.o lock.o lock_conflict.o lock_deadlock.o lock_util.o lock_region.o log.o log_archive.o log_auto.o log_compare.o log_findckp.o log_get.o log_put.o log_rec.o log_register.o mp_bh.o mp_fget.o mp_fopen.o mp_fput.o mp_fset.o mp_open.o mp_pr.o mp_region.o mp_sync.o mutex.o os_abs.o os_alloc.o os_config.o os_dir.o os_fid.o os_fsync.o os_map.o os_oflags.o os_open.o os_rpath.o os_rw.o os_seek.o os_sleep.o os_spin.o os_stat.o os_tmpdir.o os_unlink.o txn.o txn_auto.o txn_rec.o xa.o xa_db.o xa_map.o test ! -f /usr/bin/ranlib || /usr/bin/ranlib libdb.a gcc -o db_archive db_archive.o err.o getlong.o libdb.a gcc -o db_checkpoint db_checkpoint.o err.o getlong.o libdb.a gcc -o db_deadlock db_deadlock.o err.o getlong.o libdb.a gcc -o db_dump db_dump.o err.o getlong.o libdb.a gcc -o db_load db_load.o err.o getlong.o libdb.a gcc -o db_printlog db_printlog.o err.o getlong.o libdb.a gcc -o db_recover db_recover.o err.o getlong.o libdb.a gcc -o db_stat db_stat.o err.o getlong.o libdb.a make[1]: Leaving directory `/home/dda/moteur_recherche/htdig-3.1.0b4/db/dist' make[1]: Entering directory `/home/dda/moteur_recherche/htdig-3.1.0b4/rx' make[2]: Entering directory `/home/dda/moteur_recherche/htdig-3.1.0b4/rx/rx' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/dda/moteur_recherche/htdig-3.1.0b4/rx/rx' make[1]: Leaving directory `/home/dda/moteur_recherche/htdig-3.1.0b4/rx' make[1]: Entering directory `/home/dda/moteur_recherche/htdig-3.1.0b4/htlib' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/dda/moteur_recherche/htdig-3.1.0b4/htlib' make[1]: Entering directory `/home/dda/moteur_recherche/htdig-3.1.0b4/htcommon' c++ -c -DBIN_DIR=\"/usr/local/htdig-pleiade/bin\" -DCOMMON_DIR=\"/usr/local/htdig-pleiade/common\" -DCONFIG_DIR=\"/usr/local/htdig-pleiade/conf\" -DDATABASE_DIR=\"/usr/local/htdig-pleiade/db\" -DIMAGE_URL_PREFIX=\"/htdig\" -DPDF_PARSER=\"/usr/local/bin/acroread\" -DSORT_PROG=\"/bin/sort\" -DDEFAULT_CONFIG_FILE=\"/usr/local/htdig-pleiade/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../rx/rx -I../include -g -O2 defaults.cc /usr/bin/ar rcv libcommon.a defaults.o r - defaults.o ranlib libcommon.a make[1]: Leaving directory `/home/dda/moteur_recherche/htdig-3.1.0b4/htcommon' make[1]: Entering directory `/home/dda/moteur_recherche/htdig-3.1.0b4/htfuzzy' c++ -c -DDEFAULT_CONFIG_FILE=\"/usr/local/htdig-pleiade/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../rx/rx -I../include -g -O2 htfuzzy.cc c++ -o htfuzzy -L../htlib -L../htcommon -L../db/dist -L../rx/rx -L/usr/lib Endings.o EndingsDB.o Exact.o Fuzzy.o Metaphone.o Soundex.o SuffixEntry.o Synonym.o htfuzzy.o Substring.o Prefix.o ../htcommon/libcommon.a ../htlib/libht.a ../db/dist/libdb.a ../rx/rx/librx.a make[1]: Leaving directory `/home/dda/moteur_recherche/htdig-3.1.0b4/htfuzzy' make[1]: Entering directory `/home/dda/moteur_recherche/htdig-3.1.0b4/htdig' c++ -c -DDEFAULT_CONFIG_FILE=\"/usr/local/htdig-pleiade/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../rx/rx -I../include -g -O2 main.cc c++ -o htdig -L../htlib -L../htcommon -L../db/dist -L../rx/rx -L/usr/lib Document.o HTML.o Images.o Parsable.o Plaintext.o Postscript.o Retriever.o SGMLEntities.o Server.o URLRef.o main.o ExternalParser.o PDF.o ../htcommon/libcommon.a ../htlib/libht.a ../db/dist/libdb.a ../rx/rx/librx.a make[1]: Leaving directory `/home/dda/moteur_recherche/htdig-3.1.0b4/htdig' make[1]: Entering directory `/home/dda/moteur_recherche/htdig-3.1.0b4/htsearch' c++ -c -DCONFIG_DIR=\"/usr/local/htdig-pleiade/conf\" -DDEFAULT_CONFIG_FILE=\"/usr/local/htdig-pleiade/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../rx/rx -I../include -g -O2 htsearch.cc c++ -o htsearch -L../htlib -L../htcommon -L../db/dist -L../rx/rx -L/usr/lib Display.o DocMatch.o ResultList.o ResultMatch.o Template.o TemplateList.o WeightWord.o htsearch.o parser.o ../htfuzzy/libfuzzy.a ../htcommon/libcommon.a ../htlib/libht.a ../db/dist/libdb.a ../rx/rx/librx.a make[1]: Leaving directory `/home/dda/moteur_recherche/htdig-3.1.0b4/htsearch' make[1]: Entering directory `/home/dda/moteur_recherche/htdig-3.1.0b4/htmerge' c++ -c -DSORT_PROG=\"/bin/sort\" -DDEFAULT_CONFIG_FILE=\"/usr/local/htdig-pleiade/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../rx/rx -I../include -g -O2 htmerge.cc c++ -o htmerge -L../htlib -L../htcommon -L../db/dist -L../rx/rx -L/usr/lib docs.o htmerge.o words.o ../htcommon/libcommon.a ../htlib/libht.a ../db/dist/libdb.a ../rx/rx/librx.a make[1]: Leaving directory `/home/dda/moteur_recherche/htdig-3.1.0b4/htmerge' make[1]: Entering directory `/home/dda/moteur_recherche/htdig-3.1.0b4/htnotify' c++ -c -DSENDMAIL=\"/usr/sbin/sendmail\" -DDEFAULT_CONFIG_FILE=\"/usr/local/htdig-pleiade/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../rx/rx -I../include -g -O2 htnotify.cc c++ -o htnotify -L../htlib -L../htcommon -L../db/dist -L../rx/rx -L/usr/lib htnotify.o ../htcommon/libcommon.a ../htlib/libht.a ../db/dist/libdb.a ../rx/rx/librx.a make[1]: Leaving directory `/home/dda/moteur_recherche/htdig-3.1.0b4/htnotify'