Skip to content

Instantly share code, notes, and snippets.

@shekhargulati
Created January 8, 2013 17:19
Show Gist options
  • Save shekhargulati/4485762 to your computer and use it in GitHub Desktop.
Save shekhargulati/4485762 to your computer and use it in GitHub Desktop.
Install Exiv2 C++ Library on OpenShift
cd app-root/data/
mkdir exiv2
cd exiv2/
wget http://www.exiv2.org/exiv2-0.23.tar.gz
tar -zxvf exiv2-0.23.tar.gz
cd ..
mkdir installation
cd installation/
cd ..
cd exiv2-0.23
./configure --prefix=${abosulte location of installation directiory} --disable-static
make
make install
cd ../
cd installation/
cd bin/
wget http://www.exiv2.org/include/img_1771.jpg
./exiv2 img_1771.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment