Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] swish.cgi documentation

From: Peter Karman <peter(at)not-real.peknet.com>
Date: Thu Apr 30 2009 - 00:57:05 GMT
Frank M. Ramaekers wrote on 4/29/09 3:58 PM:
> No, it doesn't appear to be:
> 
> @INC:
>     /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
>     /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
>     /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
>     /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
>     /usr/lib/perl5/site_perl/5.8.8
>     /usr/lib/perl5/site_perl/5.8.7
>     /usr/lib/perl5/site_perl/5.8.6
>     /usr/lib/perl5/site_perl/5.8.5
>     /usr/lib/perl5/site_perl
>     /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
>     /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
>     /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
>     /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
>     /usr/lib/perl5/vendor_perl/5.8.8
>     /usr/lib/perl5/vendor_perl/5.8.7
>     /usr/lib/perl5/vendor_perl/5.8.6
>     /usr/lib/perl5/vendor_perl/5.8.5
>     /usr/lib/perl5/vendor_perl
>     /usr/lib/perl5/5.8.8/i386-linux-thread-multi
>     /usr/lib/perl5/5.8.8
> ------------------------------------------------------------------------
> ---
> # ls -l /usr/local/lib/swish-e/swish.cgi
> -rwxr-xr-x 1 root root 108458 Apr 28 13:28
> /usr/local/lib/swish-e/swish.cgi
> 
> Is this not part of the 'make install'?   (to add it to the @INC)
> How is it suppose to be added?
> 

make install just sets the include path in each swish-related script, not in
perl itself. You can alter that with PERL5LIB env var (easy) or re-compile perl
to include it (harder).

 # in bash, e.g.
 % export PERL5LIB=/usr/local/lib/swish-e
 % perldoc swish.cgi


-- 
Peter Karman  .  http://peknet.com/  .  peter(at)not-real.peknet.com
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Wed Apr 29 20:57:04 2009