This forum has been archived. All content is frozen. Please use KDE Discuss instead.

qgpgme not found

Tags: None
(comma "," separated)
DeveloperChris
Registered Member
Posts
4
Karma
0

qgpgme not found

Sun May 22, 2011 11:37 am
Hi All

As an intro I am trying (trying the operative word here) to compile kmymoney on windows. I am using the emerge tool to compile kmymoney and all its dependencies.
I also want to compile kdevelop so I can work on kmymoney.

I don't seem to be having much luck, its been a week now and I am constantly running into bugs which prevent compilation. I have slowly worked through each one except I gave up on kdevelop because I cant find the library that exports the fcntl function. It appears to have been deliberately left out of the windows build and no dummy inserted in its place.

So I gave up and thought I'd go for something with less dependencies such as kmymoney

This time the error message is


Code: Select all
CMake Error at CMakeLists.txt:65 (find_package):
  Could not find module FindQGpgme.cmake or a configuration file for package
  QGpgme.

  Adjust CMAKE_MODULE_PATH to find FindQGpgme.cmake or set QGpgme_DIR to the
  directory containing a CMake configuration file for QGpgme.  The file will
  have one of the following names:

    QGpgmeConfig.cmake
    qgpgme-config.cmake



CMake Error at g:/kderoot/share/apps/cmake/modules/FindPackageHandleStandardArgs.cmake:198 (MESSAGE):
  Could NOT find KdepimLibs (missing: KdepimLibs_CONFIG)
Call Stack (most recent call first):
  g:/kderoot/share/apps/cmake/modules/FindKdepimLibs.cmake:82 (find_package_handle_standard_args)
  CMakeLists.txt:66 (find_package)


-- Configuring incomplete, errors occurred!


I can find the FindQGpgme.cmake. If I add it to CMAKE_MODULE_PATH as suggested then I get...

Code: Select all
CMake Error at g:/kderoot/share/apps/cmake/modules/FindPackageHandleStandardArgs.cmake:198 (MESSAGE):
  Could NOT find QGpgme (missing: QGPGME_LIBRARY QGPGME_INCLUDE_DIR
  _QGPGME_EXTRA_LIBRARY)
Call Stack (most recent call first):
  g:/kderoot/git/kdepimlibs/cmake/modules/FindQGpgme.cmake:44 (find_package_handle_standard_args)
  CMakeLists.txt:65 (find_package)


-- Configuring incomplete, errors occurred!
emerge fatal error: while running configure cmd: cmake -G "MinGW Makefiles"  -DCMAKE_INSTALL_PREFIX="g:/kderoot" -DCMAKE
_INCLUDE_PATH="g:/kderoot/include" -DCMAKE_LIBRARY_PATH="g:/kderoot/lib" -DCMAKE_PREFIX_PATH="g:/kderoot" -DCMAKE_BUILD_
TYPE=RelWithDebInfo "g:\kderoot\svn\trunk\extragear\office\kmymoney"
emerge fatal error: running python g:\kderoot\emerge\portage\extragear\kmymoney\kmymoney-20110218.py compile
09:04 PM


This stumps me I don't know where to go from here.

Can anyone lend any assistance?

DC.

P.S. I tried the binary install using kdewin-installer-xxxx.exe but when I tried to download the source files for kmymoney it would simply complain there is a kde application running and quit. even if there was nothing other than itself running. I even tried in safe mode.

p.p.s EMERGE_DEFAULTCATEGORY=kde-4.6
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: qgpgme not found

Sun May 22, 2011 9:12 pm
Have you tried emerging qgpgme seperately? It's dependency might not be set properly.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
DeveloperChris
Registered Member
Posts
4
Karma
0

Re: qgpgme not found

Mon May 23, 2011 2:19 am
Thanks

I managed to get past this one, exactly what fixed it I am not sure. the main thing I did was to reinstall kdepimlib. with an emerge -i kdepimlibs magically the next time I ran merge kmymoney qgpgme was there, wtf!

I am slowly coming to grips with this process. but it appears there are a few gremlins to be gotten out of the way.

I now have to locate pmir as it seems the old sourceforge link is returning a 404

Code: Select all
emerge debug: EmergeBase.execute called. args: ['g:\\kderoot\\emerge\\portage\\win32libs-bin\\mpir\\mpir-2.3.0.py', 'fet
ch']
emerge debug: ArchiveSource.fetch called
emerge debug: ArchiveSource.localFileNamesBase called
emerge debug: getfiles called. urls: http://downloads.sourceforge.net/kde-windows/mpir-mingw4-2.3.0-bin.tar.bz2
http://downloads.sourceforge.net/kde-windows/mpir-mingw4-2.3.0-lib.tar.bz2

emerge debug: getFile called. url: http://downloads.sourceforge.net/kde-windows/mpir-mingw4-2.3.0-bin.tar.bz2
emerge debug: wgetfile called
emerge debug: executing command: g:\kderoot\dev-utils\bin\wget.exe --no-check-certificate -c -t 10  -P g:\kderoot\downlo
ad http://downloads.sourceforge.net/kde-windows/mpir-mingw4-2.3.0-bin.tar.bz2
--2011-05-23 11:46:18--  http://downloads.sourceforge.net/kde-windows/mpir-mingw4-2.3.0-bin.tar.bz2
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-05-23 11:46:18 ERROR 404: Not Found.

emerge debug: wget ret: False
emerge fatal error: command fetch failed


Sigh!

:)
DC
DeveloperChris
Registered Member
Posts
4
Karma
0

Re: qgpgme not found  Topic is solved

Tue May 24, 2011 4:01 am
It seems the filenames on sourceforge where changed.
I added -x86 to the filename and the download occured correctly

Finally KMyMoney was built and works. A few minor issues such as the quality of the graphs is appalling. but I am pretty pleased other than that.

Now its on to kdevelop, and that's a story for another thread...

DC


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, mickae, Sogou [Bot]