Building RPM as non-root - not working any more...

Thomas Cameron <[email protected]>
Newsgroups gmane.mail.spam.razor.user
Message-ID <[email protected]>
I am trying to make an RPM out of razor-agents 2.74 as a non-root
user.  

I want the files in the RPM to be installed to /usr/lib/perl5/site_perl,
but since I am a non-root user I am trying to use the syntax

perl Makefile.PL
make
make install DESTDIR=/var/tmp/razor-agents-root

I am getting an error that the installer is trying to write to /usr/lib:

mkdir /share: Permission denied
at /usr/lib/perl5/5.8.3/ExtUtils/Install.pm line 112

If I do this:

perl Makefile.PL PREFIX=/var/tmp/razor-agents-root

will that cause problems later on when the files are actually installed
under /usr?  Won't they expect to live under /var/tmp?
-- 
Thomas Cameron, RHCE, CNE, MCSE, MCT
512-241-0774 (office)
512-924-8592 (cell)



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.