|
From: Jim C. <li...@yg...> - 2003-06-01 02:37:16
|
Hi - I tested Friday's CVS on a Red Hat 8 system (technically KRUD 8, but for all practical purposes it should be the same thing). Everything built with only a few warnings; the warnings are listed at the end of this message. I ran rundig against www.htdig.org using robotstxt_name: master-htdig and did not encounter any noticeable problems. The database sizes seemed reasonable and were searchable. I ran 'make check' and found it to be rather broken under Red Hat. Four of the tests fail outright and numerous errors are reported. Most of the problems are due to the fact that the httpd.conf file used is not entirely compatible with Apache 2. By merging httpd.conf, access.conf, and srm.conf into a single file and then commenting out everything that 'make check' complained about, I was able to get three of the four problematic tests to pass. After hacking the httpd.conf file, one test still failed (t_htdig_local -- output below). The problem appears to be due to the manner in which sockets are recycled. If I either tweaked things so that I could run t_htdig_local directly or added a sleep to test_functions immediately before it starts httpd, then the test passed. I guess the short version is that while 'make check' appears to have a number of problems under Red Hat 8, the ht://Dig suite itself builds, can be coerced into passing all 14 tests, and seems to behave when indexing/searching real sites. Jim OUTPUT FROM make check --- PASS: t_htnet (98)Address already in use: make_sock: could not bind to address 0.0.0.0:7400 no listening sockets available, shutting down running htdig: expected http://localhost:7400/set1/ http://localhost:7400/set1/bad_local.htm http://localhost:7400/set1/script.html http://localhost:7400/set1/site%201.html http://localhost:7400/set1/site2.html http://localhost:7400/set1/site3.html http://localhost:7400/set1/site4.html http://localhost:7400/set1/sub%2520dir/ http://localhost:7400/set1/sub%2520dir/empty%20file.html http://localhost:7400/set1/title.html but got http://localhost:7400/set1/ http://localhost:7400/set1/script.html http://localhost:7400/set1/site%201.html http://localhost:7400/set1/site2.html http://localhost:7400/set1/site3.html http://localhost:7400/set1/site4.html http://localhost:7400/set1/title.html FAIL: t_htdig_local ==================== 1 of 14 tests failed ==================== WARNINGS --- gcc -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -D_REENTRANT -g -O2 -Wall -c mp_cmpr.c -fPIC -DPIC -o .libs/mp_cmpr.lo mp_cmpr.c:120: warning: initialization makes integer from pointer without a cast --- gcc -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -D_REENTRANT -g -O2 -Wall -c os_rw.c -fPIC -DPIC -o .libs/os_rw.lo os_rw.c: In function `CDB___os_io': os_rw.c:42: warning: implicit declaration of function `pread' os_rw.c:48: warning: implicit declaration of function `pwrite' --- gcc -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/home/greyleaf/local/htdig_cvs/conf/ htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -g -O2 -Wall -c regex.c -fPIC -DPIC -o .libs/regex.lo In file included from regex.c:212: gregex.h:530:1: warning: "__restrict_arr" redefined In file included from /usr/include/features.h:291, from /usr/include/stdlib.h:25, from regex.c:147: /usr/include/sys/cdefs.h:246:1: warning: this is the location of the previous definition --- g++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/home/greyleaf/local/htdig_cvs/conf/ htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DBIN_DIR=\"/home/greyleaf/local/htdig_cvs/bin\" -DCOMMON_DIR=\"/home/greyleaf/local/htdig_cvs/share/htdig\" -DCONFIG_DIR=\"/home/greyleaf/local/htdig_cvs/conf\" -DDATABASE_DIR=\"/home/greyleaf/local/htdig_cvs/var/htdig\" -DIMAGE_URL_PREFIX=\"/htdig\" -g -O2 -Wall -fno-rtti -fno-exceptions -Wno-deprecated -c conf_lexer.cxx -fPIC -DPIC -o .libs/conf_lexer.lo conf_lexer.cxx:244: warning: `void* yy_flex_realloc(void*, unsigned int)' declared `static' but never defined |