This question about Using an extension: Answered but needs rewriting

Stringifier dependencies - how to install on a hosted server?

Stringifier recognises the lack of certain document handlers in my installation. This is the log file I get:

CPAN is disabled, disabling CPAN

### StringifierContrib Installer ###

This installer must be run from the root directory of your Foswiki
installation.
    * You can abort the script at any point and re-run it later
    * If you answer 'no' to any questions you can always re-run
      the script again later
##########################################################
Checking dependency on File::MMagic....
File::MMagic v1.27 loaded
##########################################################
Checking dependency on Module::Pluggable....
Module::Pluggable v3.9 loaded
##########################################################
Checking dependency on HTML::TreeBuilder....
HTML::TreeBuilder v3.23 loaded
##########################################################
Checking dependency on Spreadsheet::ParseExcel....
Spreadsheet::ParseExcel v0.57 loaded
##########################################################
Checking dependency on Spreadsheet::XLSX....
Spreadsheet::XLSX v0.13 loaded
##########################################################
Checking dependency on CharsetDetector....
CharsetDetector v2.000002 loaded
##########################################################
Checking dependency on Encode....
Encode v2.39 loaded
##########################################################
Checking dependency on Error....
Error v0.17016 loaded
##########################################################
Checking dependency on ppthtml....
*** StringifierContrib depends on c package ppthtml >0
which is described as "Required for indexing =.ppt= files. Part of xlhtml"
But when I tried to find it I got this error:

Module is type c, and cannot be automatically checked.
Please check it manually and install if necessary.

##########################################################
Checking dependency on pdftotext....
*** StringifierContrib depends on c package pdftotext >0
which is described as "Required for indexing =.pdf=. Part of xpdf-utils"
But when I tried to find it I got this error:

Module is type c, and cannot be automatically checked.
Please check it manually and install if necessary.

##########################################################
Checking dependency on antiword....
*** StringifierContrib depends on c package antiword >0
which is described as "One of antiword, abiword or wvWare is required for =.doc= files"
But when I tried to find it I got this error:

Module is type c, and cannot be automatically checked.
Please check it manually and install if necessary.

##########################################################
Checking dependency on abiword....
*** StringifierContrib depends on c package abiword >0
which is described as "One of antiword, abiword or wvWare is required for =.doc= files"
But when I tried to find it I got this error:

Module is type c, and cannot be automatically checked.
Please check it manually and install if necessary.

##########################################################
Checking dependency on wvWare....
*** StringifierContrib depends on c package wvWare >0
which is described as "One of antiword, abiword or wvWare is required for =.doc= files"
But when I tried to find it I got this error:

Module is type c, and cannot be automatically checked.
Please check it manually and install if necessary.

##########################################################
Checking dependency on docx2txt....
*** StringifierContrib depends on perl package docx2txt >0
which is described as "Required for =.docx= files. Available from http://sourceforge.net/projects/docx2txt/"
But when I tried to find it I got this error:

Can't locate docx2txt.pm

##########################################################
Checking dependency on pptx2txt....
*** StringifierContrib depends on perl package pptx2txt >0
which is described as "Required for =.pptx= files. Available from http://sourceforge.net/projects/pptx2txt/"
But when I tried to find it I got this error:

Can't locate pptx2txt.pm

I will keep a backup of any files I overwrite.Archive has already been unpacked.

### Installation finished ###

I am installed on a hosted webserver so do not have access to install anything to var/usr (or whatvever) on the host.

I am a Linux noob and have no idea how and where to install the following to get Stringifier to work:

pphtml

pdftotext

antiword

abiword

wvWare

docx2txt

pptx2txt

Any help warmly welcomed!

-- BobCorless - 03 Sep 2010

Maybe try pointing the Stringifier to a script which calls antiword instead of antiword itself. The script might look like (untested):
#!/bin/bash
export ANTIWORDHOME = /path/to/antiword/home
/path/to/antiword/home/./antiword $@

Please set back to "Asked" if that doesn't help

-- PaulHarvey - 05 Sep 2010

QuestionForm edit

Subject Using an extension
Extension StringifierContrib
Version Foswiki 1.0.9
Status Answered but needs rewriting
Topic revision: r2 - 05 Sep 2010, PaulHarvey
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy