osx - Unbrewed Header Files -
i'll taking course @ university next semester in ocaml, i've decided install in advance. this, i've installed homebrew on os x. however, whenever try install opam receive error message:
unbrewed header files found in /usr/local/include. if didn't put them there on purpose cause problems when building homebrew formulae, , may need deleted.
unexpected header files:
/usr/local/include/libpng12/png.h /usr/local/include/libpng12/pngconf.h /usr/local/include/libpng14/png.h /usr/local/include/libpng14/pngconf.h /usr/local/include/libpng15/png.h /usr/local/include/libpng15/pngconf.h /usr/local/include/libpng15/pnglibconf.h i've tried removing these files manually, says gives me error message saying "permission denied." know how fix this? thanks.
you should think @ least little bit how files got there. don't want throw them away if they're useful.
if you're convinced don't need them can become super-user temporarily , remove them:
$ sudo mv /usr/local/include/libpng1[245] /tmp be extremely careful when typing (or any) sudo line. can mess things badly super powers.
when sudo asks password, type own password.
this work if "administrative" user of mac. there's @ least 1 administrative user.
what move files /tmp directory. if decide need them, can move them back. might want throw them away completely.
Comments
Post a Comment