From: David A. <D.J...@so...> - 2003-01-03 15:57:42
|
This is a simple error message produced by pdf2html.pl, and has nothing = to do with fonts. The error means that the file given by my $PDFTOTEXT =3D "/usr/local/bin/pdftotext";=20 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 -----=20 From: Robert Isaac=20 To: htd...@li...=20 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 =3D 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 =20 use strict; =20 pragma. =20 The=20 =20 my $PDF2HTML =3D .... =20 line must give the full pathname of the pdf2html.pl script. =20 -- David Adams Information Systems Services Southampton University=20 ----- Original Message -----=20 From: Robert Isaac=20 To: htd...@li...=20 Sent: Friday, January 03, 2003 12:42 PM=20 Subject: Re: [htdig] pdf parser I changed it but still get the same errors. I commented out lines = like <my $WP2HTML =3D ' ' ; > 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=20 =20 my $PDF2HTML =3D '/home/sites/www.volvoclub.org.uk/web/cgi-bin'; = is incorrect, it should be the full pathname of pdf2html.pl, = not the directory name.=20 =20 You should have lines like=20 =20 my $WP2HTML =3D '';=20 =20 in doc2html.pl. It looks as though you commented them out.=20 =20 --=20 David Adams=20 Information Systems Services=20 Southampton University=20 ----- Original Message -----=20 From: Robert Isaac=20 To: htd...@li...=20 Sent: Thursday, January 02, 2003 10:14 PM=20 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 =3D '/home/sites/www.volvoclub.org.uk/web/cgi-bin'; The only changes I made to pdf2html.pl were:=20 my $PDFTOTEXT =3D "/usr/local/bin/pdftotext";=20 my $PDFINFO =3D "/usr/local/bin/pdfinfo"; In htdig.conf I put:=20 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.=20 Global symbol "$WP2HTML" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 209.=20 Global symbol "$WP2HTML" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 216.=20 Global symbol "$WP2HTML" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 218.=20 Global symbol "$RTF2HTML" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 225.=20 Global symbol "$RTF2HTML" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 227.=20 Global symbol "$XLS2HTML" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 235.=20 Global symbol "$XLS2HTML" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 237.=20 Global symbol "$PPT2HTML" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 245.=20 Global symbol "$PPT2HTML" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 247.=20 Global symbol "$SWF2HTML" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 265.=20 Global symbol "$SWF2HTML" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 267.=20 Global symbol "$CATDOC" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 276.=20 Global symbol "$CATDOC" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 278.=20 Global symbol "$CATDOC2" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 286.=20 Global symbol "$CATDOC2" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 288.=20 Global symbol "$CATDOCM" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 295.=20 Global symbol "$CATDOCM" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 297.=20 Global symbol "$CATPS" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 304.=20 Global symbol "$CATPS" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 306.=20 Global symbol "$CATXLS" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 314.=20 Global symbol "$CATXLS" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 316.=20 Global symbol "$CATWPD" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 323.=20 Global symbol "$CATWPD" requires explicit package name at = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl line = 325.=20 Execution of = /home/sites/www.volvoclub.org.uk/web/cgi-bin/htdig/pdf/doc2html.pl = aborted due to compilation errors.=20 size =3D 418109 Any ideas what is wrong please. Thanks=20 Bob VOLVO OWNERS CLUB ONLINE=20 Robert Isaac, Director, Volvo Owners Club Limited=20 All email messages are virus scanned before being sent=20 PLEASE INCLUDE ALL PREVIOUS MESSAGE TEXT WITH REPLY Club web site: www.volvoclub.org.uk Also visit: www.trisaac.com for=20 John Wayne Collectors Plates=20 Roil Products=20 All email messages are virus scanned before being sent 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. |