User:Dan Nessett/Technical/Upgrade to 1.16

From Citizendium
Jump to navigation Jump to search


The account of this former contributor was not re-activated after the server upgrade of March 2022.


These notes contain information about upgrading to 1.16

PHP 5.3

See: http://www.webtatic.com/blog/2009/06/php-530-on-centos-5/

Commands:

sudo rpm -ivh http://repo.webtatic.com/yum/centos/5/`uname -i`/webtatic-release-5-1.noarch.rpm
sudo yum --disablerepo=* --enablerepo=webtatic update php

ImageMagick 6.6.2-10

Have to install from source, otherwise we get a whole bunch of dependency errors.

See: http://www.imagemagick.org/Usage/api/#building

Commands:

sudo yum groupinstall "Development Tools"
sudo yum install rpmdevtool libtool-ltdl-devel freetype-devel ghostscript-devel libwmf-devel lcms-devel bzip2-devel librsvg2 librsvg2-devel libtool-ltdl-devel autotrace-devel

Note: jasper-devel, liblpr-1, and liblqr-1-devel are not available in the configured repositories.

Now get the source RPM.

ftp://ftp.imagemagick.org/pub/ImageMagick/linux/SRPMS/

Click on:

ImageMagick-6.6.2-10.src.rpm

First, install some dependencies (not sure these are required, but I installed them trying to get 6.6.5-10 to work, so just to be sure install them):

sudo yum install libtiff-devel giflib-devel djvulibre-devel libXt-devel

Now build using the source rpm.

sudo nice rpmbuild --nodeps --rebuild  ImageMagick-6.6.2-10.src.rpm

Finally, install imagemagick:

sudo rpm -ihv --force --nodeps /usr/src/redhat/RPMS/i386/ImageMagick-6.6.2-10.i386.rpm 

Test to make sure everything went OK:

convert --version

This should result in the following output:

Version: ImageMagick 6.6.2-10 2010-11-01 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: