[英]issues installing imagick for macOS
編輯:在一些進一步的錯誤之后,我被困在這個:
make: *** [imagick_file.lo] Error 1
ERROR: `make' failed
據我了解,這似乎是 PHP 版本的兼容性問題。 有沒有可能解決這個問題?
我在 macOS Catalina 10.15.7 上使用 XAMPP 來運行 PHP-testserver 並且需要安裝 imagick,但遇到了一些問題。
當我在終端中運行以下命令時:
pecl install imagick
...我收到一條錯誤消息:
WARNING: configuration download directory "/private/var/tmp/pear/download" is not writeable. Change download_dir config variable to a writeable dir to avoid this warning
downloading imagick-3.4.4.tgz ...
Starting to download imagick-3.4.4.tgz (253,434 bytes)
.....................................................done: 253,434 bytes
ERROR: failed to mkdir /usr/local/lib/php/doc/imagick/examples
我是一個絕對的初學者,所以我真的很感激,得到一些解釋,如何使這項工作。 非常感謝。
試試須藤
sudo pecl install imagick
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.