Page 1 of 1

[SOLVED] Install from Source, failing on Ubuntu 18.04, no, wait...

Posted: 2019-09-19T11:48:38-07:00
by E. Fudd Wabbitwy
Following a mixture of steps on:
https://www.imagemagick.org/script/install-source.php

and
https://www.imagemagick.org/discourse-s ... 13#p141468

I did the following, to install ImageMagick from source...
% wget https://www.imagemagick.org/download/ImageMagick.tar.gz
% tar xvf ImageMagick.tar.gz
% cd ImageMagick[-7.0.8-65]/
#%./configure --with-modules --enable-shared --with-perl # Fails, but only need perl
#%./configure # plain install; worked, but need perl API
% ./configure --with-perl
% make
% sudo make install # Fails, "/usr/bin/ld: cannot find -lperl"

Hunting around the net, inspecting local files esp. Makefile*, and reading between imaginary lines, I conclude that there's a Missing Link, and
AFTER running
% perl --version
to double-check its version, add a symlink:
% cd /usr/lib/; ln -s x86_64-linux-gnu/libperl.so.5.26.1 ./libperl.so

After that,
% sudo make install
seems to have proceeded to a correct finish.

Re: [SOLVED] Install from Source, failing on Ubuntu 18.04, no, wait...

Posted: 2019-09-19T11:51:57-07:00
by E. Fudd Wabbitwy
per the other thread:
* the Image::Magick->get('version') reported is 7.0.8
* the list Image::Magick's methods "suddenly", after a half-day's work, includes SetPixels()

Re: [SOLVED] Install from Source, failing on Ubuntu 18.04, no, wait...

Posted: 2019-09-20T11:51:57-07:00
by E. Fudd Wabbitwy
I was premature in marking this solved, but I found instructions for specifically installing into Ubuntu 18.04, and when I followed those, I found success.

(Details in another thread.)