Note that there are some explanatory texts on larger screens.

plurals
  1. POCygwin (on Windows) - Permission Denied - Cannot compile
    primarykey
    data
    text
    <p>I am trying to build and install libYAML as per instructions on their website > <a href="http://pyyaml.org/wiki/LibYAML" rel="nofollow">http://pyyaml.org/wiki/LibYAML</a></p> <ul> <li><em>./configure</em> > successful</li> <li><em>make</em> > successful</li> <li><em>make install</em> > failed</li> </ul> <p>I get the following error "cannot create directory '/usr/local/include': Permission denied." See below:</p> <p>P.S. I am running as an administrator.</p> <pre><code>JetBlue@JetBlue-Laptop ~/yaml-0.1.4 $ make install Making install in include make[1]: Entering directory `/home/JetBlue/yaml-0.1.4/include' make[2]: Entering directory `/home/JetBlue/yaml-0.1.4/include' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/local/include" || /usr/bin/mkdir -p "/usr/local/include" /usr/bin/mkdir: cannot create directory `/usr/local/include': Permission denied Makefile:235: recipe for target `install-nobase_includeHEADERS' failed make[2]: *** [install-nobase_includeHEADERS] Error 1 make[2]: Leaving directory `/home/JetBlue/yaml-0.1.4/include' Makefile:356: recipe for target `install-am' failed make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/JetBlue/yaml-0.1.4/include' Makefile:343: recipe for target `install-recursive' failed make: *** [install-recursive] Error 1 </code></pre> <p>How does one resolve this <strong>"permission denied" error</strong>?</p> <p>Thanks for your time.</p> <p><strong>Update -> Solution</strong></p> <p>It seems that to bypass this "permission denied" error, you not only need to be an administrator, but also the administrator who originally installed Cygwin. (They are the only ones who can freely edit files in Cygwin's /usr/local/ directory).</p> <p>Hence my problem. Though I was an administrator I still didn't have edit rights to the directory.</p> <p>So ... I am now just using that account to develop -_- (too much work at the moment to start playing around with sudos etc.)</p> <p>P.S. I am not sure if this is what Yaakov was saying...</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload