PhotoFlow icon indicating copy to clipboard operation
PhotoFlow copied to clipboard

Problem when gcc version is one digit

Open salvadhor opened this issue 8 years ago • 3 comments


CMake Error at src/external/exiv2/CMakeLists.txt:88 (list): list index: 1 out of range (-1, 0)

-- Compiler:c++ Major:7 Minor: -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes

Gcc version is 7.

salvadhor avatar Aug 11 '17 05:08 salvadhor

Hi! This looks more like an EXIV2 issue... could you please try and see if the same problem also affects the current EXIV2 code when compiled independently from PhotoFlow? If yes I would propose to also report the problem in the official EXIV2 issue tracker. Meanwhile I will try to find a proper fix for my bundled version, and eventually also send the fix upstream.

aferrero2707 avatar Aug 15 '17 20:08 aferrero2707

Hi! I have committed a fix to this problem in the stable branch. Could you try re-building the photoflow-git package in your PPA and see if the package can be generated correctly?

Thanks!

aferrero2707 avatar Aug 28 '17 13:08 aferrero2707

I also had the same problem while trying to compile Photoflow for fedora 26. As the GCC_MINOR variable is never used, I just removed it.

See my pexiv2 patch here: http://git.oleastre.be/?p=fedora-packages.git;a=blob_plain;f=PhotoFlow/0001-gcc-version-detection.path

oleastre avatar Aug 31 '17 07:08 oleastre