Hello,
I'm attempting to get Mailman 2.1.20 working with htdig.
I've installed the htdig patch for this version of Mailman from Mark's site.
When I run a search from the archive pages, I get a blank page.
I've seen others asking this, but have never seen a solution.
I think I may have had this working a few years ago, but don't remember what
I did to fix it. It broke when cpanel updated mailman.
When I try running the mmsearch script by itself, I get the following error,
which is expected as I under stand it:
htdig Archives Access Failure
CGI problem. -5-Field count -4- fields:
If you want to make another attempt to access a list archive then go via the
list users information page.


If this problem persists then please e-mail the following information to the
mailman at nfbnet.org:
     Referer not known
     /mailman/mmsearch/blparent_nfbnet.org


Running the htsearch command by itself doesn't yield any results with a
keyword and the short format.
The version of htdig is 3.2.0b6. I noticed that there are patched versions
of rundig and the nightly scripts on the patch site, but don't know if that
applies to newer patches or not.


Any help would be appreciated.

Search Discussions

  • Mark Sapiro at Sep 2, 2015 at 7:03 am

    On 09/01/2015 12:32 PM, Jason Fayre wrote:
    Hello,
    I'm attempting to get Mailman 2.1.20 working with htdig.
    I've installed the htdig patch for this version of Mailman from Mark's site.



    I'd be surprised if this doesn't have conflicts with cPanel's mods. What
    happened when you ran patch? were there any rejects?



    When I run a search from the archive pages, I get a blank page.
    I've seen others asking this, but have never seen a solution.
    I think I may have had this working a few years ago, but don't remember what
    I did to fix it. It broke when cpanel updated mailman.



    Not surprising. cPanel's mailman has many patches of its own, mostly
    because of the list name = name_domain feature to allow lists of the
    same 'name' in different domains.



    When I try running the mmsearch script by itself, I get the following error,
    which is expected as I under stand it:
    htdig Archives Access Failure
    CGI problem. -5-Field count -4- fields:



    Yes, this is expected. You could try going to a URL like


    <http://example.com/mailman/mmsearch/LISTNAME?method=and&format=short&sort=score&config=LISTNAME>



    If you want to make another attempt to access a list archive then go via the
    list users information page.

    If this problem persists then please e-mail the following information to the
    mailman at nfbnet.org:
    Referer not known
    /mailman/mmsearch/blparent_nfbnet.org



    The above is not familiar to me. It may be a cPanel thing.



    Running the htsearch command by itself doesn't yield any results with a
    keyword and the short format.



    Do you specify the -c option with an appropriate config file?



    The version of htdig is 3.2.0b6. I noticed that there are patched versions
    of rundig and the nightly scripts on the patch site, but don't know if that
    applies to newer patches or not.



    Those patches allow the nightly update to do an update rather than a
    complete rebuild of the htdig search index.




    --
    Mark Sapiro <mark@msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Jason Fayre at Sep 2, 2015 at 1:22 pm
    Hello,
    I do not get any rejects when applying the patch.
    I did pass the config file for the list to htsearch with the -c option.
    Any other ideas?
    How are people typically handling archive search? I know I could use
    mail-archive, but would rather handle things on our end if we can.
    Occasionally we need to remove messages from the archives and not sure how
    easy that is with mail-archive.




    -----Original Message-----
    From: Mailman-Users [mailto:mailman-users-bounces+jason=fayre.me at python.org]
    On Behalf Of Mark Sapiro
    Sent: Wednesday, September 02, 2015 3:04 AM
    To: mailman-users at python.org
    Subject: Re: [Mailman-Users] integrating htdig with cpanel mailman

    On 09/01/2015 12:32 PM, Jason Fayre wrote:
    Hello,
    I'm attempting to get Mailman 2.1.20 working with htdig.
    I've installed the htdig patch for this version of Mailman from Mark's
    site.




    I'd be surprised if this doesn't have conflicts with cPanel's mods. What
    happened when you ran patch? were there any rejects?



    When I run a search from the archive pages, I get a blank page.
    I've seen others asking this, but have never seen a solution.
    I think I may have had this working a few years ago, but don't
    remember what I did to fix it. It broke when cpanel updated mailman.



    Not surprising. cPanel's mailman has many patches of its own, mostly because
    of the list name = name_domain feature to allow lists of the same 'name' in
    different domains.



    When I try running the mmsearch script by itself, I get the following
    error, which is expected as I under stand it:
    htdig Archives Access Failure
    CGI problem. -5-Field count -4- fields:



    Yes, this is expected. You could try going to a URL like


    <http://example.com/mailman/mmsearch/LISTNAME?method=and&format=short&sort=s
    core&config=LISTNAME>



    If you want to make another attempt to access a list archive then go
    via the list users information page.

    If this problem persists then please e-mail the following information
    to the
    mailman at nfbnet.org:
    Referer not known
    /mailman/mmsearch/blparent_nfbnet.org



    The above is not familiar to me. It may be a cPanel thing.



    Running the htsearch command by itself doesn't yield any results with
    a keyword and the short format.



    Do you specify the -c option with an appropriate config file?



    The version of htdig is 3.2.0b6. I noticed that there are patched
    versions of rundig and the nightly scripts on the patch site, but
    don't know if that applies to newer patches or not.



    Those patches allow the nightly update to do an update rather than a
    complete rebuild of the htdig search index.




    --
    Mark Sapiro <mark@msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
    ------------------------------------------------------
    Mailman-Users mailing list Mailman-Users at python.org
    https://mail.python.org/mailman/listinfo/mailman-users
    Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy:
    http://wiki.list.org/x/QIA9 Searchable Archives:
    http://www.mail-archive.com/mailman-users%40python.org/
    Unsubscribe:
    https://mail.python.org/mailman/options/mailman-users/jason%40fayre.me
  • Mark Sapiro at Sep 2, 2015 at 3:46 pm

    On 09/02/2015 06:22 AM, Jason Fayre wrote:
    Hello,
    I do not get any rejects when applying the patch.
    I did pass the config file for the list to htsearch with the -c option.
    Any other ideas?



    The attached htsearch.txt is a transcript of an htsearch interaction on
    my system. If you do the same do you get similar output? If not, your
    htdig installation is broken.



    How are people typically handling archive search? I know I could use
    mail-archive, but would rather handle things on our end if we can.



    I use htdig with Richard Barrett's patches as forward ported by me.
    Other suggestions are in the FAQ at <http://wiki.list.org/x/4030514>.


    --
    Mark Sapiro <mark@msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
    -------------- next part --------------
    mark at sbh16:~$ /opt/www/cgi-bin/htsearch -c /var/lib/mailman/archives/htdig/mailman.conf
    Enter value for words: two words
    Content-type: text/html


    Enter value for format: short
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html><head><title>No match for '(two or twos) and (words or word or worded or wording or wordings)'</title></head>
    <body bgcolor="#eef7ff">
    <h1><img src="/htdig/htdig.gif" alt="ht://Dig">
    Search results</h1>
    <hr noshade size="4">
    <h2>No matches were found for '(two or twos) and (words or word or worded or wording or wordings)'</h2>
    <p>
    Check the spelling of the search word(s) you used.
    If the spelling is correct and you only used one word,
    try using one or more similar search words with "<strong>Any</strong>."
    </p><p>
    If the spelling is correct and you used more than one
    word with "<strong>Any</strong>," try using one or more similar search
    words with "<strong>Any</strong>."</p><p>
    If the spelling is correct and you used more than one
    word with "<strong>All</strong>," try using one or more of the same words
    with "<strong>Any</strong>."</p>
    <hr noshade size="4">
    <form method="get" action="https://sbh16.songbird.com/mailman/mmsearch/mailman">
    <font size="-1">
    <input type="hidden" name="config" value="">
    <input type="hidden" name="restrict" value="">
    <input type="hidden" name="exclude" value="">
    Match: <select name="method">
    <option value="and" selected>All
    <option value="or">Any
    <option value="boolean">Boolean
    </select>


    Format: <select name="format">
    <option value="long">Long
    <option value="short" selected>Short
    </select>


    Sort by: <select name="sort">
    <option value="score" selected>Score
    <option value="time">Time
    <option value="title">Title
    <option value="revscore">Reverse Score
    <option value="revtime">Reverse Time
    <option value="revtitle">Reverse Title
    </select>


    <br>
    Refine search:
    <input type="text" size="30" name="words" value="two words">
    <input type="submit" value="Search">
    </font>
    </form>
    <hr noshade size="4">
    <a href="http://www.htdig.org/">
    <img src="/htdig/htdig.gif" border="0" alt="">ht://Dig 3.2.0b6</a>
    </body></html>
    mark at sbh16:~$
  • Jason Fayre at Sep 2, 2015 at 3:54 pm
    Ok, I will try that.
    What version of htdig are you running?




    -----Original Message-----
    From: Mark Sapiro [mailto:mark at msapiro.net]
    Sent: Wednesday, September 02, 2015 11:46 AM
    To: Jason Fayre <jason@fayre.me>; mailman-users at python.org
    Subject: Re: [Mailman-Users] integrating htdig with cpanel mailman

    On 09/02/2015 06:22 AM, Jason Fayre wrote:
    Hello,
    I do not get any rejects when applying the patch.
    I did pass the config file for the list to htsearch with the -c option.
    Any other ideas?



    The attached htsearch.txt is a transcript of an htsearch interaction on my
    system. If you do the same do you get similar output? If not, your htdig
    installation is broken.



    How are people typically handling archive search? I know I could use
    mail-archive, but would rather handle things on our end if we can.



    I use htdig with Richard Barrett's patches as forward ported by me.
    Other suggestions are in the FAQ at <http://wiki.list.org/x/4030514>.


    --
    Mark Sapiro <mark@msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Mark Sapiro at Sep 2, 2015 at 4:30 pm

    On 09/02/2015 08:54 AM, Jason Fayre wrote:
    Ok, I will try that.
    What version of htdig are you running?



    3.2.0b6 with the rundig.0 patch from
    <ftp://ftp.ccsf.org/htdig-patches/3.2.0b6/> and with this patch the
    source of which I no longer remember and can't find.


    RCS file: /cvsroot/htdig/htdig/htsearch/Collection.h,v
    retrieving revision 1.4
    diff -r1.4 Collection.h
    39c39
    < void Collection::Open();
    ---
    void Open();
    41c41
    < void Collection::Close();
    ---
    void Close();



    Also, in an earlier reply I wrote:
    If you want to make another attempt to access a list archive then go via the
    list users information page.

    If this problem persists then please e-mail the following information to the
    mailman at nfbnet.org:
    Referer not known
    /mailman/mmsearch/blparent_nfbnet.org

    The above is not familiar to me. It may be a cPanel thing.



    Actually, that is also part of the normal expected output from running
    mmsearch with no parameters.




    --
    Mark Sapiro <mark@msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Jason Fayre at Sep 2, 2015 at 6:13 pm
    Absolutely unbelievable!
    I got results to come up by simlinking /var/www/html/htdig to
    /usr/share/htdig. Apparently this path is hard-coded in the binaries.
    I installed htdig from the Centos 6.7 packages. It wouldn't compile from
    source for some reason.




    -----Original Message-----
    From: Mark Sapiro [mailto:mark at msapiro.net]
    Sent: Wednesday, September 02, 2015 12:31 PM
    To: Jason Fayre <jason@fayre.me>; mailman-users at python.org
    Subject: Re: [Mailman-Users] integrating htdig with cpanel mailman

    On 09/02/2015 08:54 AM, Jason Fayre wrote:
    Ok, I will try that.
    What version of htdig are you running?



    3.2.0b6 with the rundig.0 patch from
    <ftp://ftp.ccsf.org/htdig-patches/3.2.0b6/> and with this patch the source
    of which I no longer remember and can't find.


    RCS file: /cvsroot/htdig/htdig/htsearch/Collection.h,v
    retrieving revision 1.4
    diff -r1.4 Collection.h
    39c39
    < void Collection::Open();
    ---
    void Open();
    41c41
    < void Collection::Close();
    ---
    void Close();



    Also, in an earlier reply I wrote:
    If you want to make another attempt to access a list archive then go
    via the list users information page.

    If this problem persists then please e-mail the following information
    to the mailman at nfbnet.org:
    Referer not known
    /mailman/mmsearch/blparent_nfbnet.org

    The above is not familiar to me. It may be a cPanel thing.



    Actually, that is also part of the normal expected output from running
    mmsearch with no parameters.




    --
    Mark Sapiro <mark@msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Jason Fayre at Sep 2, 2015 at 7:02 pm
    Hi,
    Almost got it. Since some of our lists are very large and the archives go
    back almost 7 years, generating the indexes can take a very long time.
    To be able to update the indexes, do I need both the rundig and
    nightly_htdig patches from msapiro.net/mm? The rundig patch failed when I
    tried to patch the rundig from 3.2.0b6.






    -----Original Message-----
    From: Mark Sapiro [mailto:mark at msapiro.net]
    Sent: Wednesday, September 02, 2015 12:31 PM
    To: Jason Fayre <jason@fayre.me>; mailman-users at python.org
    Subject: Re: [Mailman-Users] integrating htdig with cpanel mailman

    On 09/02/2015 08:54 AM, Jason Fayre wrote:
    Ok, I will try that.
    What version of htdig are you running?



    3.2.0b6 with the rundig.0 patch from
    <ftp://ftp.ccsf.org/htdig-patches/3.2.0b6/> and with this patch the source
    of which I no longer remember and can't find.


    RCS file: /cvsroot/htdig/htdig/htsearch/Collection.h,v
    retrieving revision 1.4
    diff -r1.4 Collection.h
    39c39
    < void Collection::Open();
    ---
    void Open();
    41c41
    < void Collection::Close();
    ---
    void Close();



    Also, in an earlier reply I wrote:
    If you want to make another attempt to access a list archive then go
    via the list users information page.

    If this problem persists then please e-mail the following information
    to the mailman at nfbnet.org:
    Referer not known
    /mailman/mmsearch/blparent_nfbnet.org

    The above is not familiar to me. It may be a cPanel thing.



    Actually, that is also part of the normal expected output from running
    mmsearch with no parameters.




    --
    Mark Sapiro <mark@msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Mark Sapiro at Sep 2, 2015 at 8:23 pm

    On 09/02/2015 12:02 PM, Jason Fayre wrote:
    Hi,
    Almost got it. Since some of our lists are very large and the archives go
    back almost 7 years, generating the indexes can take a very long time.
    To be able to update the indexes, do I need both the rundig and
    nightly_htdig patches from msapiro.net/mm? The rundig patch failed when I
    tried to patch the rundig from 3.2.0b6.



    Yes, you need both. How did the rundig patch fail?


    --
    Mark Sapiro <mark@msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Jason Fayre at Sep 2, 2015 at 11:44 pm
    Hi,
    Here is a script from when I ran the patch:
    Script started on Wed 02 Sep 2015 11:35:43 PM UTC
    root at host [/usr/bin]# patch < ~/rundig
    patching file rundig
    Hunk #1 succeeded at 16 with fuzz 2 (offset 1 line).
    Hunk #2 FAILED at 59.
    Hunk #3 succeeded at 78 (offset 4 lines).
    1 out of 3 hunks FAILED -- saving rejects to file rundig.rej
    root at host [/usr/bin]# cat rundig.rej
    --- rundig 2008-12-26 15:55:25.000000000 -0800
    +++ rundig 2008-12-26 17:41:43.000000000 -0800
    @@ -59,7 +61,7 @@
       TMPDIR=$DBDIR
       export TMPDIR


    -$BINDIR/htdig -i $opts $stats $alt
    +$BINDIR/htdig $init $opts $stats $alt
       $BINDIR/htpurge $opts $alt
       case "$alt" in
       -a)
    root at host [/usr/bin]#



    On 2015-09-02 4:23 PM, Mark Sapiro wrote:
    On 09/02/2015 12:02 PM, Jason Fayre wrote:
    Hi,
    Almost got it. Since some of our lists are very large and the archives go
    back almost 7 years, generating the indexes can take a very long time.
    To be able to update the indexes, do I need both the rundig and
    nightly_htdig patches from msapiro.net/mm? The rundig patch failed when I
    tried to patch the rundig from 3.2.0b6.
    Yes, you need both. How did the rundig patch fail?
  • Mark Sapiro at Sep 3, 2015 at 12:02 am

    On 09/02/2015 04:44 PM, Jason Fayre wrote:
    Hi,
    Here is a script from when I ran the patch:
    Script started on Wed 02 Sep 2015 11:35:43 PM UTC
    root at host [/usr/bin]# patch < ~/rundig
    patching file rundig
    Hunk #1 succeeded at 16 with fuzz 2 (offset 1 line).
    Hunk #2 FAILED at 59.
    Hunk #3 succeeded at 78 (offset 4 lines).
    1 out of 3 hunks FAILED -- saving rejects to file rundig.rej
    root at host [/usr/bin]# cat rundig.rej
    --- rundig 2008-12-26 15:55:25.000000000 -0800
    +++ rundig 2008-12-26 17:41:43.000000000 -0800
    @@ -59,7 +61,7 @@
    TMPDIR=$DBDIR
    export TMPDIR

    -$BINDIR/htdig -i $opts $stats $alt
    +$BINDIR/htdig $init $opts $stats $alt
    $BINDIR/htpurge $opts $alt
    case "$alt" in
    -a)
    root at host [/usr/bin]#



    I don't understand this. My rundig is probably different from yours in
    that I applied the patch from
    <ftp://ftp.ccsf.org/htdig-patches/3.2.0b6/rundig.0> before creating the
    rundig patch you are applying, but this should only result in a couple
    of line # offsets, not a failure of hunk 2 or fuzz in hunk 1.


    Send me a copy of your rundig off list and I'll look at it.


    --
    Mark Sapiro <mark@msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Mark Sapiro at Sep 3, 2015 at 12:33 am
    Forwarding to mailman-users for completeness.

    On 09/02/2015 05:29 PM, Mark Sapiro wrote:
    On 09/02/2015 05:07 PM, Jason Fayre wrote:
    Here you go.
    Thanks so much for your help on this!
    This rundig is from the centos 6.7 htdig package.

    Your rundig has been modified from the 3.2.0b6 htdig base. The base
    rundig always does a full rebuild of the index My patch to rundig adds a
    '-u' option to do an 'update' rather than a full rebuild. Your
    RedHat/Centos package rundig already has this option only it's '-i' for
    incremental.

    Thus, you don't need to patch your rundig at all unless you want to
    uncomment line 79 (which my patch does) per lines 77-79

    # If you want to use the soundex and (or) metaphone fuzzy matchings,
    # Uncomment the following line
    # $BINDIR/htfuzzy $opts soundex metaphone

    What you do need to do however is change nightly_htdig. My patch added
    amongst other things the line

    init_or_update = ' -u'

    per

    @@ -109,6 +109,7 @@
    # test if the archive volume directories mod times have
    # changed
    recent_posts = None
    + init_or_update = ' -u'
    rundig_run_file = os.path.join(list_htdig_dir, 'rundig_last_run')
    archive = HyperArch.HyperArchive(mlist)
    try:

    You need to change that to

    init_or_update = ' -i'

    because in your rundig the 'incremental' option is '-i', not '-u'.



    --
    Mark Sapiro <mark@msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Jason Fayre at Sep 3, 2015 at 3:02 pm
    Hello,
    I made the modifications you suggested.
    Now when I run nightly_htdig on a list, I get an error back that "I" is an
    invalid option for htfuzzy. I uncommented that line in the rundig script.
    Any ideas?
    If it isn't critical, I can just re-comment that line.




    -----Original Message-----
    From: Mailman-Users [mailto:mailman-users-bounces+jason=fayre.me at python.org]
    On Behalf Of Mark Sapiro
    Sent: Wednesday, September 02, 2015 8:34 PM
    To: Mailman Users <mailman-users@python.org>
    Subject: Re: [Mailman-Users] integrating htdig with cpanel mailman


    Forwarding to mailman-users for completeness.

    On 09/02/2015 05:29 PM, Mark Sapiro wrote:
    On 09/02/2015 05:07 PM, Jason Fayre wrote:
    Here you go.
    Thanks so much for your help on this!
    This rundig is from the centos 6.7 htdig package.

    Your rundig has been modified from the 3.2.0b6 htdig base. The base
    rundig always does a full rebuild of the index My patch to rundig adds
    a '-u' option to do an 'update' rather than a full rebuild. Your
    RedHat/Centos package rundig already has this option only it's '-i'
    for incremental.

    Thus, you don't need to patch your rundig at all unless you want to
    uncomment line 79 (which my patch does) per lines 77-79

    # If you want to use the soundex and (or) metaphone fuzzy matchings, #
    Uncomment the following line # $BINDIR/htfuzzy $opts soundex metaphone

    What you do need to do however is change nightly_htdig. My patch added
    amongst other things the line

    init_or_update = ' -u'

    per

    @@ -109,6 +109,7 @@
    # test if the archive volume directories mod times have
    # changed
    recent_posts = None
    + init_or_update = ' -u'
    rundig_run_file = os.path.join(list_htdig_dir, 'rundig_last_run')
    archive = HyperArch.HyperArchive(mlist)
    try:

    You need to change that to

    init_or_update = ' -i'

    because in your rundig the 'incremental' option is '-i', not '-u'.



    --
    Mark Sapiro <mark@msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
    ------------------------------------------------------
    Mailman-Users mailing list Mailman-Users at python.org
    https://mail.python.org/mailman/listinfo/mailman-users
    Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy:
    http://wiki.list.org/x/QIA9 Searchable Archives:
    http://www.mail-archive.com/mailman-users%40python.org/
    Unsubscribe:
    https://mail.python.org/mailman/options/mailman-users/jason%40fayre.me
  • Mark Sapiro at Sep 3, 2015 at 5:11 pm

    On 09/03/2015 08:02 AM, Jason Fayre wrote:
    Hello,
    I made the modifications you suggested.
    Now when I run nightly_htdig on a list, I get an error back that "I" is an
    invalid option for htfuzzy. I uncommented that line in the rundig script.
    Any ideas?
    If it isn't critical, I can just re-comment that line.



    I'm sorry. I didn't keep the rundig you sent me so I can't be sure, but
    it appears that RedHat's modified rundig may be broken in some way.


    On the other hand, if in making the mod to nightly_htdig you have


             init_or_update = ' -I'


    that is the problem. it needs to be lower case ' -i'.


    If that doesn't explain it, you can send me the rundig again and I'll
    look further.


    Whether or not you want the uncommented


    $BINDIR/htfuzzy $opts soundex metaphone


    line is up to you. What this does is enable the search to match
    alternate spellings of the search words that 'sound alike'.


    However, even if you re-comment that line, there may be other problems
    even if it doesn't complain.


    --
    Mark Sapiro <mark@msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Jason Fayre at Sep 3, 2015 at 6:29 pm
    Hi,
    I finally got htdig to compile from source. So, I got rid of the centos
    package and am now using a vanilla build. The rundig patch applied correctly
    now.






    -----Original Message-----
    From: Mark Sapiro [mailto:mark at msapiro.net]
    Sent: Thursday, September 03, 2015 1:11 PM
    To: Jason Fayre <jason@fayre.me>; 'Mailman Users' <mailman-users@python.org>
    Subject: Re: [Mailman-Users] integrating htdig with cpanel mailman

    On 09/03/2015 08:02 AM, Jason Fayre wrote:
    Hello,
    I made the modifications you suggested.
    Now when I run nightly_htdig on a list, I get an error back that "I"
    is an invalid option for htfuzzy. I uncommented that line in the rundig script.
    Any ideas?
    If it isn't critical, I can just re-comment that line.



    I'm sorry. I didn't keep the rundig you sent me so I can't be sure, but it
    appears that RedHat's modified rundig may be broken in some way.


    On the other hand, if in making the mod to nightly_htdig you have


             init_or_update = ' -I'


    that is the problem. it needs to be lower case ' -i'.


    If that doesn't explain it, you can send me the rundig again and I'll look
    further.


    Whether or not you want the uncommented


    $BINDIR/htfuzzy $opts soundex metaphone


    line is up to you. What this does is enable the search to match alternate
    spellings of the search words that 'sound alike'.


    However, even if you re-comment that line, there may be other problems even
    if it doesn't complain.


    --
    Mark Sapiro <mark@msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Laura Creighton at Sep 3, 2015 at 9:50 pm

    In a message of Thu, 03 Sep 2015 14:29:37 -0400, "Jason Fayre" writes:
    Hi,
    I finally got htdig to compile from source. So, I got rid of the centos
    package and am now using a vanilla build. The rundig patch applied correctly
    now.

    cheer! :)


    Laura

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedSep 1, '15 at 7:32p
activeSep 3, '15 at 9:50p
posts16
users3
websitelist.org

People

Translate

site design / logo © 2021 Grokbase