Jason,
For some reason swishspider is not recognized as a perlscript
and is being interpreted by the shell, this msg is the a symptom of that:
use: Command not found.
You need to fix the first line to (probably)
#!/usr/bin/perl
(Jose, better put this path in the distribution since
/local/sparc/bin/perl is not a probable path, /usr/bin/perl is perl's
default path)
Jason, be aware that you need to install the perl-modules that are in
the 'use' statements:
use LWP::UserAgent;
use HTTP::Headers;
use LWP::RobotUA;
use HTTP::Request;
use HTTP::Status;
use HTML::LinkExtor;
For this you need to downloads these files:
http://www.cpan.org/authors/id/GAAS/libwww-perl-5.48.tar.gz
http://www.cpan.org/authors/id/GAAS/HTML-Parser-3.13.tar.gz
Then install the modules:
tar xvzf libwww-perl-5.48.tar.gz
cd libwww-perl-5.48
perl Makefile.PL
make
make install
(HTML-Parser-3.13.tar.gz likewise)
Hope this helps...
Bas
>On Mon, 6 Nov 2000 12:56:18 -0800 (PST), dadzierzak@jwwinco.com spoke:
>
> > I ran the following command line to create an initial index file
>> /opt/swish-e.x/src/swish-e -S http -c
>>/home/sites/home/web/swish/sw.index.conf
>> and receive the following response
>> Unrecognized character \010 at - line 35.
>> /opt/swish-e.x/src/swishspider: use: command not found
>
>Sounds like your path to perl is wrong.
>
>The first line of swishspider is:
>#!/local/sparc/bin/perl
>
>Is that where you have Perl installed? If not, fix it to the correct
>path. You can find this by typing "which perl"
>
>Jason
Received on Tue Nov 7 09:15:54 2000