Description of Problem: When trying to rebuild the mod_perl package, the installation fails because it tries to write outside the RPM_BUILD_ROOT: -------- $ rpm --rebuild mod_perl-1.26-7.src.rpm ... + make pure_install INSTALLDIRS=vendor PREFIX=/var/tmp/mod_perl-root/usr Warning: You do not have permissions to install into /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi-stdio at /usr/lib/perl5/5.8.0/ExtUtils/Install.pm line 84. mkdir /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi-stdio/auto/Apache: Permission denied at /usr/lib/perl5/5.8.0/ExtUtils/Install.pm line 137 make: *** [pure_vendor_install] Error 255 error: Bad exit status from /var/tmp/rpm-tmp.31497 (%install) Bad exit status from /var/tmp/rpm-tmp.31497 (%install) ----- Version-Release number of selected component (if applicable): mod_perl-1.26-7 perl-5.8.0-4 apache-1.3.23-13