/usr/bin/sudo: Permission denied in cygwin when installing "libpng-dev" -


i getting error follows in cygwin

$ make g++  -o3 -w -wall -g  -c -o imageiopng.o imageiopng.cpp imageiopng.cpp:19:17: fatal error: png.h: no such file or directory compilation terminated. make: *** [<builtin>: imageiopng.o] error 1 

after followin answer. png.h file not found - linux,

i had error in following,

$ sudo apt-get install libpng-dev -bash: /usr/bin/sudo: permission denied 

i have read in linux, don't need write sudo, instead of can use yum. so, have tried yum install. but, says

 traceback (most recent call last):   file "/usr/bin/yum", line 22, in <module>     import yummain   file "/usr/share/yum/yummain.py", line 22, in <module>     import clientstuff   file "/usr/share/yum/clientstuff.py", line 18, in <module>     import rpm importerror: no module named rpm 

almost, in every steps, getting errors. problem? yum useful package, seems installed not correctly.i have installed yum-2.0.7.

to install package on cygwin need use setup downloaded by
https://cygwin.com

see
https://cygwin.com/cygwin-ug-net/setup-net.html#setup-packages
how select packages.

yum not work , please note cygwin not linux. things works in same way not all.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -