[kmymoney4] [Bug 375076] New: Build failure for kgpgfile.cpp

Ian Neal bugzilla_noreply at kde.org
Sun Jan 15 05:13:11 UTC 2017


            Bug ID: 375076
           Summary: Build failure for kgpgfile.cpp
           Product: kmymoney4
           Version: git (master)
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: file
          Assignee: kmymoney-devel at kde.org
          Reporter: iann_bugzilla at blueyonder.co.uk
  Target Milestone: ---

Building on Fedora 25:
cmake picks up that kf5-gpgmepp-devel is installed
GpgME Encryption:                        yes

When I try to compile in the build directory, I get the following:
[  0%] Building CXX object libkgpgfile/CMakeFiles/kgpgfile.dir/kgpgfile.cpp.o
/src/kmymoney/kmymoney4/kmymoney/libkgpgfile/kgpgfile.cpp:40:29: fatal error:
gpgme++/context.h: No such file or directory
 #include <gpgme++/context.h>

If I set CPLUS_INCLUDE_PATH=/usr/include/KF5:/usr/include/KF5/gpgme++
then the compile does get passed two errors.

Later it then produces:
[ 63%] Linking CXX executable kmymoney
/usr/bin/ld: cannot find -lGpgmepp
collect2: error: ld returned 1 exit status
kmymoney/CMakeFiles/kmymoney.dir/build.make:271: recipe for target
'kmymoney/kmymoney' failed
make[2]: *** [kmymoney/kmymoney] Error 1
CMakeFiles/Makefile2:501: recipe for target
'kmymoney/CMakeFiles/kmymoney.dir/all' failed
make[1]: *** [kmymoney/CMakeFiles/kmymoney.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

You are receiving this mail because:
You are the assignee for the bug.

More information about the KMyMoney-devel mailing list