Skip Menu |

This queue is for tickets about the Mail-SPF CPAN distribution.

Report information
The Basics
Id: 24855
Status: rejected
Priority: 0/
Queue: Mail-SPF

People
Owner: JMEHNLE [...] cpan.org
Requestors: dave [...] brondsema.net
pb [...] bieringer.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: julian [...] mehnle.net
Subject: Install in non-root environment misses /usr/sbin/sfpd
Date: Fri, 09 Feb 2007 13:37:16 +0100
To: bug-Mail-SPF [...] rt.cpan.org
From: Peter Bieringer <pb [...] bieringer.de>
Hi, while trying to create a local rpm package I found, that install misses /usr/sbin/spfd. Reason: + make prefix=/var/tmp/perl-Mail-SPF-2.004-1-root/usr exec_prefix=/var/tmp/perl-Mail-SPF-2.004-1-root/usr bindir=/var/tmp/perl-Mail-SPF-2.004-1-root/usr/bin sbindir=/var/tmp/perl-Mail-SPF-2.004-1-root/usr/sbin sysconfdir=/var/tmp/perl-Mail-SPF-2.004-1-root/etc datadir=/var/tmp/perl-Mail-SPF-2.004-1-root/usr/share includedir=/var/tmp/perl-Mail-SPF-2.004-1-root/usr/include libdir=/var/tmp/perl-Mail-SPF-2.004-1-root/usr/lib libexecdir=/var/tmp/perl-Mail-SPF-2.004-1-root/usr/libexec localstatedir=/var/tmp/perl-Mail-SPF-2.004-1-root/var sharedstatedir=/var/tmp/perl-Mail-SPF-2.004-1-root/usr/com mandir=/var/tmp/perl-Mail-SPF-2.004-1-root/usr/share/man infodir=/var/tmp/perl-Mail-SPF-2.004-1-root/usr/share/info install /usr/bin/perl Build --makefile_env_macros 1 install Warning: You do not have permissions to install into /usr/sbin at /usr/lib/perl5/5.8.8/ExtUtils/Install.pm line 114. Installing /var/tmp/perl-Mail-SPF-2.004-1-root/usr/share/man/man1/spfquery.1 ... Installing /var/tmp/perl-Mail-SPF-2.004-1-root/usr/share/man/man3/Mail::SPF::Mech::Exists.3pm Installing /usr/sbin/spfd <-!!! Installing /var/tmp/perl-Mail-SPF-2.004-1-root/usr/bin/spfquery At install step of /usr/sbin/spfd, $sbindir isn't used. Regards, Peter -- Dr. Peter Bieringer http://www.bieringer.de/pb/ GPG/PGP Key 0x958F422D mailto:pb@bieringer.de Deep Space 6 Co-Founder and Core Member http://www.deepspace6.net/ OpenBC http://www.openbc.com/hp/Peter_Bieringer/ Personal invitation to OpenBC http://www.openbc.com/go/invita/3889
I already cleared this with Peter in private conversation. For the record, this is not a deficiency of Mail-SPF. Peter was erroneously using the PREFIX option in his invocation of Makefile.PL. For installing into a specific path, the DESTDIR option should really be used instead: Show quoted text
Emphasizing that this isn't just a Module::Build specialty, even ExtUtils::MakeMaker confirms this: Show quoted text
MakeMaker.pm#DESTDIR Peter confirmed that using DESTDIR instead of PREFIX solved his problem.