leafo / magick

Lua bindings to ImageMagick for LuaJIT using FFI
401 stars 79 forks source link

How to install with CentOS 6.6 #41

Open stefanmonkey opened 7 years ago

stefanmonkey commented 7 years ago

How to install with CentOS 6.6 Online production environment is CentOS 6.6, not ubuntu / Debian

nosun commented 7 years ago

the same question

nosun commented 7 years ago

I have already fixed the issue.

yum install ImageMagick ImageMagick-devel  # imagemagick c 库
yum install GraphicsMagick-devel           # GraphicsMagick c 库

yum install luarocks
luarocks install magick

maybe you need link the package ,you can read this article for more infomation http://leafo.net/guides/customizing-the-luarocks-tree.html