久々のbrew。。。wgetを入れたくて(^^)

なんやかやで、半年ぶりくらいにbrewを使いました(^^;

で、お決まりの

$sudo brew doctor

すると、いっぱいエラーが。。。orz

で、一つずつ潰していきました(^^)

Warning: /usr/local/lib/pkgconfig isn’t writable.

This can happen if you “sudo make install” software that isn’t managed by
by Homebrew. If a formula tries to write a file to this directory, the
install will fail during the link step.

You should probably chown /usr/local/lib/pkgconfig

$ ls -al /usr/local/lib
drwxr-xr-x 4 root wheel 136 5 1 14:55 pkgconfig

$sudo chown usersan /usr/local/lib/pkgconfig

Warning: Some directories in /usr/local/share/man aren’t writable.

This can happen if you “sudo make install” software that isn’t managed
by Homebrew. If a brew tries to add locale information to one of these
directories, then the install will fail during the link step.
You should probably chown them:

/usr/local/share/man/man8

$ ls -al /usr/local/share/man
total 8
drwxrwxr-x 5 root admin 170 8 20 12:43 .
drwxrwxr-x 7 root admin 238 9 4 2014 ..
drwxrwxr-x 22 root admin 748 8 20 17:14 man1
drwxr-xr-x 6 root admin 204 5 31 15:15 man8
-rw-r–r– 1 root admin 2581 8 20 12:43 whatis

$ sudo chown usersan /usr/local/share/man/man8
$ ls -al /usr/local/share/man
total 8
drwxrwxr-x 5 root admin 170 8 20 12:43 .
drwxrwxr-x 7 root admin 238 9 4 2014 ..
drwxrwxr-x 22 root admin 748 8 20 17:14 man1
drwxr-xr-x 6 usersan admin 204 5 31 15:15 man8
-rw-r–r– 1 root admin 2581 8 20 12:43 whatis

—-

Warning: Unbrewed header files were found in /usr/local/include.

If you didn’t put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
/usr/local/include/ImageMagick/magick/animate.h
/usr/local/include/ImageMagick/magick/annotate.h
/usr/local/include/ImageMagick/magick/api.h
/usr/local/include/ImageMagick/magick/artifact.h
/usr/local/include/ImageMagick/magick/blob.h
/usr/local/include/ImageMagick/magick/cache-view.h
/usr/local/include/ImageMagick/magick/cache.h
/usr/local/include/ImageMagick/magick/cipher.h
/usr/local/include/ImageMagick/magick/client.h
/usr/local/include/ImageMagick/magick/coder.h
/usr/local/include/ImageMagick/magick/color.h
/usr/local/include/ImageMagick/magick/colorspace.h
/usr/local/include/ImageMagick/magick/compare.h
/usr/local/include/ImageMagick/magick/composite.h
/usr/local/include/ImageMagick/magick/compress.h
/usr/local/include/ImageMagick/magick/configure.h
/usr/local/include/ImageMagick/magick/constitute.h
/usr/local/include/ImageMagick/magick/decorate.h
/usr/local/include/ImageMagick/magick/delegate.h
/usr/local/include/ImageMagick/magick/deprecate.h
/usr/local/include/ImageMagick/magick/display.h
/usr/local/include/ImageMagick/magick/distort.h
/usr/local/include/ImageMagick/magick/draw.h
/usr/local/include/ImageMagick/magick/effect.h
/usr/local/include/ImageMagick/magick/enhance.h
/usr/local/include/ImageMagick/magick/exception.h
/usr/local/include/ImageMagick/magick/fx.h
/usr/local/include/ImageMagick/magick/gem.h
/usr/local/include/ImageMagick/magick/geometry.h
/usr/local/include/ImageMagick/magick/hashmap.h
/usr/local/include/ImageMagick/magick/identify.h
/usr/local/include/ImageMagick/magick/image.h
/usr/local/include/ImageMagick/magick/ImageMagick.h
/usr/local/include/ImageMagick/magick/layer.h
/usr/local/include/ImageMagick/magick/list.h
/usr/local/include/ImageMagick/magick/locale_.h
/usr/local/include/ImageMagick/magick/log.h
/usr/local/include/ImageMagick/magick/magic.h
/usr/local/include/ImageMagick/magick/magick-config.h
/usr/local/include/ImageMagick/magick/magick-type.h
/usr/local/include/ImageMagick/magick/magick.h
/usr/local/include/ImageMagick/magick/MagickCore.h
/usr/local/include/ImageMagick/magick/matrix.h
/usr/local/include/ImageMagick/magick/memory_.h
/usr/local/include/ImageMagick/magick/methods.h
/usr/local/include/ImageMagick/magick/mime.h
/usr/local/include/ImageMagick/magick/module.h
/usr/local/include/ImageMagick/magick/monitor.h
/usr/local/include/ImageMagick/magick/montage.h
/usr/local/include/ImageMagick/magick/option.h
/usr/local/include/ImageMagick/magick/paint.h
/usr/local/include/ImageMagick/magick/pixel.h
/usr/local/include/ImageMagick/magick/prepress.h
/usr/local/include/ImageMagick/magick/PreRvIcccm.h
/usr/local/include/ImageMagick/magick/profile.h
/usr/local/include/ImageMagick/magick/property.h
/usr/local/include/ImageMagick/magick/quantize.h
/usr/local/include/ImageMagick/magick/quantum.h
/usr/local/include/ImageMagick/magick/random_.h
/usr/local/include/ImageMagick/magick/registry.h
/usr/local/include/ImageMagick/magick/resample.h
/usr/local/include/ImageMagick/magick/resize.h
/usr/local/include/ImageMagick/magick/resource_.h
/usr/local/include/ImageMagick/magick/segment.h
/usr/local/include/ImageMagick/magick/semaphore.h
/usr/local/include/ImageMagick/magick/shear.h
/usr/local/include/ImageMagick/magick/signature.h
/usr/local/include/ImageMagick/magick/splay-tree.h
/usr/local/include/ImageMagick/magick/statistic.h
/usr/local/include/ImageMagick/magick/stream.h
/usr/local/include/ImageMagick/magick/string_.h
/usr/local/include/ImageMagick/magick/threshold.h
/usr/local/include/ImageMagick/magick/timer.h
/usr/local/include/ImageMagick/magick/token.h
/usr/local/include/ImageMagick/magick/transform.h
/usr/local/include/ImageMagick/magick/type.h
/usr/local/include/ImageMagick/magick/utility.h
/usr/local/include/ImageMagick/magick/version.h
/usr/local/include/ImageMagick/magick/widget.h
/usr/local/include/ImageMagick/magick/xml-tree.h
/usr/local/include/ImageMagick/magick/xwindow.h
/usr/local/include/ImageMagick/Magick++/Blob.h
/usr/local/include/ImageMagick/Magick++/CoderInfo.h
/usr/local/include/ImageMagick/Magick++/Color.h
/usr/local/include/ImageMagick/Magick++/Drawable.h
/usr/local/include/ImageMagick/Magick++/Exception.h
/usr/local/include/ImageMagick/Magick++/Geometry.h
/usr/local/include/ImageMagick/Magick++/Image.h
/usr/local/include/ImageMagick/Magick++/Include.h
/usr/local/include/ImageMagick/Magick++/Montage.h
/usr/local/include/ImageMagick/Magick++/Pixels.h
/usr/local/include/ImageMagick/Magick++/STL.h
/usr/local/include/ImageMagick/Magick++/TypeMetric.h
/usr/local/include/ImageMagick/Magick++.h
/usr/local/include/ImageMagick/wand/animate.h
/usr/local/include/ImageMagick/wand/compare.h
/usr/local/include/ImageMagick/wand/composite.h
/usr/local/include/ImageMagick/wand/conjure.h
/usr/local/include/ImageMagick/wand/convert.h
/usr/local/include/ImageMagick/wand/deprecate.h
/usr/local/include/ImageMagick/wand/display.h
/usr/local/include/ImageMagick/wand/drawing-wand.h
/usr/local/include/ImageMagick/wand/identify.h
/usr/local/include/ImageMagick/wand/import.h
/usr/local/include/ImageMagick/wand/magick-image.h
/usr/local/include/ImageMagick/wand/magick-property.h
/usr/local/include/ImageMagick/wand/magick-wand.h
/usr/local/include/ImageMagick/wand/magick_wand.h
/usr/local/include/ImageMagick/wand/MagickWand.h
/usr/local/include/ImageMagick/wand/mogrify.h
/usr/local/include/ImageMagick/wand/montage.h
/usr/local/include/ImageMagick/wand/pixel-iterator.h
/usr/local/include/ImageMagick/wand/pixel-view.h
/usr/local/include/ImageMagick/wand/pixel-wand.h
/usr/local/include/ImageMagick/wand/stream.h
/usr/local/include/python2.6/sip.h

これは下記のディレクトリを消去しました。

/usr/local/include/ImageMagick/
/usr/local/include/python2.6/

で、このあと

$sudo brew update

以上です(^^)

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です