tce-load -i compiletc cmake expat2-dev curl-dev https://www.exiv2.org/releases/exiv2-0.25.tar.gz cd exiv2-0.25 mkdir build-exiv cd build-exiv cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe " -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE -DEXIV2_ENABLE_VIDEO=no -DEXIV2_ENABLE_WEBREADY=yes -DEXIV2_ENABLE_CURL=yes -DEXIV2_ENABLE_SSH=no -DEXIV2_BUILD_SAMPLES=no -G "Unix Makefiles" ../ [-fno-exceptions fails] make [1m 48.84s] sudo make install -- ------------------------------------------------------------------ -- exiv2 0.25 configure results -- Building PNG support: YES -- Building shared library: YES -- XMP metadata support: YES -- Building static libxmp: YES -- Native language support: YES -- Conversion of Windows XP tags: YES -- Nikon lens database: YES -- Commercial build: NO -- Build the unit tests: YES -- Building translations files: NO -- Building video support: NO -- Building webready support: YES -- USE Libcurl for HttpIo: YES -- USE Libssh for SshIo: NO -- ------------------------------------------------------------------