Hi Theo,
If you're installing it into a different place and need modules from a
different place, you can do something like the following, depending on
your shell:
export PERL5LIB=/usr/local/share/perlmods
I'll add that to the init script and see if it works or not. ;-)
Thanks for your help!
Florian
Hi Dave,
In the top of the various perl scripts you'd add the "use line" after
where you call perl eg
okay, thanks a lot, then I'll look into it!
Florian
On Fri, Apr 29, 2005 at 05:21:43PM +0200, Florian Effenberger wrote:
> I'm absolutely no Perl expert, so I thought I'd ask here. ;-) Where can
> I set PERL5LIB? Most libraries are installed in the default location,
> but I have installed some libraries (e.g. a newer Net::DNS) in other
> paths, v
On Fri, 29 Apr 2005, Florian Effenberger wrote:
Hi Dave,
No, The "use" construct tells perl to look elsewhere for libraries when
running. All of the above assumes you're installing the modules somewhere
other than where the system would normally look for it. eg You don't have
root access so install
Hi Brian,
Just set PERL5LIB on the command line that you use to start
spamassassin. (if you are using BASH or KSH anyway.)
PERL5LIB="/usr/local/share/perlmods" spamassassin
or just put it in the envronment that SA runs from.
thanks, at least for Makefile.PL it seems to work! :-) Will try to put
Hi Dave,
No, The "use" construct tells perl to look elsewhere for libraries when
running. All of the above assumes you're installing the modules somewhere
other than where the system would normally look for it. eg You don't have
root access so installed the modules in your home directory. You still
Florian Effenberger wrote:
Hi Theo,
Set PERL5LIB appropriately? This is a perl question, not SA specific. :)
I'm absolutely no Perl expert, so I thought I'd ask here. ;-) Where can
I set PERL5LIB? Most libraries are installed in the default location,
but I have installed some libraries (e.g. a
On Fri, 29 Apr 2005, Florian Effenberger wrote:
Hi Dave,
use lib "/my/perl_directory/lib/site_perl";
or sometimes you can just say:
use "/my/perl_directory";
is it enough to add it to Makefile.PL, or do I need to add it to every single
SpamAssassin .PL file?
No, The "use" construct tells perl to
Hi Dave,
use lib "/my/perl_directory/lib/site_perl";
or sometimes you can just say:
use "/my/perl_directory";
is it enough to add it to Makefile.PL, or do I need to add it to every
single SpamAssassin .PL file?
Thanks!
FLorian
On Fri, 29 Apr 2005, Florian Effenberger wrote:
Hi Theo,
Set PERL5LIB appropriately? This is a perl question, not SA specific. :)
I'm absolutely no Perl expert, so I thought I'd ask here. ;-) Where can I set
PERL5LIB? Most libraries are installed in the default location, but I have
installed som
Hi Theo,
Set PERL5LIB appropriately? This is a perl question, not SA specific. :)
I'm absolutely no Perl expert, so I thought I'd ask here. ;-) Where can
I set PERL5LIB? Most libraries are installed in the default location,
but I have installed some libraries (e.g. a newer Net::DNS) in other
pa
On Fri, Apr 29, 2005 at 02:12:59PM +0200, Florian Effenberger wrote:
> what is the right way for supplying additional path for Perl modules in
> a self-compiled (perl Makefile.PL && make && make install) SpamAssassin?
> I have modules in non-standard directories I
Hello,
what is the right way for supplying additional path for Perl modules in
a self-compiled (perl Makefile.PL && make && make install) SpamAssassin?
I have modules in non-standard directories I would like to include for
compilation.
Thanks
Florian
13 matches
Mail list logo