DESTDIR equivalent?

Victor Engmark victor.engmark at terreactive.ch
Thu May 5 11:18:19 IST 2011


On 05/05/2011 11:55 AM, Martin Hepworth wrote:
> the default installer puts everything in /opt/MailScanner<version>

The problem is rather that not everything is put in /opt/MailScanner:
* A bunch of Perl modules are installed in
/usr/opt/perl58/lib/site_perl/5.8.9, and will have to be extricated
somehow. The easiest way is if a DESTDIR variable can be passed to `perl
Makefile.PL`, since all of them respect that. This doesn't work as
expected since there are dependencies between the modules, so they won't
build unless I install them both locally and with DESTDIR.
* /var/spool/MailScanner and subdirectories seem to be created by the
installation.

> and when run expects to find things in /opt/MailScanner. Not sure how
> well it reacts when put in other places even if you alter the config
> in lib config files.

In the final installation everything will be put back to /, so that
shouldn't be a problem at runtime.

Cheers,
Victor
-- 
terreActive AG
Kasinostrasse 30
CH-5001 Aarau
Tel: +41 62 834 00 55
Fax: +41 62 823 93 56
www.terreactive.ch

Wir sichern Ihren Erfolg - seit 15 Jahren


More information about the MailScanner mailing list