Workaround for MailScanner RPM installation when using 'Perl from source'

Julian Field MailScanner at ecs.soton.ac.uk
Wed Oct 5 08:59:25 IST 2005


-----BEGIN PGP SIGNED MESSAGE-----

What's wrong with
./install.sh --perl=/usr/local/bin/perl
?

On 4 Oct 2005, at 21:26, Philip Hachey wrote:

> I have been using MailScanner for some time now.  I have it  
> installed on a
> WhiteBox 3 (clone of RHEL 3) server.  Prior to the recent MailScanner
> upgrade (via RPMs), I had installed the most recent version of Perl
> (5.8.7) from the source available at CPAN.  In addition to the  
> operating
> system RPM version of Perl (5.8.0) located under /usr/lib/perl5, I now
> have this new version of Perl located under /usr/local/lib/perl5.   
> I also
> swapped /usr/bin/perl with a symbolic link to /usr/local/bin/perl.
>
> When MailScanner installs, it recognizes both Perls, but during the
> installation of MailScanner's included Perl RPM modules, the paths it
> decides to use for the installation are /usr/lib/perl5/5.8.7 and / 
> usr/lib/perl5/site_perl/5.8.7 .
>
> POSSIBLE FIX: The correct paths would have been used if, in the  
> spec file
> of each of the Perl RPMs, the call to 'perl Makefile.PL' did NOT  
> include
> the PREFIX argument.
>
> TEMPORARY WORKAROUND:  Before installing MailScanner, do the  
> following:
> # ln --symbolic /usr/local/lib/perl5/5.8.7 /usr/lib/perl5/5.8.7
> # ln --symbolic /usr/local/lib/perl5/site_perl/5.8.7
> /usr/lib/perl5/site_perl/5.8.7
>
>
> There is an additional problem I've noticed that, after having used  
> CPAN
> to grab the latest version of various Perl modules, MailScanner  
> will still
> install a lower version: those modules marked "IsABundle" in  
> install.sh.
> Is this intentional?  Should I not be upgrading these modules via  
> CPAN?
>
> ----------------------------------
> Philip J. Hachey, BCS(High Hons)
> Programmer-Analyst
> City of Cornwall
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the Wiki (http://wiki.mailscanner.info/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> Support MailScanner development - buy the book off the website!
>

- -- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.2 (Build 2425)

iQEVAwUBQ0OH3vw32o+k+q+hAQHJJAf9Hn+I5t2A/uGSgeGD/58Wg1Ic1AcVCs1U
QSIIZ5c25/DleXQa2KzxHpYs9kHki/BisrdXOo4e2QHHfq5nxkAo1/iAwohV04/d
Ehtv+4G6MQIb2PqEgivFFRWdjpzn0DAS3fOnDBT98fPv6y38vOSygONtkqsA3Ez5
F04xzkZQwHkPVK09JN2Q8m7hjc3KHsVzU8gZMjFw0SM7n0EWrk2LrVkUzGM6BCnB
qZUQAR3BK0auKLktNbONyLqHIsCvoEhCZJBf1lBNuvvVNBTF8Q1sLc0YP9CfUbXa
N897FWVrbK78oqKCwcXBFEmJIKAvq4z8EMNR0UMpKO0JiPJBCLRzcQ==
=k9nD
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list