I'm using htdig on a Mac OS X 10.2 Server box.

I've got doc2html.pl configured as follows. It's my understanding that if I don't need a conversion utility, that I should comment it out, as I've done below.

# Wp2html converts Word & Wordperfect to HTML
# (get it from: http://www.res.bbsrc.ac.uk/wp2html/)
#my $WP2HTML = '';

#Catwpd for WordPerfect to text conversion
# (you don't need this if you have wp2html)
# (get it from htdig site)
#my $CATWPD = '';

# rtf2html converts Rich Text Font documents to HTML
# (get it from http://www.fe.msk.ru/~vitus/catdoc/)
#my $RTF2HTML = '';

# Catdoc converts MS Word to plain text
# (get it from: http://www.fe.msk.ru/~vitus/catdoc/)

#version of catdoc for Word6, Word7 & Word97 files:
#my $CATDOC = '';

#version of catdoc for Word2 files
#my $CATDOC2 = $CATDOC;

#version of catdoc for Word 5.1 for MAC
#my $CATDOCM = $CATDOC;

# PostScript to text converter
# (get it from the ghostscript 3.33 (or later) package)
my $CATPS = '/sw/bin/ps2ascii';

# add to search path the directory which contains gs
# (edit for your environment)
$ENV{PATH} .= ":/sw/bin";

# PDF to HTML conversion script
# Full pathname of Perl script pdf2html.pl
my $PDF2HTML = '/usr/local/bin/pdf2html.pl';

#Microsoft Excel to HTML converter
# (get it from www.xlHtml.org)
#my $XLS2HTML = '';

#MicroSoft Excel to .CSV converter
# (you don't need this if you have xlHtml)
# (if you do want it, you can get it with catdoc)
#my $CATXLS = '';

#Microsoft Powerpoint to HTML converter
# (get it from www.xlHtml.org)
#my $PPT2HTML = '';

#Shockwave Flash
# (extracts links from file)
# Full pathname of Perl script swf2html.pl
my $SWF2HTML = '/usr/local/bin/swf2html.pl';

I noticed that my PDFs weren't getting indexed. To test things, I ran the following command:

sh-2.05a$ ./doc2html.pl /Library/WebServer/staticFrontier/websites/stlzoo/downloads/WolfBreakthrough.pdf "application/pdf"

I get the following results:

Global symbol "$WP2HTML" requires explicit package name at ./doc2html.pl line 207.
Global symbol "$WP2HTML" requires explicit package name at ./doc2html.pl line 209.
Global symbol "$WP2HTML" requires explicit package name at ./doc2html.pl line 216.
Global symbol "$WP2HTML" requires explicit package name at ./doc2html.pl line 218.
Global symbol "$RTF2HTML" requires explicit package name at ./doc2html.pl line 225.
Global symbol "$RTF2HTML" requires explicit package name at ./doc2html.pl line 227.
Global symbol "$XLS2HTML" requires explicit package name at ./doc2html.pl line 235.
Global symbol "$XLS2HTML" requires explicit package name at ./doc2html.pl line 237.
Global symbol "$PPT2HTML" requires explicit package name at ./doc2html.pl line 245.
Global symbol "$PPT2HTML" requires explicit package name at ./doc2html.pl line 247.
Global symbol "$CATDOC" requires explicit package name at ./doc2html.pl line 276.
Global symbol "$CATDOC" requires explicit package name at ./doc2html.pl line 278.
Global symbol "$CATDOC2" requires explicit package name at ./doc2html.pl line 286.
Global symbol "$CATDOC2" requires explicit package name at ./doc2html.pl line 288.
Global symbol "$CATDOCM" requires explicit package name at ./doc2html.pl line 295.
Global symbol "$CATDOCM" requires explicit package name at ./doc2html.pl line 297.
Global symbol "$CATXLS" requires explicit package name at ./doc2html.pl line 314.
Global symbol "$CATXLS" requires explicit package name at ./doc2html.pl line 316.
Global symbol "$CATWPD" requires explicit package name at ./doc2html.pl line 323.
Global symbol "$CATWPD" requires explicit package name at ./doc2html.pl line 325.
Execution of ./doc2html.pl aborted due to compilation errors.


So, it seems to me that I haven't commented out enough. Is that correct? If not, what am I doing wrong? Any help would be much appreciated.

Scott

--
R. Scott Granneman
[EMAIL PROTECTED] ~ www.granneman.com
Join GranneNotes! Information at www.granneman.com

"... any man's death diminishes me, because I am involved in mankind, and therefore never seek to know for whom the bell tolls; it tolls for thee."
---John Donne





------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ 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

Reply via email to