Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Why is ./Build install destdir=$RPM_BUILD_ROOT ignoring the destdir?

by taint (Chaplain)
on Jan 09, 2014 at 21:12 UTC ( #1070028=note: print w/ replies, xml ) Need Help??


in reply to Why is ./Build install destdir=$RPM_BUILD_ROOT ignoring the destdir?

I don't mean to sound mean, or anything. But You've already been told what the problem is:

Permission denied
Should it not already be obvious to you; this is a system error. Your system (the one your building this on) is trying to tell you that you don't have write privileges to the directory you are attempting to write to.

I'ts also possible that "Perl", itself is associated with some user/group, and wouldn't have permission. But, in almost any case, it's you, the user, whos permissions are inherited, that determine what can, and cannot be done on the system.

Perhaps doing an su before attempting the install?

HTH

--Chris

UPDATE: I should also add; that you can also make the install, install to a lib within your home directory.

make install PREFIX=~/lib
assuming that the directory lib already exists within your ~ (Home) directory.

λɐp ʇɑəɹ⅁ ɐ əʌɐɥ puɐ ʻꜱdləɥ ꜱᴉɥʇ ədoH


Comment on Re: Why is ./Build install destdir=$RPM_BUILD_ROOT ignoring the destdir?
Select or Download Code
Re^2: Why is ./Build install destdir=$RPM_BUILD_ROOT ignoring the destdir?
by Anonymous Monk on Jan 09, 2014 at 21:32 UTC
    Thanks for your response taint. I learned that YAML::Tiny uses Module::Build::Tiny which does not like
    ./Build install destdir=$RPM_BUILD_ROOT
    so I had to change that line in my spec file to ...
    ./Build install --destdir=$RPM_BUILD_ROOT

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1070028]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2014-08-28 11:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (259 votes), past polls