110x Filetype PDF File size 1.67 MB Source: shishikui-lab.sakura.ne.jp
MacへのImageMagickインストール 2021.2.19 1. xcodeのインストール AppStoreで探す 6GB以上の容量。ダウンロード、インストールに非常に時間がかかる(2時間以上) 2. Homebrewのインストール https://brew.sh/index_ja を開く /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" をコピー Macのターミナルを開く 上記コマンドをペーストしてリターン 数分して終わったら brew -v で動作チェック 他に、brewの動作がおかしい時は brew doctor を実行して、出てきたメッセージを読む。 3. Imagemagickのインストール ターミナルで brew install imagemagick を入力する。 文句が色々出ていたので、brew doctorを実行。 Warning: Some taps are not on the default git origin branch and may not receive updates. If this is a surprise to you, check out the default branch with: git -C $(brew --repo homebrew/core) checkout master Warning: Your Xcode is configured with an invalid path. You should change it to the correct path: sudo xcode-select --switch /Applications/Xcode.app などと出てきたので、 sudo xcode-select --switch /Applications/Xcode.app をタイプしたらできるようになった shishikui@MacBook-Pro ~ % brew install imagemagick ==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.37.arm64_big_sur.bott ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/766a7136ee626b411fb63da0c7 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/freetype-2.10.4.arm64_big_sur.bo ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/0d3385d0d11a5d0198c09bfb77 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/jpeg-9d.arm64_big_sur.bottle.tar ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/e511143cd72a76572dabe52cef ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/libtiff-4.2.0.arm64_big_sur.bott ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/50c09c0a4328c2625147ea7837 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/ghostscript-9.53.3_1.arm64_big_s ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/e1a01add6b5692ebfd462591db ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/aom-2.0.2.arm64_big_sur.bottle.t ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/f17ad0f61eef16b08826918342 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/libde265-1.0.8.arm64_big_sur.bot ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/856e3db9a951f15fc2e3c416dd ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/gettext-0.21.arm64_big_sur.bottl ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/339b62b52ba86dfa73091d3734 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/libffi-3.3_2.arm64_big_sur.bottl ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/pcre-8.44.arm64_big_sur.bottle.t ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/e70ba0f6ae7f9ef638f4564d6b ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/pkg-config-0.29.2_3.arm64_big_su ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/ffd4491f62201d14b7eca6beff ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/gdbm-1.18.1_1.arm64_big_sur.bott ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/801b2bf95118871ee206de5071 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/openssl%401.1-1.1.1j.arm64_big_s ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/f8b99ea0ad2a19855aab784122 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/readline-8.1.arm64_big_sur.bottl ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/940e7c2b80ef7f59b26726a566 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/sqlite-3.34.0.arm64_big_sur.bott ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/0a8e636f4fe9870f64c15b40fa ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/tcl-tk-8.6.11_1.arm64_big_sur.bo ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/81f1041b639d8e6b8d78652269 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/xz-5.2.5.arm64_big_sur.bottle.ta ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/c84206005787304416ed81094b ######################################################################## 100.0% Warning: Building python@3.9 from source: The bottle needs the Apple Command Line Tools to be installed. You can install them, if desired, with: xcode-select --install ==> Downloading https://files.pythonhosted.org/packages/84/48/5c99d8770fd0a9eb0f82654 ######################################################################## 100.0% ==> Downloading https://files.pythonhosted.org/packages/b7/2d/ad02de84a4c9fd3b1958dc9 ######################################################################## 100.0% ==> Downloading https://files.pythonhosted.org/packages/ed/46/e298a50dde405e1c202e316 ######################################################################## 100.0% ==> Downloading https://www.python.org/ftp/python/3.9.1/Python-3.9.1.tar.xz ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/glib-2.66.7.arm64_big_sur.bottle ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/601f19d91192c89a80611d4b5d ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/docbook-5.1_1.arm64_big_sur.bott ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/53a9dc79db8b2d06dc75009d5d ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/docbook-xsl-1.79.2_1.arm64_big_s ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/9604b8989c3cc180c641b00f59 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/gnu-getopt-2.36.2.arm64_big_sur. ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/xmlto-0.0.28.arm64_big_sur.bottl ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/shared-mime-info-2.1.arm64_big_s ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/c2c98a7a02e1b23f5c7f7baafe ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/x265-3.4_2.arm64_big_sur.bottle. ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/89918f59466d00820cd7e978c8 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/libheif-1.11.0.arm64_big_sur.bot ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/6d4a4ac2d0947af84d7987c706 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/liblqr-0.4.2_1.arm64_big_sur.bot ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/libomp-11.0.1.arm64_big_sur.bott ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/e4bfe9b5a62d5f1a3d09e9ae24 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/libtool-2.4.6_2.arm64_big_sur.bo ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/c4f95f52617ef0d9a6ec19b5c5 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/little-cms2-2.12.arm64_big_sur.b ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/83c79aaa225d6363154151a6b1 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/ilmbase-2.5.5.arm64_big_sur.bott ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/f465c8e3f824777ab727d17e11 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/openexr-2.5.5.arm64_big_sur.bott ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/b484c97399b2317707c2685fce ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/openjpeg-2.4.0.arm64_big_sur.bot ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/b57a02c3bc4ee8a43e47df5015 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/webp-1.2.0.arm64_big_sur.bottle. ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/dd6e09db88a5d8a1317ea461fa ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/imagemagick-7.0.11-0.arm64_big_s ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/4387cfdac0516df057960f2a5e ######################################################################## 100.0% ==> Installing dependencies for imagemagick: libpng, freetype, jpeg, libtiff, ghostscript, aom, libde265, gettext, libffi, pcre, pkg-config, gdbm, openssl@1.1, readline, sqlite, tcl-tk, xz, python@3.9, glib, docbook, docbook-xsl, gnu-getopt, xmlto, shared-mime-info, x265, libheif, liblqr, libomp, libtool, little-cms2, ilmbase, openexr, openjpeg and webp ==> Installing imagemagick dependency: libpng ==> Pouring libpng-1.6.37.arm64_big_sur.bottle.tar.gz /opt/homebrew/Cellar/libpng/1.6.37: 27 files, 1.3MB ==> Installing imagemagick dependency: freetype ==> Pouring freetype-2.10.4.arm64_big_sur.bottle.tar.gz /opt/homebrew/Cellar/freetype/2.10.4: 64 files, 2.3MB ==> Installing imagemagick dependency: jpeg ==> Pouring jpeg-9d.arm64_big_sur.bottle.tar.gz /opt/homebrew/Cellar/jpeg/9d: 21 files, 1001.2KB ==> Installing imagemagick dependency: libtiff ==> Pouring libtiff-4.2.0.arm64_big_sur.bottle.tar.gz /opt/homebrew/Cellar/libtiff/4.2.0: 248 files, 4.7MB ==> Installing imagemagick dependency: ghostscript ==> Pouring ghostscript-9.53.3_1.arm64_big_sur.bottle.tar.gz /opt/homebrew/Cellar/ghostscript/9.53.3_1: 668 files, 88.8MB ==> Installing imagemagick dependency: aom ==> Pouring aom-2.0.2.arm64_big_sur.bottle.tar.gz /opt/homebrew/Cellar/aom/2.0.2: 22 files, 6.5MB ==> Installing imagemagick dependency: libde265 ==> Pouring libde265-1.0.8.arm64_big_sur.bottle.tar.gz /opt/homebrew/Cellar/libde265/1.0.8: 22 files, 2.4MB ==> Installing imagemagick dependency: gettext ==> Pouring gettext-0.21.arm64_big_sur.bottle.tar.gz /opt/homebrew/Cellar/gettext/0.21: 1,953 files, 20.8MB ==> Installing imagemagick dependency: libffi ==> Pouring libffi-3.3_2.arm64_big_sur.bottle.tar.gz ==> Caveats libffi is keg-only, which means it was not symlinked into /opt/homebrew, because macOS already provides this software and installing another version in parallel can cause all kinds of trouble. For compilers to find libffi you may need to set: export LDFLAGS="-L/opt/homebrew/opt/libffi/lib" export CPPFLAGS="-I/opt/homebrew/opt/libffi/include" ==> Summary /opt/homebrew/Cellar/libffi/3.3_2: 17 files, 617.4KB ==> Installing imagemagick dependency: pcre ==> Pouring pcre-8.44.arm64_big_sur.bottle.tar.gz /opt/homebrew/Cellar/pcre/8.44: 204 files, 4.6MB ==> Installing imagemagick dependency: pkg-config ==> Pouring pkg-config-0.29.2_3.arm64_big_sur.bottle.tar.gz /opt/homebrew/Cellar/pkg-config/0.29.2_3: 11 files, 676.9KB ==> Installing imagemagick dependency: gdbm ==> Pouring gdbm-1.18.1_1.arm64_big_sur.bottle.tar.gz /opt/homebrew/Cellar/gdbm/1.18.1_1: 25 files, 876.2KB ==> Installing imagemagick dependency: openssl@1.1 ==> Pouring openssl@1.1-1.1.1j.arm64_big_sur.bottle.tar.gz ==> Caveats A CA file has been bootstrapped using certificates from the system keychain. To add additional certificates, place .pem files in /opt/homebrew/etc/openssl@1.1/certs and run /opt/homebrew/opt/openssl@1.1/bin/c_rehash openssl@1.1 is keg-only, which means it was not symlinked into /opt/homebrew, because macOS provides LibreSSL. If you need to have openssl@1.1 first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/openssl@1.1/bin:$PATH"' >> ~/.zshrc For compilers to find openssl@1.1 you may need to set: export LDFLAGS="-L/opt/homebrew/opt/openssl@1.1/lib" export CPPFLAGS="-I/opt/homebrew/opt/openssl@1.1/include"
no reviews yet
Please Login to review.