VIPS dzsave build from source on CentOS 7.0

VIPS is a great image processing system capable of working with very large images. In particular it is one of the easiest ways to create deepzoom image pyramids through the use of the dzsave feature.

Since 7.40 it now requires libgsf to be available for dzsave support. Without further ado here is my install process to build VIPS from source on CentOS 7.0:

libgsf [>=1.14.27 required for VIPS 7.40.10]

yum install gcc intltool libxml2-devel glib2-devel
cd /home/admin/Downloads/
tar -xf libgsf-1.14.30.tar.xz
cd libgsf-1.14.30
./configure --prefix=/usr --disable-static
make install

# this will install the libgsf-1.pc file into /usr/lib/ whereas pkg-config only checks /usr/lib64/pkgconfig/
# add this path to the PKG_CONFIG_PATH environment variable
export PKG_CONFIG_PATH=/usr/lib/pkgconfig/

# now check the pkg-config can see the installed version
pkg-config libgsf-1 --modversion
#> 1.14.30

VIPS [>=7.30 required for dzsave]

yum install gcc-c++ libxml2-devel glib2-devel libpng-devel libjpeg-devel libtiff-devel
cd /home/admin/Downloads/
tar -xf libgsf-1.14.30.tar.gz
cd vips-7.40.11
make install
# now check vips dzsave is available
vips dzsave --version
#> vips-7.40.11...

Load Comments...