Compile image viewer geeqie in Centos 7
Geeqie is a lightweight Gtk+ based image viewer for Unix like operating systems. It is my preferred image viewer in Ubuntu but it is not available in Centos 7. Since there are no RPMs available you need to download the source and compile it yourself.
This HOWTO is most likely going to work on other CentOS versions as well.
The packages has some requirements you need to install before you begin to compile it
# yum groupinstall "Development Tools" # yum install gtk2-devel exiv2 lcms2 libchamplain
Unpack the source files
# tar xfz geeqie-1.1.tar.gz
# cd geeqie-1.1
Start creating the binaries needed to run geeqie
You might get the following error if you have forgotten to install the gtk2-devel package
*** Could not run GTK+ test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GTK+ is incorrectly installed. configure: error: GTK+ >= 2.4.0 not installed.
If you do not get any error messages you can continue to make the binary files
The final thing you can do is to install the geeqie binary
# make install
You can now run the geeqie image viewer by running the command