Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/shell/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用自制shell安装imagemagik_Shell_Terminal_Imagemagick_Homebrew - Fatal编程技术网

使用自制shell安装imagemagik

使用自制shell安装imagemagik,shell,terminal,imagemagick,homebrew,Shell,Terminal,Imagemagick,Homebrew,当我运行时,我一直在尝试使用自制软件和终端将imagemagik安装到我的mac电脑上 $ brew install imagemagick 我明白了 ==> Installing imagemagick dependency: pkg-config ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/pkg-config-0.27.1.lion.bottle.tar.gz curl: (52)

当我运行时,我一直在尝试使用自制软件和终端将imagemagik安装到我的mac电脑上

$ brew install imagemagick
我明白了

==> Installing imagemagick dependency: pkg-config
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/pkg-config-0.27.1.lion.bottle.tar.gz

curl: (52) Empty reply from server
Error: Download failed: https://downloads.sf.net/project/machomebrew/Bottles/pkg-config-0.27.1.lion.bottle.tar.gz
这仅仅是因为sourge force的一部分没有响应,还是我这边的错误,我以前没有看到服务器的52个空回复,这类似于500个错误


为了记录在案,我正在运行最新的xcode和lion

SourceForge sf.net是。

您是否设置了代理以访问web

我安装了ImageMagick。首先,我收到了错误消息:

==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/imagemagick-6.8.0-

curl: (56) Recv failure: Connection reset by peer
这一原因可能是由中国的GFW引起的。然后我使用了一个sock服务器并设置了http_代理,我得到了与您类似的错误消息:

curl: (52) Empty reply from server
最后,我通过添加-socks5127.0.0.1:1080修改了HOME/.curlrc,并成功地重新安装了ImageMagick