ruby on rails - Cygwin (on Windows) - Permission Denied - Cannot compile -
i trying build , install libyaml per instructions on website > http://pyyaml.org/wiki/libyaml
- ./configure > successful
- make > successful
- make install > failed
i following error "cannot create directory '/usr/local/include': permission denied." see below:
p.s. running administrator.
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 done `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 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 target `install-am' failed make[1]: *** [install-am] error 2 make[1]: leaving directory `/home/jetblue/yaml-0.1.4/include' makefile:343: recipe target `install-recursive' failed make: *** [install-recursive] error 1
how 1 resolve "permission denied" error?
thanks time.
update -> solution
it seems bypass "permission denied" error, not need administrator, administrator installed cygwin. (they ones can freely edit files in cygwin's /usr/local/ directory).
hence problem. though administrator still didn't have edit rights directory.
so ... using account develop -_- (too work @ moment start playing around sudos etc.)
p.s. not sure if yaakov saying...
check permissions on /usr/local, or recompile --prefix have write permissions.
but should aware library available in cygwin distribution; install libyaml-devel , dependencies use it.
Comments
Post a Comment