You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Marc Dufresne <Ma...@parks.on.ca> on 2006/04/08 15:42:51 UTC

Cannot install SA-3.1.1 FreeBSD 5.4

Downloaded install-Clam-SA for 0.88.1 and SA3.1.1

When I run the 
./install.sh 

It says I have two copies of perl 

one located in /usr/bin
and the other located in /usr/local

It strongly recommends that I remove /usr/local. But if I choose to
contnue then run 

./install.sh --perl=/path/to/perl


When I ran ./install.sh --perl=/usr/bin

I receive numerous errors saying

Attempting to install module <name of module>
.install.sh : /usr/bin: Permission Denied

If I run ./install.sh --perl=/usr/local

Attempting to install module <name of module>
.install.sh : /usr/bin: Permission Denied

Nothing installs.

Any ideas?






Marc Dufresne, Corporate IT Officer
St. Lawrence Parks Commission
13740 County Road 2
Morrisburg, ON  K0C 1X0

E-mail: Marc.Dufresne@parks.on.ca
Voice: 613-543-3704  Ext#2455
Fax: 613-543-2847
Corporate website: www.parks.on.ca

Re: Cannot install SA-3.1.1 FreeBSD 5.4

Posted by Theo Van Dinter <fe...@apache.org>.
On Sat, Apr 08, 2006 at 09:42:51AM -0400, Marc Dufresne wrote:
> Downloaded install-Clam-SA for 0.88.1 and SA3.1.1
> 
> When I run the 
> ./install.sh 
> 
> It says I have two copies of perl 
[...]

You'll want to ask the people who wrote that script / from wherever
you got the script from.  I've never even heard of it before, and it
definitely is not a standard SpamAssassin script.

Is there a reason you don't just install SA and ClamAV using their normal
installation methods?

-- 
Randomly Generated Tagline:
"Do you know how to use that thing?
  Yes ... The pointy end goes into the other man."
                 - From the movie "The Mask of Zorro"

Re: Cannot install SA-3.1.1 FreeBSD 5.4

Posted by Dhawal Doshy <dh...@netmagicsolutions.com>.
Marc Dufresne wrote:
> Downloaded install-Clam-SA for 0.88.1 and SA3.1.1
> 
> When I run the 
> ./install.sh 

You'll be better off asking this question on the mailscanner list.. i 
don't use the install-sa-clam package but a lot others on the 
mailscanner list do so.

In any case (purely speculating here) i think you need to use it as:
./install.sh --perl=/usr/local/bin/perl #(path to the perl binary)

- dhawal

> It says I have two copies of perl 
> 
> one located in /usr/bin
> and the other located in /usr/local
> 
> It strongly recommends that I remove /usr/local. But if I choose to
> contnue then run 
> 
> ./install.sh --perl=/path/to/perl
> 
> 
> When I ran ./install.sh --perl=/usr/bin
> 
> I receive numerous errors saying
> 
> Attempting to install module <name of module>
> .install.sh : /usr/bin: Permission Denied
> 
> If I run ./install.sh --perl=/usr/local
> 
> Attempting to install module <name of module>
> .install.sh : /usr/bin: Permission Denied
> 
> Nothing installs.
> 
> Any ideas?
> 
> 
> 
> 
> 
> 
> Marc Dufresne, Corporate IT Officer
> St. Lawrence Parks Commission
> 13740 County Road 2
> Morrisburg, ON  K0C 1X0
> 
> E-mail: Marc.Dufresne@parks.on.ca
> Voice: 613-543-3704  Ext#2455
> Fax: 613-543-2847
> Corporate website: www.parks.on.ca
> 
> 
> ------------------------------------------------------------------------
> 
> BEGIN:VCARD
> VERSION:2.1
> X-GWTYPE:USER
> FN:Marc Dufresne
> TEL;WORK:613-543-3704
> ORG:;Information Technology
> TEL;PREF;FAX:613-543-2847
> EMAIL;WORK;PREF;NGW:Marc.Dufresne@parks.on.ca
> N:Dufresne;Marc
> TITLE:Corporate IT Officer
> END:VCARD
> 


Re: Cannot install SA-3.1.1 FreeBSD 5.4

Posted by Daniel O'Connor <da...@dons.net.au>.
On Saturday 08 April 2006 23:12, Marc Dufresne wrote:
> It strongly recommends that I remove /usr/local. But if I choose to
> contnue then run
>
> ./install.sh --perl=/path/to/perl
>
>
> When I ran ./install.sh --perl=/usr/bin
>
> I receive numerous errors saying
>
> Attempting to install module <name of module>
> .install.sh : /usr/bin: Permission Denied

I think it means --perl=/usr/local/bin/perl

> Nothing installs.
>
> Any ideas?

Use the ports tree.
It has been updated so it has SA 3.1.1.
(And ClamAV 0.88.1)

cd /usr/ports/mail/p5-Mail-SpamAssassin
make install
cd /usr/ports/security/clamav
make install
(as root)

Also, I didn't think 5.x had Perl in the base system at all - was this system 
upgraded from 4.x?

The version of perl you want is the one in /usr/local/bin. The one in /usr/bin 
will be hopelessly out of date.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C