% swish-filter-test -path
/u/gl/rdm/local/lib/swish-e/perl
% find /u/gl/rdm/local/lib/swish-e/perl | grep Filters
/u/gl/rdm/local/lib/swish-e/perl/SWISH/Filters
/u/gl/rdm/local/lib/swish-e/perl/SWISH/Filters/Doc2txt.pm
/u/gl/rdm/local/lib/swish-e/perl/SWISH/Filters/XLtoHTML.pm
I don't have Doc2html, Pdf2HTML, ID3toHTML, or XLtoHTML.
Wonder how that happened! Well, let's try a re-install...
Well, no complaints, but no luck, either:
% ls /u/gl/rdm/local/lib/swish-e/perl/SWISH//Filters
Doc2txt.pm XLtoHTML.pm
Looking closely at the install output, I see:
make install
Making install in filters
Making install in SWISH
/bin/bash ../../../swish-e-2.4.2/config/mkinstalldirs
/u/gl/rdm/local/lib/swish-e/perl/SWISH
/u/gl/rdm/swish-e/swish-e-2.4.2/config/install-sh -c
../../../swish-e-2.4.2/filters/SWISH/Filters/Doc2txt.pm
/u/gl/rdm/local/lib/swish-e/perl/SWISH/Filters/Doc2txt.pm
/u/gl/rdm/swish-e/swish-e-2.4.2/config/install-sh -c
../../../swish-e-2.4.2/filters/SWISH/Filters/Pdf2HTML.pm
/u/gl/rdm/local/lib/swish-e/perl/SWISH/../../../swish-e-2.4.2/filters/
SWISH/Filters/Pdf2HTML.pm
/u/gl/rdm/swish-e/swish-e-2.4.2/config/install-sh -c
../../../swish-e-2.4.2/filters/SWISH/Filters/ID3toHTML.pm
/u/gl/rdm/local/lib/swish-e/perl/SWISH/../../../swish-e-2.4.2/filters/
SWISH/Filters/ID3toHTML.pm
/u/gl/rdm/swish-e/swish-e-2.4.2/config/install-sh -c
../../../swish-e-2.4.2/filters/SWISH/Filters/XLtoHTML.pm
/u/gl/rdm/local/lib/swish-e/perl/SWISH/Filters/XLtoHTML.pm
This makes me VERY suspicious. The install paths for Pdf2HTML
and ID3toHTML look really odd. So, I looked to see where they
might have landed:
% du -a local | grep SWISH
...
4 local/lib/swish-e/perl/SWISH/Filters/Doc2txt.pm
8 local/lib/swish-e/perl/SWISH/Filters/XLtoHTML.pm
...
8 local/lib/swish-e-2.4.2/filters/SWISH/Filters/Pdf2HTML.pm
14 local/lib/swish-e-2.4.2/filters/SWISH/Filters/ID3toHTML.pm
This seems distinctly peculiar. So, I tried:
% cp local/lib/swish-e-2.4.2/filters/SWISH/Filters/*.pm \
local/lib/swish-e/perl/SWISH/Filters
This caused Pdf2HTML to be found.
In summary, I was having an installation problem, either because
I did something wrong or because there's a but in the Swish-e
installation machinery. FYI, my configure script looks like:
:
# config_rdm - configure swish-e
VER='2.4.2'
./swish-e-$VER/configure \
--disable-shared \
--prefix=$HOME/local \
CPPFLAGS=-I$HOME/local/include \
LDFLAGS="-R$HOME/local/lib -L$HOME/local/lib"
and $HOME is set to "/u/gl/rdm".
I looked at the Makefile, but it baffles me. Perhaps someone
else can figure out what's going wrong...
-r
Received on Wed Sep 22 13:01:01 2004