From: Joe R. J. <jj...@cl...> - 2004-06-09 05:41:37
|
Hi Folks, Make check errors on BSD/OS 4.3.1: ../htlib/.libs/libht.a(HtWordType.o): In function `HtIsWordChar(char)': /tmp/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined reference to `WordType::instance' ../htlib/.libs/libht.a(HtWordType.o): In function `HtIsStrictWordChar(char)': /tmp/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined reference to `WordType::instance' ../htlib/.libs/libht.a(HtWordType.o): In function `HtWordNormalize(String &)': /tmp/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined reference to `WordType::instance' ../htlib/.libs/libht.a(HtWordType.o): In function `HtStripPunctuation(String &)': /tmp/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined reference to `WordType::instance' gmake[2]: *** [testnet] Error 1 gmake[2]: Leaving directory `/tmp/htdig-3.2.0b6/test' gmake[1]: *** [check-am] Error 2 gmake[1]: Leaving directory `/tmp/htdig-3.2.0b6/test' gmake: *** [check-recursive] Error 1 Warnings from htdig: Warning: Configuration option heading_factor_1 is no longer supported Warning: Configuration option heading_factor_2 is no longer supported Warning: Configuration option heading_factor_3 is no longer supported Warning: Configuration option heading_factor_4 is no longer supported Warning: Configuration option heading_factor_5 is no longer supported Warning: Configuration option heading_factor_6 is no longer supported Warning: Configuration option modification_time_is_now is no longer supported Warning: Configuration option pdf_parser is no longer supported Warning: Configuration option translate_amp is no longer supported Warning: Configuration option translate_lt_gt is no longer supported Warning: Configuration option translate_quot is no longer supported Huh? Regards Joe -- _/ _/_/_/ _/ ____________ __o _/ _/ _/ _/ ______________ _-\<,_ _/ _/ _/_/_/ _/ _/ ......(_)/ (_) _/_/ oe _/ _/. _/_/ ah jj...@cl... |
From: Lachlan A. <lh...@us...> - 2004-06-09 10:51:02
|
On Wed, 9 Jun 2004 03:41 pm, Joe R. Jah wrote: > Hi Folks, > > Make check errors on BSD/OS 4.3.1: > > ../htlib/.libs/libht.a(HtWordType.o): In function > `HtStripPunctuation(String &)': > /tmp/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined > reference to `WordType::instance' gmake[2]: *** [testnet] Error 1 Greetings Joe, This is the same problem as Jesse was getting on HP-UX... To hunt this problem down, could you please 1. Try the explicit g++ command I suggested in <http://www.mail-archive.com/htd...@li.../msg02078.html> 2. Replace '--mode=link' by '--mode=link --preserve-dup-deps' in line 324 of test/Makefile and then try make check again. 3. Replace the line something like HTLIBS = $(top_builddir)/htnet/libhtnet.la \ $(top_builddir)/htcommon/libcommon.la \ $(top_builddir)/htword/libhtword.la \ $(top_builddir)/htlib/libht.la \ $(top_builddir)/htcommon/libcommon.la \ $(top_builddir)/htword/libhtword.la \ $(top_builddir)/db/libhtdb.la \ $(top_builddir)/htlib/libht.la in test/Makefile, by a line like HTLIBS = $(top_builddir)/htnet/libhtnet.la \ $(top_builddir)/htcommon/libcommon.la \ $(top_builddir)/htword/libhtword.la \ $(top_builddir)/htlib/libht.la \ $(top_builddir)/./htcommon/libcommon.la \ $(top_builddir)/./htword/libhtword.la \ $(top_builddir)/./db/libhtdb.la \ $(top_builddir)/./htlib/libht.la (that is, for the repeated libraries, add a './' to the path) and then rerun make check. 4. Type nm htword/.libs/libhtword.a | grep instance nm test/testnet.o | grep instance 5. Type cp /bin/true test/testnet make check > Warnings from htdig: > > Warning: Configuration option heading_factor_1 is no longer > supported > Warning: Configuration option heading_factor_2 is no longer > supported > Warning: Configuration option heading_factor_3 is no longer > supported > Warning: Configuration option heading_factor_4 is no longer > supported > Warning: Configuration option heading_factor_5 is no longer > supported > Warning: Configuration option heading_factor_6 is no longer > supported > Warning: Configuration option modification_time_is_now is no longer > supported > Warning: Configuration option pdf_parser is no longer > supported > Warning: Configuration option translate_amp is no longer > supported > Warning: Configuration option translate_lt_gt is no longer supported > Warning: Configuration option translate_quot is no longer supported > > Huh? Because people were confused by pdf_parser no longer working in ht://Dig, it now checks for old 3.1.x configuration attributes which are in the htdig.conf file but not supported by ht://Dig 3.2.x Are any of these options specified in your htdig.conf? If not, this is a bug... Thanks for the testing, Lachlan -- lh...@us... ht://Dig developer DownUnder (http://www.htdig.org) |
From: Joe R. J. <jj...@cl...> - 2004-06-10 06:49:29
|
On Wed, 9 Jun 2004, Lachlan Andrew wrote: > Date: Wed, 9 Jun 2004 20:49:47 +1000 > From: Lachlan Andrew <lh...@us...> > To: Joe R. Jah <jj...@cl...>, htd...@li... > Subject: Re: [htdig-dev] Make check and htdig warnings > > On Wed, 9 Jun 2004 03:41 pm, Joe R. Jah wrote: > > Hi Folks, > > > > Make check errors on BSD/OS 4.3.1: > > > > ../htlib/.libs/libht.a(HtWordType.o): In function > > `HtStripPunctuation(String &)': > > /tmp/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined > > reference to `WordType::instance' gmake[2]: *** [testnet] Error 1 > > Greetings Joe, > > This is the same problem as Jesse was getting on HP-UX... To hunt > this problem down, could you please > 1. Try the explicit g++ command I suggested in > <http://www.mail-archive.com/htd...@li.../msg02078.html> cd test g++ -g -O2 -Wall -fno-rtti -fno-exceptions -o testnet testnet.o \ -L/opt/htdig/lib/zlib/lib ../htnet/.libs/libhtnet.a \ ../htcommon/.libs/libcommon.a ../htword/.libs/libhtword.a \ ../db/.libs/libhtdb.a ../htlib/.libs/libht.a \ ../htword/.libs/libhtword.a -lz gmake check ../htlib/.libs/libht.a(HtWordType.o): In function `HtIsWordChar(char)': /usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined reference to `WordType::instance' ../htlib/.libs/libht.a(HtWordType.o): In function `HtIsStrictWordChar(char)': /usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined reference to `WordType::instance' ../htlib/.libs/libht.a(HtWordType.o): In function `HtWordNormalize(String &)': /usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined reference to `WordType::instance' ../htlib/.libs/libht.a(HtWordType.o): In function `HtStripPunctuation(String &)': /usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined reference to `WordType::instance' gmake[1]: *** [url] Error 1 gmake[1]: Leaving directory `/usr/src/WWW/htdig/htdig-3.2.0b6/test' gmake: *** [check-am] Error 2 > 2. Replace '--mode=link' by '--mode=link --preserve-dup-deps' in > line 324 of test/Makefile and then try make check again. ../htlib/.libs/libht.a(HtWordType.o): In function `HtIsWordChar(char)': /usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined reference to `WordType::instance' ../htlib/.libs/libht.a(HtWordType.o): In function `HtIsStrictWordChar(char)': /usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined reference to `WordType::instance' ../htlib/.libs/libht.a(HtWordType.o): In function `HtWordNormalize(String &)': /usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined reference to `WordType::instance' ../htlib/.libs/libht.a(HtWordType.o): In function `HtStripPunctuation(String &)': /usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined reference to `WordType::instance' *** Error code 1 Stop. *** Error code 1 Stop. > 3. Replace the line something like > HTLIBS = $(top_builddir)/htnet/libhtnet.la \ > $(top_builddir)/htcommon/libcommon.la \ > $(top_builddir)/htword/libhtword.la \ > $(top_builddir)/htlib/libht.la \ > $(top_builddir)/htcommon/libcommon.la \ > $(top_builddir)/htword/libhtword.la \ > $(top_builddir)/db/libhtdb.la \ > $(top_builddir)/htlib/libht.la > in test/Makefile, by a line like > HTLIBS = $(top_builddir)/htnet/libhtnet.la \ > $(top_builddir)/htcommon/libcommon.la \ > $(top_builddir)/htword/libhtword.la \ > $(top_builddir)/htlib/libht.la \ > $(top_builddir)/./htcommon/libcommon.la \ > $(top_builddir)/./htword/libhtword.la \ > $(top_builddir)/./db/libhtdb.la \ > $(top_builddir)/./htlib/libht.la > (that is, for the repeated libraries, add a './' to the path) and > then rerun make check. PASS: t_wordkey PASS: t_wordlist PASS: t_wordskip PASS: t_wordbitstream PASS: t_search PASS: t_htdb PASS: t_rdonly PASS: t_trunc PASS: t_url dodoc: cannot open 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 htpurge: Database is empty! FAIL: t_htdig PASS: t_htsearch PASS: t_htmerge PASS: t_htnet PASS: t_htdig_local PASS: t_factors PASS: t_fuzzy PASS: t_parsing PASS: t_templates PASS: t_validwords ==================== 1 of 19 tests failed *** Error code 1 Stop. *** Error code 1 Stop. > 4. Type > nm htword/.libs/libhtword.a | grep instance U _10WordDBInfo.instance U _11WordKeyInfo.instance U _11WordMonitor.instance U _14WordRecordInfo.instance U _8WordType.instance U _11WordKeyInfo.instance U _14WordRecordInfo.instance U _10WordDBInfo.instance U _11WordKeyInfo.instance 0000039c D _10WordDBInfo.instance U _11WordKeyInfo.instance U _14WordRecordInfo.instance U _11WordKeyInfo.instance 000008f8 D _11WordKeyInfo.instance U _10WordDBInfo.instance U _11WordKeyInfo.instance U _14WordRecordInfo.instance 00000870 D _11WordMonitor.instance 00000160 D _14WordRecordInfo.instance U _11WordKeyInfo.instance U _14WordRecordInfo.instance 00000988 D _8WordType.instance > nm test/testnet.o | grep instance > 5. Type > cp /bin/true test/testnet It was actually cp /usr/bin/true test/testnet > make check PASS: t_wordkey PASS: t_wordlist PASS: t_wordskip PASS: t_wordbitstream PASS: t_search PASS: t_htdb PASS: t_rdonly PASS: t_trunc PASS: t_url 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 FAIL: t_htdig PASS: t_htsearch PASS: t_htmerge Could not fetch URL FAIL: t_htnet PASS: t_htdig_local PASS: t_factors PASS: t_fuzzy PASS: t_parsing PASS: t_templates PASS: t_validwords ==================== 2 of 19 tests failed ==================== gmake[1]: *** [check-TESTS] Error 1 gmake[1]: Leaving directory `/usr/src/WWW/htdig/htdig-3.2.0b6/test' gmake: *** [check-am] Error 2 > > Warnings from htdig: > > > > Warning: Configuration option heading_factor_1 is no longer supported > > Warning: Configuration option heading_factor_2 is no longer supported > > Warning: Configuration option heading_factor_3 is no longer supported > > Warning: Configuration option heading_factor_4 is no longer supported > > Warning: Configuration option heading_factor_5 is no longer supported > > Warning: Configuration option heading_factor_6 is no longer supported > > Warning: Configuration option modification_time_is_now is no longer supported > > Warning: Configuration option pdf_parser is no longer supported > > Warning: Configuration option translate_amp is no longer supported > > Warning: Configuration option translate_lt_gt is no longer supported > > Warning: Configuration option translate_quot is no longer supported > > > > Huh? > > Because people were confused by pdf_parser no longer working in > ht://Dig, it now checks for old 3.1.x configuration attributes which > are in the htdig.conf file but not supported by ht://Dig 3.2.x > Are any of these options specified in your htdig.conf? If not, this > is a bug... Thanks Lachlan; yes I had all those attributes from 3.1.x days left in my htdig.conf file. Regards, Joe -- _/ _/_/_/ _/ ____________ __o _/ _/ _/ _/ ______________ _-\<,_ _/ _/ _/_/_/ _/ _/ ......(_)/ (_) _/_/ oe _/ _/. _/_/ ah jj...@cl... |
From: <lac...@ip...> - 2004-06-11 00:32:39
|
Thanks Joe. I'll apply patch 3 to CVS when I next get to my PC. The problem with t_htdig has already been fixed. (I'm really not sure why it worked under gnu/linux -- the script definitely had a bug.) Cheers, Lachlan >-- Original Message -- >Date: Wed, 9 Jun 2004 23:49:23 -0700 (PDT) >From: "Joe R. Jah" <jj...@cl...> >To: Lachlan Andrew <lh...@us...> >cc: htd...@li... >Subject: Re: [htdig-dev] Make check and htdig warnings > > >On Wed, 9 Jun 2004, Lachlan Andrew wrote: > >> Date: Wed, 9 Jun 2004 20:49:47 +1000 >> From: Lachlan Andrew <lh...@us...> >> To: Joe R. Jah <jj...@cl...>, htd...@li... >> Subject: Re: [htdig-dev] Make check and htdig warnings >> >> On Wed, 9 Jun 2004 03:41 pm, Joe R. Jah wrote: >> > Hi Folks, >> > >> > Make check errors on BSD/OS 4.3.1: >> > >> > ../htlib/.libs/libht.a(HtWordType.o): In function >> > `HtStripPunctuation(String &)': >> > /tmp/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined >> > reference to `WordType::instance' gmake[2]: *** [testnet] Error 1 >> >> Greetings Joe, >> >> This is the same problem as Jesse was getting on HP-UX... To hunt >> this problem down, could you please >> 1. Try the explicit g++ command I suggested in >> <http://www.mail-archive.com/htd...@li.../msg02078.html> > > cd test > g++ -g -O2 -Wall -fno-rtti -fno-exceptions -o testnet testnet.o \ > -L/opt/htdig/lib/zlib/lib ../htnet/.libs/libhtnet.a \ > ../htcommon/.libs/libcommon.a ../htword/.libs/libhtword.a \ > ../db/.libs/libhtdb.a ../htlib/.libs/libht.a \ > ../htword/.libs/libhtword.a -lz > gmake check > >../htlib/.libs/libht.a(HtWordType.o): In function `HtIsWordChar(char)': >/usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined >reference to `WordType::instance' >../htlib/.libs/libht.a(HtWordType.o): In function `HtIsStrictWordChar(char)': >/usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined >reference to `WordType::instance' >../htlib/.libs/libht.a(HtWordType.o): In function `HtWordNormalize(String >&)': >/usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined >reference to `WordType::instance' >../htlib/.libs/libht.a(HtWordType.o): In function `HtStripPunctuation(String >&)': >/usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined >reference to `WordType::instance' >gmake[1]: *** [url] Error 1 >gmake[1]: Leaving directory `/usr/src/WWW/htdig/htdig-3.2.0b6/test' >gmake: *** [check-am] Error 2 > >> 2. Replace '--mode=link' by '--mode=link --preserve-dup-deps' in >> line 324 of test/Makefile and then try make check again. > >../htlib/.libs/libht.a(HtWordType.o): In function `HtIsWordChar(char)': >/usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined >reference to `WordType::instance' >../htlib/.libs/libht.a(HtWordType.o): In function `HtIsStrictWordChar(char)': >/usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined >reference to `WordType::instance' >../htlib/.libs/libht.a(HtWordType.o): In function `HtWordNormalize(String >&)': >/usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined >reference to `WordType::instance' >../htlib/.libs/libht.a(HtWordType.o): In function `HtStripPunctuation(String >&)': >/usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined >reference to `WordType::instance' >*** Error code 1 > >Stop. >*** Error code 1 > >Stop. > >> 3. Replace the line something like >> HTLIBS = $(top_builddir)/htnet/libhtnet.la \ >> $(top_builddir)/htcommon/libcommon.la \ >> $(top_builddir)/htword/libhtword.la \ >> $(top_builddir)/htlib/libht.la \ >> $(top_builddir)/htcommon/libcommon.la \ >> $(top_builddir)/htword/libhtword.la \ >> $(top_builddir)/db/libhtdb.la \ >> $(top_builddir)/htlib/libht.la >> in test/Makefile, by a line like >> HTLIBS = $(top_builddir)/htnet/libhtnet.la \ >> $(top_builddir)/htcommon/libcommon.la \ >> $(top_builddir)/htword/libhtword.la \ >> $(top_builddir)/htlib/libht.la \ >> $(top_builddir)/./htcommon/libcommon.la \ >> $(top_builddir)/./htword/libhtword.la \ >> $(top_builddir)/./db/libhtdb.la \ >> $(top_builddir)/./htlib/libht.la >> (that is, for the repeated libraries, add a './' to the path) and >> then rerun make check. > > >PASS: t_wordkey >PASS: t_wordlist >PASS: t_wordskip >PASS: t_wordbitstream >PASS: t_search >PASS: t_htdb >PASS: t_rdonly >PASS: t_trunc >PASS: t_url > >dodoc: cannot open >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 > >htpurge: Database is empty! > >FAIL: t_htdig >PASS: t_htsearch >PASS: t_htmerge >PASS: t_htnet >PASS: t_htdig_local >PASS: t_factors >PASS: t_fuzzy >PASS: t_parsing >PASS: t_templates >PASS: t_validwords >==================== >1 of 19 tests failed >*** Error code 1 > >Stop. >*** Error code 1 > >Stop. > >> 4. Type >> nm htword/.libs/libhtword.a | grep instance > > U _10WordDBInfo.instance > U _11WordKeyInfo.instance > U _11WordMonitor.instance > U _14WordRecordInfo.instance > U _8WordType.instance > U _11WordKeyInfo.instance > U _14WordRecordInfo.instance > U _10WordDBInfo.instance > U _11WordKeyInfo.instance >0000039c D _10WordDBInfo.instance > U _11WordKeyInfo.instance > U _14WordRecordInfo.instance > U _11WordKeyInfo.instance >000008f8 D _11WordKeyInfo.instance > U _10WordDBInfo.instance > U _11WordKeyInfo.instance > U _14WordRecordInfo.instance >00000870 D _11WordMonitor.instance >00000160 D _14WordRecordInfo.instance > U _11WordKeyInfo.instance > U _14WordRecordInfo.instance >00000988 D _8WordType.instance > > >> nm test/testnet.o | grep instance > >> 5. Type >> cp /bin/true test/testnet > >It was actually cp /usr/bin/true test/testnet > >> make check > >PASS: t_wordkey >PASS: t_wordlist >PASS: t_wordskip >PASS: t_wordbitstream >PASS: t_search >PASS: t_htdb >PASS: t_rdonly >PASS: t_trunc >PASS: t_url >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 > >FAIL: t_htdig >PASS: t_htsearch >PASS: t_htmerge >Could not fetch URL >FAIL: t_htnet >PASS: t_htdig_local >PASS: t_factors >PASS: t_fuzzy >PASS: t_parsing >PASS: t_templates >PASS: t_validwords >==================== >2 of 19 tests failed >==================== >gmake[1]: *** [check-TESTS] Error 1 >gmake[1]: Leaving directory `/usr/src/WWW/htdig/htdig-3.2.0b6/test' >gmake: *** [check-am] Error 2 > >> > Warnings from htdig: >> > >> > Warning: Configuration option heading_factor_1 is no longer supported >> > Warning: Configuration option heading_factor_2 is no longer supported >> > Warning: Configuration option heading_factor_3 is no longer supported >> > Warning: Configuration option heading_factor_4 is no longer supported >> > Warning: Configuration option heading_factor_5 is no longer supported >> > Warning: Configuration option heading_factor_6 is no longer supported >> > Warning: Configuration option modification_time_is_now is no longer supported >> > Warning: Configuration option pdf_parser is no longer supported >> > Warning: Configuration option translate_amp is no longer supported >> > Warning: Configuration option translate_lt_gt is no longer supported >> > Warning: Configuration option translate_quot is no longer supported >> > >> > Huh? >> >> Because people were confused by pdf_parser no longer working in >> ht://Dig, it now checks for old 3.1.x configuration attributes which >> are in the htdig.conf file but not supported by ht://Dig 3.2.x >> Are any of these options specified in your htdig.conf? If not, this >> is a bug... > >Thanks Lachlan; yes I had all those attributes from 3.1.x days left in my >htdig.conf file. > >Regards, > >Joe >-- > _/ _/_/_/ _/ ____________ __o > _/ _/ _/ _/ ______________ _-\<,_ > _/ _/ _/_/_/ _/ _/ ......(_)/ (_) > _/_/ oe _/ _/. _/_/ ah jj...@cl... > |
From: Joe R. J. <jj...@cl...> - 2004-06-18 06:19:02
|
On Fri, 11 Jun 2004 lac...@ip... wrote: > Date: Fri, 11 Jun 2004 10:32:32 +1000 > From: lac...@ip... > To: Joe R. Jah <jj...@cl...>, Lachlan Andrew <lh...@us...> > Cc: htd...@li... > Subject: Re: [htdig-dev] Make check and htdig warnings > > Thanks Joe. I'll apply patch 3 to CVS when I next get to my PC. The problem > with t_htdig has already been fixed. (I'm really not sure why it worked > under gnu/linux -- the script definitely had a bug.) Patch 3 has not been committed to 3.2.0b6: --- test/Makefile.orig Thu Jun 17 22:56:56 2004 +++ test/Makefile Thu Jun 17 22:54:30 2004 @@ -188,10 +188,10 @@ $(top_builddir)/htcommon/libcommon.la \ $(top_builddir)/htword/libhtword.la \ $(top_builddir)/htlib/libht.la \ - $(top_builddir)/htcommon/libcommon.la \ - $(top_builddir)/htword/libhtword.la \ - $(top_builddir)/db/libhtdb.la \ - $(top_builddir)/htlib/libht.la + $(top_builddir)/./htcommon/libcommon.la \ + $(top_builddir)/./htword/libhtword.la \ + $(top_builddir)/./db/libhtdb.la \ + $(top_builddir)/./htlib/libht.la Also t_htdig still fails: FAIL: t_htdig PASS: t_htsearch PASS: t_htmerge PASS: t_htnet PASS: t_htdig_local PASS: t_factors PASS: t_fuzzy PASS: t_parsing PASS: t_templates PASS: t_validwords ==================== 1 of 19 tests failed ==================== Regards, Joe -- _/ _/_/_/ _/ ____________ __o _/ _/ _/ _/ ______________ _-\<,_ _/ _/ _/_/_/ _/ _/ ......(_)/ (_) _/_/ oe _/ _/. _/_/ ah jj...@cl... > >On Wed, 9 Jun 2004, Lachlan Andrew wrote: > > > >> Date: Wed, 9 Jun 2004 20:49:47 +1000 > >> From: Lachlan Andrew <lh...@us...> > >> To: Joe R. Jah <jj...@cl...>, htd...@li... > >> Subject: Re: [htdig-dev] Make check and htdig warnings > >> > >> On Wed, 9 Jun 2004 03:41 pm, Joe R. Jah wrote: > >> > Hi Folks, > >> > > >> > Make check errors on BSD/OS 4.3.1: > >> > > >> > ../htlib/.libs/libht.a(HtWordType.o): In function > >> > `HtStripPunctuation(String &)': > >> > /tmp/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined > >> > reference to `WordType::instance' gmake[2]: *** [testnet] Error 1 > >> > >> Greetings Joe, > >> > >> This is the same problem as Jesse was getting on HP-UX... To hunt > >> this problem down, could you please > >> 1. Try the explicit g++ command I suggested in > >> <http://www.mail-archive.com/htd...@li.../msg02078.html> > > > > cd test > > g++ -g -O2 -Wall -fno-rtti -fno-exceptions -o testnet testnet.o \ > > -L/opt/htdig/lib/zlib/lib ../htnet/.libs/libhtnet.a \ > > ../htcommon/.libs/libcommon.a ../htword/.libs/libhtword.a \ > > ../db/.libs/libhtdb.a ../htlib/.libs/libht.a \ > > ../htword/.libs/libhtword.a -lz > > gmake check > > > >../htlib/.libs/libht.a(HtWordType.o): In function `HtIsWordChar(char)': > >/usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined > >reference to `WordType::instance' > >../htlib/.libs/libht.a(HtWordType.o): In function `HtIsStrictWordChar(char)': > >/usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined > >reference to `WordType::instance' > >../htlib/.libs/libht.a(HtWordType.o): In function `HtWordNormalize(String > >&)': > >/usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined > >reference to `WordType::instance' > >../htlib/.libs/libht.a(HtWordType.o): In function `HtStripPunctuation(String > >&)': > >/usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined > >reference to `WordType::instance' > >gmake[1]: *** [url] Error 1 > >gmake[1]: Leaving directory `/usr/src/WWW/htdig/htdig-3.2.0b6/test' > >gmake: *** [check-am] Error 2 > > > >> 2. Replace '--mode=link' by '--mode=link --preserve-dup-deps' in > >> line 324 of test/Makefile and then try make check again. > > > >../htlib/.libs/libht.a(HtWordType.o): In function `HtIsWordChar(char)': > >/usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined > >reference to `WordType::instance' > >../htlib/.libs/libht.a(HtWordType.o): In function `HtIsStrictWordChar(char)': > >/usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined > >reference to `WordType::instance' > >../htlib/.libs/libht.a(HtWordType.o): In function `HtWordNormalize(String > >&)': > >/usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined > >reference to `WordType::instance' > >../htlib/.libs/libht.a(HtWordType.o): In function `HtStripPunctuation(String > >&)': > >/usr/src/WWW/htdig/htdig-3.2.0b6/htlib/../htword/WordType.h:66: undefined > >reference to `WordType::instance' > >*** Error code 1 > > > >Stop. > >*** Error code 1 > > > >Stop. > > > >> 3. Replace the line something like > >> HTLIBS = $(top_builddir)/htnet/libhtnet.la \ > >> $(top_builddir)/htcommon/libcommon.la \ > >> $(top_builddir)/htword/libhtword.la \ > >> $(top_builddir)/htlib/libht.la \ > >> $(top_builddir)/htcommon/libcommon.la \ > >> $(top_builddir)/htword/libhtword.la \ > >> $(top_builddir)/db/libhtdb.la \ > >> $(top_builddir)/htlib/libht.la > >> in test/Makefile, by a line like > >> HTLIBS = $(top_builddir)/htnet/libhtnet.la \ > >> $(top_builddir)/htcommon/libcommon.la \ > >> $(top_builddir)/htword/libhtword.la \ > >> $(top_builddir)/htlib/libht.la \ > >> $(top_builddir)/./htcommon/libcommon.la \ > >> $(top_builddir)/./htword/libhtword.la \ > >> $(top_builddir)/./db/libhtdb.la \ > >> $(top_builddir)/./htlib/libht.la > >> (that is, for the repeated libraries, add a './' to the path) and > >> then rerun make check. > > > > > >PASS: t_wordkey > >PASS: t_wordlist > >PASS: t_wordskip > >PASS: t_wordbitstream > >PASS: t_search > >PASS: t_htdb > >PASS: t_rdonly > >PASS: t_trunc > >PASS: t_url > > > >dodoc: cannot open > >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 > > > >htpurge: Database is empty! > > > >FAIL: t_htdig > >PASS: t_htsearch > >PASS: t_htmerge > >PASS: t_htnet > >PASS: t_htdig_local > >PASS: t_factors > >PASS: t_fuzzy > >PASS: t_parsing > >PASS: t_templates > >PASS: t_validwords > >==================== > >1 of 19 tests failed > >*** Error code 1 > > > >Stop. > >*** Error code 1 > > > >Stop. > > > >> 4. Type > >> nm htword/.libs/libhtword.a | grep instance > > > > U _10WordDBInfo.instance > > U _11WordKeyInfo.instance > > U _11WordMonitor.instance > > U _14WordRecordInfo.instance > > U _8WordType.instance > > U _11WordKeyInfo.instance > > U _14WordRecordInfo.instance > > U _10WordDBInfo.instance > > U _11WordKeyInfo.instance > >0000039c D _10WordDBInfo.instance > > U _11WordKeyInfo.instance > > U _14WordRecordInfo.instance > > U _11WordKeyInfo.instance > >000008f8 D _11WordKeyInfo.instance > > U _10WordDBInfo.instance > > U _11WordKeyInfo.instance > > U _14WordRecordInfo.instance > >00000870 D _11WordMonitor.instance > >00000160 D _14WordRecordInfo.instance > > U _11WordKeyInfo.instance > > U _14WordRecordInfo.instance > >00000988 D _8WordType.instance > > > > > >> nm test/testnet.o | grep instance > > > >> 5. Type > >> cp /bin/true test/testnet > > > >It was actually cp /usr/bin/true test/testnet > > > >> make check > > > >PASS: t_wordkey > >PASS: t_wordlist > >PASS: t_wordskip > >PASS: t_wordbitstream > >PASS: t_search > >PASS: t_htdb > >PASS: t_rdonly > >PASS: t_trunc > >PASS: t_url > >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 > > > >FAIL: t_htdig > >PASS: t_htsearch > >PASS: t_htmerge > >Could not fetch URL > >FAIL: t_htnet > >PASS: t_htdig_local > >PASS: t_factors > >PASS: t_fuzzy > >PASS: t_parsing > >PASS: t_templates > >PASS: t_validwords > >==================== > >2 of 19 tests failed > >==================== > >gmake[1]: *** [check-TESTS] Error 1 > >gmake[1]: Leaving directory `/usr/src/WWW/htdig/htdig-3.2.0b6/test' > >gmake: *** [check-am] Error 2 > > > >> > Warnings from htdig: > >> > > >> > Warning: Configuration option heading_factor_1 is no longer supported > >> > Warning: Configuration option heading_factor_2 is no longer supported > >> > Warning: Configuration option heading_factor_3 is no longer supported > >> > Warning: Configuration option heading_factor_4 is no longer supported > >> > Warning: Configuration option heading_factor_5 is no longer supported > >> > Warning: Configuration option heading_factor_6 is no longer supported > >> > Warning: Configuration option modification_time_is_now is no longer > supported > >> > Warning: Configuration option pdf_parser is no longer supported > >> > Warning: Configuration option translate_amp is no longer supported > >> > Warning: Configuration option translate_lt_gt is no longer supported > >> > Warning: Configuration option translate_quot is no longer supported > >> > > >> > Huh? > >> > >> Because people were confused by pdf_parser no longer working in > >> ht://Dig, it now checks for old 3.1.x configuration attributes which > >> are in the htdig.conf file but not supported by ht://Dig 3.2.x > >> Are any of these options specified in your htdig.conf? If not, this > > >> is a bug... > > > >Thanks Lachlan; yes I had all those attributes from 3.1.x days left in my > >htdig.conf file. > > > >Regards, |
From: Lachlan A. <lh...@us...> - 2004-06-19 00:14:13
|
Gretings Joe, Yes, that patch turned out to be more complicated that I thought... "tests/Makefile" is generated from (indirectly) from "tests/Makefile.am" and "./Makefile.config". Since this last file is shared by all programs, it would affect the whole build process. I thought that, so close to the release, I wouldn't jeopardise the main program for the sake of the tests. Regarding t_htdig, could you please post the errors that it outputs? These will be before the FAIL: t_htdig line. Is it the same as previously? Thanks, Lachlan On Fri, 18 Jun 2004 04:18 pm, Joe R. Jah wrote: > > Patch 3 has not been committed to 3.2.0b6: > > --- test/Makefile.orig Thu Jun 17 22:56:56 2004 > +++ test/Makefile Thu Jun 17 22:54:30 2004 > @@ -188,10 +188,10 @@ > $(top_builddir)/htcommon/libcommon.la \ > $(top_builddir)/htword/libhtword.la \ > $(top_builddir)/htlib/libht.la \ > - $(top_builddir)/htcommon/libcommon.la \ > - $(top_builddir)/htword/libhtword.la \ > - $(top_builddir)/db/libhtdb.la \ > - $(top_builddir)/htlib/libht.la > + $(top_builddir)/./htcommon/libcommon.la \ > + $(top_builddir)/./htword/libhtword.la \ > + $(top_builddir)/./db/libhtdb.la \ > + $(top_builddir)/./htlib/libht.la > > Also t_htdig still fails: > > FAIL: t_htdig > PASS: t_htsearch > PASS: t_htmerge > PASS: t_htnet > PASS: t_htdig_local > PASS: t_factors > PASS: t_fuzzy > PASS: t_parsing > PASS: t_templates > PASS: t_validwords > ==================== > 1 of 19 tests failed > ==================== > > Regards, > > Joe -- lh...@us... ht://Dig developer DownUnder (http://www.htdig.org) |
From: Joe R. J. <jj...@cl...> - 2004-06-19 03:08:40
|
On Sat, 19 Jun 2004, Lachlan Andrew wrote: > Date: Sat, 19 Jun 2004 10:12:44 +1000 > From: Lachlan Andrew <lh...@us...> > To: Joe R. Jah <jj...@cl...> > Cc: htd...@li... > Subject: Re: Make check and htdig warnings > > Gretings Joe, Greetings Lachlan, > Yes, that patch turned out to be more complicated that I thought... > "tests/Makefile" is generated from (indirectly) from > "tests/Makefile.am" and "./Makefile.config". Since this last file is > shared by all programs, it would affect the whole build process. I > thought that, so close to the release, I wouldn't jeopardise the main > program for the sake of the tests. Good point. > Regarding t_htdig, could you please post the errors that it outputs? > These will be before the FAIL: t_htdig line. Is it the same as > previously? running htdig: expected file:///tmp/htdig-3.2.0b6/test/htdocs/set1/site4.html 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/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/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/sub%2520dir/ http://localhost:7400/set1/sub%2520dir/empty%20file.html http://localhost:7400/set1/title.html FAIL: t_htdig It is different than last time: dodoc: cannot open 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 htpurge: Database is empty! FAIL: t_htdig By the way, by accident I found out that every time I rung make check, it leaves four files in /tmp: -rw-r--r-- 1 jjah wheel 3089 Jun 18 19:46 t_htsearch22185 -rw-r--r-- 1 jjah wheel 3079 Jun 18 19:46 t_htsearch22410 -rw-r--r-- 1 jjah wheel 6818 Jun 18 19:46 t_htsearch22765 -rw-r--r-- 1 jjah wheel 1803 Jun 18 19:46 t_htsearch23147 Regards, Joe -- _/ _/_/_/ _/ ____________ __o _/ _/ _/ _/ ______________ _-\<,_ _/ _/ _/_/_/ _/ _/ ......(_)/ (_) _/_/ oe _/ _/. _/_/ ah jj...@cl... |
From: Lachlan A. <lh...@us...> - 2004-06-20 11:43:12
|
On Sat, 19 Jun 2004 01:08 pm, Joe R. Jah wrote: > > running htdig: expected > file:///tmp/htdig-3.2.0b6/test/htdocs/set1/site4.html > 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/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/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/sub%2520dir/ > http://localhost:7400/set1/sub%2520dir/empty%20file.html > http://localhost:7400/set1/title.html > FAIL: t_htdig > > It is different than last time: Thanks. Could you please do a make TESTS=t_htdig check and then send me .../test/conf/htdig.conf.tmp ? This test might be pushing sed to its limits of compatibility... > By the way, by accident I found out that every time I rung make > check, it leaves four files in /tmp: > > -rw-r--r-- 1 jjah wheel 3089 Jun 18 19:46 t_htsearch22185 > -rw-r--r-- 1 jjah wheel 3079 Jun 18 19:46 t_htsearch22410 > -rw-r--r-- 1 jjah wheel 6818 Jun 18 19:46 t_htsearch22765 > -rw-r--r-- 1 jjah wheel 1803 Jun 18 19:46 t_htsearch23147 Thanks. They should be deleted except when an error occurs. I'll fix that. Cheers, Lachlan -- lh...@us... ht://Dig developer DownUnder (http://www.htdig.org) |
From: Joe R. J. <jj...@cl...> - 2004-06-21 23:35:23
|
On Sun, 20 Jun 2004, Lachlan Andrew wrote: > Date: Sun, 20 Jun 2004 21:41:47 +1000 > From: Lachlan Andrew <lh...@us...> > To: Joe R. Jah <jj...@cl...> > Cc: htd...@li... > Subject: Re: Make check and htdig warnings > > On Sat, 19 Jun 2004 01:08 pm, Joe R. Jah wrote: > > > > running htdig: expected > > file:///tmp/htdig-3.2.0b6/test/htdocs/set1/site4.html > > 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/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/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/sub%2520dir/ > > http://localhost:7400/set1/sub%2520dir/empty%20file.html > > http://localhost:7400/set1/title.html > > FAIL: t_htdig > > > > It is different than last time: > > Thanks. Could you please do a > make TESTS=t_htdig check > and then send me .../test/conf/htdig.conf.tmp ? This test might be > pushing sed to its limits of compatibility... Here it is: ---8<--- # # Example config file for ht://Dig. # # This configuration file is used by all the programs that make up ht://Dig. # Please refer to the attribute reference manual for more details on what # can be put into this file. (http://www.htdig.org/confindex.html) # Note that most attributes have very reasonable default values so you # really only have to add attributes here if you want to change the defaults. # # What follows are some of the common attributes you might want to change. # # Specifies the directory for files that will or can be # shared among different search databases. The default # value for this attribute is defined at compile time. common_dir: ./../installdir # # Specify where the database files need to go. Make sure that there is # plenty of free disk space available for the databases. They can get # pretty big. # database_dir: /tmp/htdig-3.2.0b6/test/var/htdig # # This specifies the URL where the robot (htdig) will start. You can specify # multiple URLs here. Just separate them by some whitespace. # The example here will cause the ht://Dig homepage and related pages to be # indexed. # You could also index all the URLs in a file like so: # start_url: `${common_dir}/start.url` # start_url: HTTP://LocalHost:7400/Set1/ # # This attribute limits the scope of the indexing process. The default is to # set it to the same as the start_url above. This way only pages that are on # the sites specified in the start_url attribute will be indexed and it will # reject any URLs that go outside of those sites. # # Keep in mind that the value for this attribute is just a list of string # patterns. As long as URLs contain at least one of the patterns it will be # seen as part of the scope of the index. # limit_urls_to: ${start_url} site4.html # # If there are particular pages that you definately do NOT want to index, you # can use the exclude_urls attribute. The value is a list of string patterns. # If a URL matches any of the patterns, it will NOT be indexed. This is # useful to exclude things like virtual web trees or database accesses. By # default, all CGI URLs will be excluded. (Note that the /cgi-bin/ convention # may not work on your web server. Check the path prefix used on your web # server.) # exclude_urls: /cgi-bin/ .cgi # # The string htdig will send in every request to identify the robot. Change # this to your email address. # maintainer: jjah # # The excerpts that are displayed in long results rely on stored information # in the index databases. The compiled default only stores 512 characters of # text from each document (this excludes any HTML markup...) If you plan on # using the excerpts you probably want to make this larger. The only concern # here is that more disk space is going to be needed to store the additional # information. Since disk space is cheap (! :-)) you might want to set this # to a value so that a large percentage of the documents that you are going # to be indexing are stored completely in the database. At SDSU we found # that by setting this value to about 50k the index would get 97% of all # documents completely and only 3% was cut off at 50k. You probably want to # experiment with this value. # Note that if you want to set this value low, you probably want to set the # excerpt_show_top attribute to false so that the top excerpt_length characters # of the document are always shown. # max_head_length: 100000 # # To limit network connections, ht://Dig will only pull up to a certain limit # of bytes. This prevents the indexing from dying because the server keeps # sending information. However, several FAQs happen because people have files # bigger than the default limit of 100KB. This sets the default a bit higher. # (see <http://www.htdig.org/FAQ.html> for more) # max_doc_size: 200000 # This sets the maximum length of words that will be # indexed. Words longer than this value will be silently # truncated when put into the index, or searched in the # index. maximum_word_length: 50 # # Most people expect some sort of excerpt in results. By default, if the # search words aren't found in context in the stored excerpt, htsearch shows # the text defined in the no_excerpt_text attribute: # (None of the search words were found in the top of this document.) # This attribute instead will show the top of the excerpt. # no_excerpt_show_top: true # # Depending on your needs, you might want to enable some of the fuzzy search # algorithms. There are several to choose from and you can use them in any # combination you feel comfortable with. Each algorithm will get a weight # assigned to it so that in combinations of algorithms, certain algorithms get # preference over others. Note that the weights only affect the ranking of # the results, not the actual searching. # The available algorithms are: # exact # endings # metaphone # prefix # regex # soundex # synonyms # By default only the "exact" algorithm is used with weight 1. # Note that if you are going to use the endings, metaphone, soundex, # or synonyms algorithms, you will need to run htfuzzy to generate # the databases they use. # search_algorithm: exact:1 # # The following are the templates used in the builtin search results # The default is to use compiled versions of these files, which produces # slightly faster results. However, uncommenting these lines makes it # very easy to change the format of search results. # See <http://www.htdig.org/hts_templates.html for more details. # # template_map: Long long ${common_dir}/long.html \ # Short short ${common_dir}/short.html # template_name: long # # Enable extended features of WordList # wordlist_extend: true # # The following are used to change the text for the page index. # The defaults are just boring text numbers. These images spice # up the result pages quite a bit. (Feel free to do whatever, though) # next_page_text: <img src=/htdig/buttonr.gif border=0 align=middle width=30 height=30 alt=next> no_next_page_text: prev_page_text: <img src=/htdig/buttonl.gif border=0 align=middle width=30 height=30 alt=prev> no_prev_page_text: page_number_text: "<img src=/htdig/button1.gif border=0 align=middle width=30 height=30 alt=1>" \ "<img src=/htdig/button2.gif border=0 align=middle width=30 height=30 alt=2>" \ "<img src=/htdig/button3.gif border=0 align=middle width=30 height=30 alt=3>" \ "<img src=/htdig/button4.gif border=0 align=middle width=30 height=30 alt=4>" \ "<img src=/htdig/button5.gif border=0 align=middle width=30 height=30 alt=5>" \ "<img src=/htdig/button6.gif border=0 align=middle width=30 height=30 alt=6>" \ "<img src=/htdig/button7.gif border=0 align=middle width=30 height=30 alt=7>" \ "<img src=/htdig/button8.gif border=0 align=middle width=30 height=30 alt=8>" \ "<img src=/htdig/button9.gif border=0 align=middle width=30 height=30 alt=9>" \ "<img src=/htdig/button10.gif border=0 align=middle width=30 height=30 alt=10>" # # To make the current page stand out, we will put a border arround the # image for that page. # no_page_number_text: "<img src=/htdig/button1.gif border=2 align=middle width=30 height=30 alt=1>" \ "<img src=/htdig/button2.gif border=2 align=middle width=30 height=30 alt=2>" \ "<img src=/htdig/button3.gif border=2 align=middle width=30 height=30 alt=3>" \ "<img src=/htdig/button4.gif border=2 align=middle width=30 height=30 alt=4>" \ "<img src=/htdig/button5.gif border=2 align=middle width=30 height=30 alt=5>" \ "<img src=/htdig/button6.gif border=2 align=middle width=30 height=30 alt=6>" \ "<img src=/htdig/button7.gif border=2 align=middle width=30 height=30 alt=7>" \ "<img src=/htdig/button8.gif border=2 align=middle width=30 height=30 alt=8>" \ "<img src=/htdig/button9.gif border=2 align=middle width=30 height=30 alt=9>" \ "<img src=/htdig/button10.gif border=2 align=middle width=30 height=30 alt=10>" # local variables: # mode: text # eval: (if (eq window-system 'x) (progn (setq font-lock-keywords (list '("^#.*" . font-lock-keyword-face) '("^[a-zA-Z][^ :]+" . font-lock-function-name-face) '("[+$]*:" . font-lock-comment-face) )) (font-lock-mode))) # end: url_part_aliases: bar foo common_url_parts: http:// http://local HTTP://LocalHost 7400/set1 robotstxt_name: htdig case_sensitive: false url_rewrite_rules: (.*)si[a-z]*[4-9]*\.([a-z]*)tml file:////tmp/htdig-3.2.0b6/test/htdocs/set1/site4.\\2tml ---8<--- > > By the way, by accident I found out that every time I rung make > > check, it leaves four files in /tmp: > > > > -rw-r--r-- 1 jjah wheel 3089 Jun 18 19:46 t_htsearch22185 > > -rw-r--r-- 1 jjah wheel 3079 Jun 18 19:46 t_htsearch22410 > > -rw-r--r-- 1 jjah wheel 6818 Jun 18 19:46 t_htsearch22765 > > -rw-r--r-- 1 jjah wheel 1803 Jun 18 19:46 t_htsearch23147 > > Thanks. They should be deleted except when an error occurs. I'll fix > that. > > Cheers, > Lachlan > > -- > lh...@us... > ht://Dig developer DownUnder (http://www.htdig.org) Regrds, Joe -- _/ _/_/_/ _/ ____________ __o _/ _/ _/ _/ ______________ _-\<,_ _/ _/ _/_/_/ _/ _/ ......(_)/ (_) _/_/ oe _/ _/. _/_/ ah jj...@cl... |
From: Lachlan A. <lh...@us...> - 2004-06-23 13:13:59
Attachments:
three-slash
|
Greetings Joe, I think that the attached patch should fix it. If so, I'll have to work out why t_htdig_local *was* working... Thanks, Lachlan On Tue, 22 Jun 2004 09:34 am, Joe R. Jah wrote: > url_rewrite_rules: (.*)si[a-z]*[4-9]*\.([a-z]*)tml file:////tmp/htdig-3.2.0b6/test/htdocs/set1/site4.\\2tml -- lh...@us... ht://Dig developer DownUnder (http://www.htdig.org) |
From: Joe R. J. <jj...@cl...> - 2004-06-23 17:45:37
Attachments:
htdig.conf.tmp
|
On Wed, 23 Jun 2004, Lachlan Andrew wrote: > Date: Wed, 23 Jun 2004 23:12:35 +1000 > From: Lachlan Andrew <lh...@us...> > To: Joe R. Jah <jj...@cl...> > Cc: htd...@li... > Subject: Re: Make check and htdig warnings > > Greetings Joe, > > I think that the attached patch should fix it. If so, I'll have to > work out why t_htdig_local *was* working... No, it doesn't: running htdig: expected file:///tmp/htdig-3.2.0b6/test/htdocs/set1/site4.html 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/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/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/sub%2520dir/ http://localhost:7400/set1/sub%2520dir/empty%20file.html http://localhost:7400/set1/title.html FAIL: t_htdig Attached is test/conf/htdig.conf.tmp file. Regards, Joe -- _/ _/_/_/ _/ ____________ __o _/ _/ _/ _/ ______________ _-\<,_ _/ _/ _/_/_/ _/ _/ ......(_)/ (_) _/_/ oe _/ _/. _/_/ ah jj...@cl... |
From: Lachlan A. <lh...@us...> - 2004-07-07 13:41:50
Attachments:
URL.cc-tmp
|
Greetings Joe, OK, this might take some playing... Could you please copy the attached file to htcommon/URL.cc and send me the output? Unfortunately, I've recently upgraded to Apache 2, which isn't supported by the test suite :( Does anyone else find make TESTS=t_htdig check fails on any other platforms? Thanks for your help, Joe! Lachlan On Thu, 24 Jun 2004 03:45 am, Joe R. Jah wrote: > On Wed, 23 Jun 2004, Lachlan Andrew wrote: > > I think that the attached patch should fix it. If so, I'll have > > to work out why t_htdig_local *was* working... > > No, it doesn't: -- lh...@us... ht://Dig developer DownUnder (http://www.htdig.org) |
From: Joe R. J. <jj...@cl...> - 2004-07-08 07:12:15
Attachments:
output.0
|
On Wed, 7 Jul 2004, Lachlan Andrew wrote: > Date: Wed, 7 Jul 2004 23:39:35 +1000 > From: Lachlan Andrew <lh...@us...> > To: Joe R. Jah <jj...@cl...> > Cc: htd...@li... > Subject: Re: Make check and htdig warnings > > Greetings Joe, > > OK, this might take some playing... Could you please copy the attached > file to htcommon/URL.cc and send me the output? Greetings Lachlan, Attached is the output of gmake check. Regards, Joe -- _/ _/_/_/ _/ ____________ __o _/ _/ _/ _/ ______________ _-\<,_ _/ _/ _/_/_/ _/ _/ ......(_)/ (_) _/_/ oe _/ _/. _/_/ ah jj...@cl... > Unfortunately, I've recently upgraded to Apache 2, which isn't > supported by the test suite :( Does anyone else find > make TESTS=t_htdig check > fails on any other platforms? > > Thanks for your help, Joe! > Lachlan > > On Thu, 24 Jun 2004 03:45 am, Joe R. Jah wrote: > > On Wed, 23 Jun 2004, Lachlan Andrew wrote: > > > I think that the attached patch should fix it. If so, I'll have > > > to work out why t_htdig_local *was* working... > > > > No, it doesn't: > > -- > lh...@us... > ht://Dig developer DownUnder (http://www.htdig.org) |
From: Lachlan A. <lh...@us...> - 2004-07-10 07:56:19
Attachments:
t_htdig_v
|
Greetings Joe, Thanks for running that test. It looks like you have compiled in the directory /tmp/htdig-3.2.0b6 -- is that right? If so, the file /tmp/htdig-3.2.0b6/test/htdocs/set1/site4.html should exist, so it is odd that it isn't being indexed. Could you please try the attached test file? To do that, either 1. Copy it to .../test/t_htdig and "make check" or 2. Copy it to .../test/t_htdig_v and "make TESTS=t_htdig_v check" (You can either keep the URL.cc file that I sent last time or replace it with the normal one -- it won't matter.) (By the way, I got one copy of each of your three emails -- all straight from you not through the list.) Thanks again for this, Lachlan On Thu, 8 Jul 2004 05:12 pm, Joe R. Jah wrote: > Attached is the output of gmake check. -- lh...@us... ht://Dig developer DownUnder (http://www.htdig.org) |
From: Joe R. J. <jj...@cl...> - 2004-07-10 09:15:11
Attachments:
output.1.gz
|
On Sat, 10 Jul 2004, Lachlan Andrew wrote: > Date: Sat, 10 Jul 2004 17:54:38 +1000 > From: Lachlan Andrew <lh...@us...> > To: Joe R. Jah <jj...@cl...> > Cc: htd...@li... > Subject: Re: Make check and htdig warnings > > Greetings Joe, > > Thanks for running that test. > > It looks like you have compiled in the directory /tmp/htdig-3.2.0b6 > -- is that right? If so, the > file /tmp/htdig-3.2.0b6/test/htdocs/set1/site4.html should exist, > so it is odd that it isn't being indexed. No I masked the absolute path with tmp, but I think that also masked the cause of site4.html not being indexed;( The path to site4.html is turned to all lower case, although my OS is case sensitive;-/ In the attached file the path is /tmp/WWW/htdig/htdig-3.2.0b6, but the output shows that gmake check tries to find site4.html in: /tmp/www/htdig/htdig-3.2.0b6/test/htdocs/set1/site4.html ^^^ WWW > Could you please try the attached test file? To do that, either > 1. Copy it to .../test/t_htdig and "make check" > or > 2. Copy it to .../test/t_htdig_v and "make TESTS=t_htdig_v check" > (You can either keep the URL.cc file that I sent last time or replace > it with the normal one -- it won't matter.) > > (By the way, I got one copy of each of your three emails -- all > straight from you not through the list.) This time I have gzipped it, so it should get through the first time;) Joe -- _/ _/_/_/ _/ ____________ __o _/ _/ _/ _/ ______________ _-\<,_ _/ _/ _/_/_/ _/ _/ ......(_)/ (_) _/_/ oe _/ _/. _/_/ ah jj...@cl... > Thanks again for this, > Lachlan > > On Thu, 8 Jul 2004 05:12 pm, Joe R. Jah wrote: > > Attached is the output of gmake check. > > -- > lh...@us... > ht://Dig developer DownUnder (http://www.htdig.org) |
From: Lachlan A. <lh...@us...> - 2004-07-11 10:04:03
|
Greetings Joe, Well spotted. That shows the cause of the bug -- it's just in the test script, not ht://Dig itself. Before I can fix it, I'll have to get the tests working with Apache2 (or install an old version). The problem is that that particular dig is tesing both url_rewrite_rules and case_sensitive. I'll have to separate those two tests. Cheers, Lachlan On Sat, 10 Jul 2004 07:15 pm, Joe R. Jah wrote: > > No I masked the absolute path with tmp, but I think that also > masked the cause of site4.html not being indexed;( The path to > site4.html is turned to all lower case, although my OS is case > sensitive;-/ -- lh...@us... ht://Dig developer DownUnder (http://www.htdig.org) |