From: Robert I. <rob...@vo...> - 2003-01-03 12:43:47
|
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: <mailto:rob...@vo...>Robert Isaac >To: ><mailto:htd...@li...>htd...@li... > >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 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. |