According to [EMAIL PROTECTED]:
> I just installed htdig and it is working great for HTML and text files but
> then I run the htdig program I get the following error message.
> 
> sh:/usr/local/bin/acroread: no such file or directory
> 
> I have Acrobat 4.0 installed but /usr/local/bin/ is empty.  I'm sure its
> something simple but how do I get it to index these files correctly?

A few points to consider:
1) the ht://Dig configure script currently expects to find acroread in
/usr/local/bin, and sets that as the default location even if it doesn't
find it.  You need to set pdf_parser to indicate an alternate location,
and you must include the two options it needs.
2) a bug in Acrobat 4 makes it a poor choice for a pdf parser for htdig.
Its -pairs option causes a segmentation violation, so you'd need to kludge
up a wrapper script for it so it could work without that option.
3) a lot of users have had more success using pdftotext as part of an
external parser, rather than using acroread.

See the following for details:

http://www.htdig.org/attrs.html#pdf_parser
http://www.htdig.org/FAQ.html#q5.2
http://www.htdig.org/FAQ.html#q4.9

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word unsubscribe in
the SUBJECT of the message.

Reply via email to