-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi,
i'm trying to create a package of SpamAssassin, using DESTDIR. however, the make install step fails when DESTDIR is set: $ gmake DESTDIR=$HOME/sa install [...] Writing /export/home/river/sa/opt/TSperl/lib/site_perl/5.8/auto/Mail/SpamAssassin/.packlist Appending installation info to /export/home/river/sa/opt/TSperl/lib/5.8/perllocal.pod /opt/TSperl/bin/perl "-MExtUtils::Command" -e mkpath /etc/opt/mail/spamassassin mkdir /etc/opt/mail: Permission denied at /opt/TSperl/lib/5.8/ExtUtils/Command.pm line 265 gmake: [conf__install] Error 13 (ignored) /opt/TSperl/bin/perl -MFile::Copy -e "copy(q{rules/local.cf}, q{/etc/opt/mail/spamassassin/local.cf}) unless -f q{/etc/opt/mail/spamassassin/local.cf}" /opt/TSperl/bin/perl -MFile::Copy -e "copy(q{rules/init.pre}, q{/etc/opt/mail/spamassassin/init.pre}) unless -f q{/etc/opt/mail/spamassassin/init.pre}" /opt/TSperl/bin/perl -MFile::Copy -e "copy(q{rules/v310.pre}, q{/etc/opt/mail/spamassassin/v310.pre}) unless -f q{/etc/opt/mail/spamassassin/v310.pre}" /opt/TSperl/bin/perl -MFile::Copy -e "copy(q{rules/v312.pre}, q{/etc/opt/mail/spamassassin/v312.pre}) unless -f q{/etc/opt/mail/spamassassin/v312.pre}" /opt/TSperl/bin/perl -MFile::Copy -e "copy(q{rules/v320.pre}, q{/etc/opt/mail/spamassassin/v320.pre}) unless -f q{/etc/opt/mail/spamassassin/v320.pre}" /opt/TSperl/bin/perl "-MExtUtils::Command" -e mkpath /opt/TSperl/share/spamassassin mkdir /opt/TSperl/share/spamassassin: Permission denied at /opt/TSperl/lib/5.8/ExtUtils/Command.pm line 265 gmake: [data__install] Error 13 (ignored) there are several more errors after that. the basic problem seems to be that DESTDIR is being ignored for DATADIR and SYSCONFDIR. is this a known issue, or am i doing something wrong? (i did read PACKAGING, but saw nothing obvious there about this issue.) i'm using SA 3.2.5, with Perl 5.8.9 on Solaris 10. thanks, river. -----BEGIN PGP SIGNATURE----- iD8DBQFJgrzFIXd7fCuc5vIRArXSAJ4xEZQ+Iv3xoK9ywkIWX+U56odhRgCgwcdm U2g3JTWQsKrwnD5HQRF977U= =LK8G -----END PGP SIGNATURE-----