On Tuesday, November 12, 2002, at 05:42 AM, Sean Downey wrote:

Am I right doing the following steps:
1. run ./configure on the source directory
2. run the patch
- I don't know much about patching but it seemed to give funny results

portion of the output
----------------------------------------------------------------------- -----
---------------------
Patching file htsearch/DocMatch.cc using Plan A...
Hunk #1 succeeded at 20.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- htsearch/DocMatch.h.nocoll Thu Jan 31 17:47:18 2002
|+++ htsearch/DocMatch.h Mon Nov 11 15:46:10 2002
--------------------------

----------------------------------------------------------------------- -----
---------------------

I checked the includes/htconfig.h file after this and COLLECTIONS was
defined so I continued

3. gmake
4. gmake install
I don't see any problems with the above. The portion of the patch output you provide looks OK. Using essentially the same steps, I was able to apply the patch, build, install, and make a request that included multiple config files.

you mentioned another run of ./configure - should I have done this after the
patch (2a) and then done the #define COLLECTIONS (2b) ??
I believe the second mention of ./configure referred only to the need to manually redefine COLLECTIONS if you for some reason reran configure.

or did I make a mistake in the patch??
I don't see anything obvious.

if what I did above is correct then I must have messed up with the
htdig.conf and the other .conf files
here is what I think is supposed to happen

REQUEST_METHOD=GET
QUERY_STRING="words=Ireland&format=htdig&config=i_i_00_01&config=i_i_00 _10&m
atchesperpage=10&method=or&page=1&sort=score&startday=01&endday=12&star tmont
h=01&endmonth=11&startyear=1997&endyear=2002"
/usr/local/htdig-3.1.6a/bin/../cgi-bin/htsearch
I didn't actually test with multiple databases, but after patching I was able to perform a query of form http://blah/cgi-bin/htsearch?words=test&config=config1&config=config2 without error. Are you sure that you are actually calling the patched version of htsearch? Did you verify that the specified config files exist, are accessible to the htsearch user, and are located in the proper directory?

Jim



-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to