Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by taint (Chaplain)
on Jan 09, 2014 at 21:12 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1070028]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (2)
As of 2024-04-20 05:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found