Perl Path

Martin.Hepworth martinh at
Wed Mar 21 09:56:31 CET 2007

Or going a sym link from /usr/bin/perl to /usr/local/smartmail/bin/perl
ala FreeBSD with the sysperl and portsperl options...

Most perl scripts expect perl to be /usr/bin/perl....

Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300
> -----Original Message-----
> From: mailscanner-bounces at [mailto:mailscanner-
> bounces at] On Behalf Of --[ UxBoD ]--
> Sent: 21 March 2007 08:37
> To: mailscanner at
> Subject: Perl Path
> Hi,
> I have just built a new server based on RHES4 and have built all the
> executables from source ie. perl, mysql, apache, php etc etc ...
> When I built MailScanner I used the source and ran --
> perl=/usr/local/smartmail/bin/perl which installed all the modules
> Though one thing I have noticed is that in the top of all the
> code the perl path still points to /usr/bin/perl. I wondered why it
> working correctly ;)
> Is it worth changing the install script so that if the --perl option
> used then the perl binary path in all scripts is changed aswell ?
> Thoughts?
> --
> --[ UxBoD ]--
> // PGP Key: "curl -s | gpg --import"
> // Fingerprint: 543A E778 7F2D 98F1 3E50 9C1F F190 93E0 E8E8 0CF8
> // Keyserver: Key-ID: 0xE8E80CF8
> // SIP Phone: uxbod at
> --
> This message has been scanned for viruses and dangerous content by
> MailScanner, and is
> believed to be clean.
> --
> MailScanner mailing list
> mailscanner at
> Before posting, read
> Support MailScanner development - buy the book off the website!

Confidentiality : This e-mail and any attachments are intended for the 
addressee only and may be confidential. If they come to you in error 
you must take no action based on them, nor must you copy or show them 
to anyone. Please advise the sender by replying to this e-mail 
immediately and then delete the original from your computer.

Opinion : Any opinions expressed in this e-mail are entirely those of 
the author and unless specifically stated to the contrary, are not 
necessarily those of the author's employer.

Security Warning : Internet e-mail is not necessarily a secure 
communications medium and can be subject to data corruption. We advise 
that you consider this fact when e-mailing us. 

Viruses : We have taken steps to ensure that this e-mail and any 
attachments are free from known viruses but in keeping with good 
computing practice, you should ensure that they are virus free.

Red Lion 49 Ltd T/A Solid State Logic
Registered as a limited company in England and Wales 
(Company No:5362730)
Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU, 
United Kingdom

More information about the MailScanner mailing list