Jul 22, 2013

[memo] jmagick 6.4.0 configure problem

I had to install jmagick 6.4.0. And I tried to install as the following.

tar xvzf /opt/jmagick-6.4.0-src.tar.gz -C /opt
chown -R root.root /opt/6.4.0
cd /opt/6.4.0
./configure --prefix=/opt/jmagick-6.4.0 --with-java-home=/opt/java/ --with-magick-home=/opt/imagemagick
make all
make install
rm /opt/jmagick
ln -s /opt/jmagick-6.4.0 /opt/jmagick
view raw jmagick.sh hosted with ❤ by GitHub


Jmagick dose not care "--with-java-home=/opt/java/". It just uses "/usr/bin/java javac javah jar".
So you need to link them to /usr/bin

#ln -s /opt/java/bin/java /usr/bin/java


No comments: