Bob
At 15:56 03/01/2003 +0000, you wrote:
This is a simple error message produced by pdf2html.pl, and has nothing to do with fonts. The error means that the file given byAll email messages are virus scanned before being sent
my $PDFTOTEXT = "/usr/local/bin/pdftotext";
cannot be executed. This may be because /usr/local/bin/pdftotext does not exist, or because it is not executable by the user running htdig.
--
David Adams
Information Systems Services
Southampton University
- ----- Original Message -----
- From: Robert Isaac
- To: [EMAIL PROTECTED]
- Sent: Friday, January 03, 2003 2:13 PM
- Subject: Re: [htdig] pdf parser
- Thank you for the prompt reply. I now have another error when I run rundig:
- 9:9:2:http://www.volvoclub.org.uk/tow_bar_recall.pdf: !
UNABLE to convert - !!
Unable to execute pdftotext at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/pdf2html.pl line 34. - size = 418109
- One file I have not changed is sample-xpdfrc, everything is still commented out. I don't know where the fonts are installed on our RaQ550 server. Is this likely to be the cause of this new error message?
- Bob
- At 13:47 03/01/2003 +0000, you wrote:
- You can comment out those variable declarations if you also comment out the
- use strict
;- pragma.
- The
- my $PDF2HTML = ....
- line must give the full pathname of the pdf2html.pl script.
- --
- David Adams
- Information Systems Services
- Southampton University
- ----- Original Message -----
- From: Robert Isaac
- To: [EMAIL PROTECTED]
- Sent: Friday, January 03, 2003 12:42 PM
- Subject: Re: [htdig] pdf parser
- I changed it but still get the same errors. I commented out lines like <my $WP2HTML = ' ' ; > because I only want to use the pdf parser and it is my understanding that they are not needed. Am I wrong?
- Bob
- At 09:20 03/01/2003 +0000, you wrote:
- The line
- my $PDF2HTML = '/home/sites/www.volvoclub.org.uk/web/cgi-bin';
- is incorrect, it should be the full pathname of pdf2html.pl, not the directory name.
- You should have lines like
- my $WP2HTML = '';
- in doc2html.pl. It looks as though you commented them out.
- --
- David Adams
- Information Systems Services
- Southampton University
- ----- Original Message -----
- From: Robert Isaac
- To: [EMAIL PROTECTED]
- Sent: Thursday, January 02, 2003 10:14 PM
- Subject: [htdig] pdf parser
- I am trying to set up an external parser with htdig to index pdf files on our web site. I installed the files as per the xpdf INSTALL file.
- For doc2html.pl I only needed pdf search so the only variable is
- my $PDF2HTML = '/home/sites/www.volvoclub.org.uk/web/cgi-bin';
- The only changes I made to pdf2html.pl were:
- my $PDFTOTEXT = "/usr/local/bin/pdftotext";
- my $PDFINFO = "/usr/local/bin/pdfinfo";
- In htdig.conf I put:
- external_parsers: application/pdf->text/html /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl
- Ran rundig, but got the following output:
- 9:9:2:http://www.volvoclub.org.uk/tow_bar_recall.pdf: Global symbol "$WP2HTML" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 207.
- Global symbol "$WP2HTML" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 209.
- Global symbol "$WP2HTML" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 216.
- Global symbol "$WP2HTML" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 218.
- Global symbol "$RTF2HTML" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 225.
- Global symbol "$RTF2HTML" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 227.
- Global symbol "$XLS2HTML" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 235.
- Global symbol "$XLS2HTML" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 237.
- Global symbol "$PPT2HTML" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 245.
- Global symbol "$PPT2HTML" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 247.
- Global symbol "$SWF2HTML" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 265.
- Global symbol "$SWF2HTML" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 267.
- Global symbol "$CATDOC" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 276.
- Global symbol "$CATDOC" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 278.
- Global symbol "$CATDOC2" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 286.
- Global symbol "$CATDOC2" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 288.
- Global symbol "$CATDOCM" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 295.
- Global symbol "$CATDOCM" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 297.
- Global symbol "$CATPS" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 304.
- Global symbol "$CATPS" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 306.
- Global symbol "$CATXLS" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 314.
- Global symbol "$CATXLS" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 316.
- Global symbol "$CATWPD" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 323.
- Global symbol "$CATWPD" requires explicit package name at /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line 325.
- Execution of /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl aborted due to compilation errors.
- size = 418109
- Any ideas what is wrong please. Thanks
- Bob
- VOLVO OWNERS CLUB ONLINE
- Robert Isaac, Director, Volvo Owners Club Limited
- All email messages are virus scanned before being sent
- PLEASE INCLUDE ALL PREVIOUS MESSAGE TEXT WITH REPLY
- Club web site: www.volvoclub.org.uk
- Also visit: www.trisaac.com for
- John Wayne Collectors Plates
- Roil Products
PLEASE INCLUDE ALL PREVIOUS MESSAGE TEXT WITH REPLY
Web visit: www.trisaac.com
for
Neways range of Health and Personal Care Products.
Roil Automotive Products.
John Wayne Collectors Plates.

