installing PythonMagick
Posted: 2019-05-17T01:24:16-07:00
I have a PHP script which uses ImageMagick routines to manipulate images.
I am converting this script to Python-3.6 on Ubuntu_18.04.
I have tried "import ImageMagick" and lots of variations, all not found.
Then I discovered PythonMagick, also "not found"
so I downloaded http://www.imagemagick.org/download/pyt ... 19.tar.bz2 ,
unzipped it
cd /.../PythonMagick-0.9.19
./configure
which gives:
====
...
checking whether the Boost::Python library is available... no
checking for boostlib >= 1.20.0... configure: We could not detect the boost libraries (version 1.20 or higher). If you have a staged boost library (still not installed) please specify $BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.
checking whether the Boost::Python library is available... (cached) no
checking for MAGICKCORE... no
configure: error: Package requirements (MagickCore >= 6.8.6) were not met:
No package 'MagickCore' found
====
Why are "core" components of the package not in the download?
Why are binaries of the newest (or any) library not in the Ubuntu repository or at least in ImageMagick's repository?
So I installed imagemagick-6.q16 (6.9.7) but ./configure still couldn't find MagickCore.
I am converting this script to Python-3.6 on Ubuntu_18.04.
I have tried "import ImageMagick" and lots of variations, all not found.
Then I discovered PythonMagick, also "not found"
so I downloaded http://www.imagemagick.org/download/pyt ... 19.tar.bz2 ,
unzipped it
cd /.../PythonMagick-0.9.19
./configure
which gives:
====
...
checking whether the Boost::Python library is available... no
checking for boostlib >= 1.20.0... configure: We could not detect the boost libraries (version 1.20 or higher). If you have a staged boost library (still not installed) please specify $BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.
checking whether the Boost::Python library is available... (cached) no
checking for MAGICKCORE... no
configure: error: Package requirements (MagickCore >= 6.8.6) were not met:
No package 'MagickCore' found
====
Why are "core" components of the package not in the download?
Why are binaries of the newest (or any) library not in the Ubuntu repository or at least in ImageMagick's repository?
So I installed imagemagick-6.q16 (6.9.7) but ./configure still couldn't find MagickCore.