Re: htsearch returns no results
Jim <[email protected]> Mon, 28 Jan 2008 21:03:11 -0700 (MST)
| Newsgroups | gmane.comp.web.htdig.general |
|---|---|
| Message-ID | <[email protected]> |
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --709889-427013022-1201579391=:22923 Content-Type: TEXT/PLAIN; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Hi - I don't have a dapper system to test the package with, so I can't help in that regard. I can't think of anything else to suggest at this point, other than continuing with your attempt to build from source. Unless you have some reason to do otherwise, I would strongly recommend that you try 3.2.0b6 rather than 3.1.6. The 3.1.6 code is ancient and hasn't seen an update in nearly six years. While the 3.2.0b6 version is itself languishing, it is a little more up to date and people still seem to be having reasonably good luck with it. I wouldn't worry too much about the 'b6'; this version of the code was very near official release when it stopped being maintained. Jim On Mon, 28 Jan 2008, Steven Carr wrote: > Hi Jim, > Thanks for the email. Im running rundig as root and htsearch also as = root > from command line. I chmod -R 777 /root/htdig_quatsch_test/ to be sure wi= th > the file permissions. > I have only one /etc/htdig/htdig.conf, and just to be sure I tried chmod = -R > 777 /etc/htdig >=20 > # /usr/lib/cgi-bin/htsearch -v -d -c /etc/htdig/htdig.conf > Enter value for words: public > tempWords: 'public:0 ' > Boolean: 'public:0 ' > initial: '' > Fuzzy on: public > exact public > endings publicness publics publicly > searchWords: '(:0 public:0 |:0 publicness:0 |:0 publics:0 |:0 publicly:0 = ):0 ' > LogicalWords: (public or publicness or publics or publicly) > Pattern: public|publicness|publics|publicly > Content-type: text/html >=20 >=20 > I deleted the dbs, rm /root/htdig_quatsch_test/db/quatsch/db* > then did a rundig, It created the databases.. >=20 > root@web-fe-08:/root/htdig_quatsch_test/db/quatsch# ls -lpa > total 368 > drwxrwxrwx 2 root root 4096 2008-01-28 21:15 ./ > drwxrwxrwx 3 root root 4096 2008-01-26 00:44 ../ > -rw-r--r-- 1 root root 77824 2008-01-28 21:15 db.docdb > -rw-r--r-- 1 root root 5120 2008-01-28 21:15 db.docs.index > -rw-r--r-- 1 root root 110850 2008-01-28 21:15 db.wordlist > -rw-r--r-- 1 root root 153600 2008-01-28 21:15 db.words.db > root@web-fe-08:/root/htdig_quatsch_test/db/quatsch# >=20 > I chmod 777ed the newly created databases but still got no results via > htsearch. :( >=20 > I started to think maybe something was broken in the ubuntu htdig package= so > tried compiling the htdig source.. > after a ./configure I got.. >=20 > configure: error: To compile ht://Dig, you will need a C++ library. Try > installing libstdc++. > root@web-fe-08:/root/htdig-3.1.6# uname -a > Linux web-fe-08 2.6.15-26-amd64-server #1 SMP Thu Aug 3 03:32:26 UTC 2006 > x86_64 GNU/Linux > root@web-fe-08:/root/htdig-3.1.6# dpkg -l | grep libstd > ii libstdc++5 3.3.6-10 The G= NU > Standard C++ Library v3 > ii libstdc++6 4.0.3-1ubuntu5 The G= NU > Standard C++ Library v3 > ii libstdc++6-4.0-dev 4.0.3-1ubuntu5 The G= NU > Standard C++ Library v3 (development >=20 > hmmm, I googled and found I should do this.. > CXXFLAGS=3D-Wno-deprecated CPPFLAGS=3D-Wno-deprecated ./configure > This time configure completed :) but during make I got this... >=20 > make[1]: Entering directory `/root/htdig-3.1.6/htdig' > c++ -c -DDEFAULT_CONFIG_FILE=3D\"/opt/www/htdig/conf/htdig.conf\" -I../h= tlib > -I../htcommon -I../db/dist -I../include -Wno-deprecated SGMLEntities.cc > SGMLEntities.cc: In static member function =C3=A2static unsigned char > SGMLEntities::translate(char*)=C3=A2: > SGMLEntities.cc:157: error: cast from =C3=A2Object*=C3=A2 to =C3=A2int=C3= =A2 loses precision > make[1]: *** [SGMLEntities.o] Error 1 > make[1]: Leaving directory `/root/htdig-3.1.6/htdig' > make: *** [all] Error 1 >=20 > Perhaps I leave the compiling :) Or try again of a different linux varian= t. --709889-427013022-1201579391=:22923 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --709889-427013022-1201579391=:22923 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ht://Dig general mailing list: <[email protected]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general --709889-427013022-1201579391=:22923--