-
-
Notifications
You must be signed in to change notification settings - Fork 172
Installation
兀雨書屋 vRain Bookstore edited this page Apr 17, 2026
·
5 revisions
- 下載安裝Strawberry Perl。
- 下載安裝ImageMagick-6.9.13-21-Q16-HDRI-x64-dll.rar(ImageMagick最新版本已經是v7,但CPAN對應的Image::Magick v7模塊在線安裝可能報編譯錯誤,C++編譯器找不到所需開發庫頭文件。)。
- 搜索下載ImageMagick-6.9.13對應版本的Perl模塊壓縮文件( 下载地址:https://imagemagick.org/archive/perl/ ),本地編譯安裝該模塊(perl Makefile.Pl; gmake; gmake install)。
- 用CPAN在線安裝其他Perl模塊(PDF::Builder等)。
- 下载源码(请替换为最新版本号)
- wget https://imagemagick.org/archive/ImageMagick-7.1.1-34.tar.gz
- tar -xzf ImageMagick-7.1.1-34.tar.gz
- cd ImageMagick-7.1.1-34
- 配置编译参数,这里同时安装了核心库和Perl模块
- ./configure --with-perl
- make
- sudo make install