Bug 220734 - Installation errors - QGpgme
Summary: Installation errors - QGpgme
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-30 22:08 UTC by Bruce Wolfe
Modified: 2009-12-31 09:58 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Synaptic search for kdepim (323.17 KB, image/jpeg)
2009-12-31 00:33 UTC, Bruce Wolfe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruce Wolfe 2009-12-30 22:08:24 UTC
Version:            (using KDE 4.3.4)
OS:                Linux
Installed from:    Ubuntu Packages

Seem to be getting these error messages.  I have reinstalled KDEPim and its libraries but no avail on installation.

Please advise.

Before any package updates, I received this installation error message out of the box:

<code>

desktop:~/Downloads/Linux/Kubuntu/KMyMoney/kmymoney-3.95.0/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr/                                                                               
-- Found Qt-Version 4.5.2 (using /usr/bin/qmake)                                                    
-- Found X11: /usr/lib/libX11.so                                                                    
-- Phonon Version: 4.3.1                                                                            
-- Found KDE 4.3 include dir: /usr/include                                                          
-- Found KDE 4.3 library dir: /usr/lib                                                              
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler                          
-- Found automoc4: /usr/bin/automoc4                                                                
CMake Error at CMakeLists.txt:43 (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 /usr/share/cmake-2.6/Modules/FindPackageHandleStandardArgs.cmake:57 (MESSAGE):
  Could NOT find KdepimLibs (missing: KdepimLibs_CONFIG)                                     
Call Stack (most recent call first):                                                         
  /usr/share/kde4/apps/cmake/modules/FindKdepimLibs.cmake:76 (find_package_handle_standard_args)
  CMakeLists.txt:44 (find_package)                                                              


-- Configuring incomplete, errors occurred!

</code>

Then after reinstalling KDEPim and its libraries, I am now getting this error message when installing:

<code>
desktop:~/Downloads/Linux/Kubuntu/KMyMoney/kmymoney-3.95.0/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr/
-- Found Qt-Version 4.5.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Phonon Version: 4.3.1
-- Found KDE 4.3 include dir: /usr/include
-- Found KDE 4.3 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- No usable gpgme flavours found.
CMake Error at /usr/share/cmake-2.6/Modules/FindPackageHandleStandardArgs.cmake:57 (MESSAGE):
  Could NOT find QGpgme (missing: QGPGME_LIBRARY QGPGME_INCLUDE_DIR
  _QGPGME_EXTRA_LIBRARY)
Call Stack (most recent call first):
  /usr/share/kde4/apps/cmake/modules/FindQGpgme.cmake:44 (find_package_handle_standard_args)
  CMakeLists.txt:43 (find_package)


-- Configuring incomplete, errors occurred!

</code>

Please advise and thank you in advance.
Comment 1 Alvaro Soliverez 2009-12-30 23:09:15 UTC
Do you have the kdepimlibs headers installed?
Comment 2 Bruce Wolfe 2009-12-31 00:18:07 UTC
Unfortunately, I didn't set my shell for unlimited scrollback of history but it did show numerous warnings during the "make" process.  Finally, initiating "make install" it failed. 

As instructed, I used "sudo make install" for it to complete the final install process. Instead of making a notation, why not just include sudo in the instructions.

I will uninstall it and reinstall to get the total install log next week and post it.

Finally, I did general housekeeping and 'sudo apt-get autoremove'. Here it requested to remove libofx4.  I did perform it and then opened KMyMoney and it seems to operate fine.

Is libofx4 required?

This is a 'plain Jane' Kubuntu Karmic instance.

Thanks in advance.
Comment 3 Bruce Wolfe 2009-12-31 00:20:51 UTC
kdepimlibs headers is not in the current Ubuntu repositories. Should it be installed independently? I am grabbing the US server repository.
Comment 4 Bruce Wolfe 2009-12-31 00:33:27 UTC
Created attachment 39469 [details]
Synaptic search for kdepim

I don't see kdepimlibs-headers anywhere here.
Comment 5 Bruce Wolfe 2009-12-31 00:44:25 UTC
Upon further investigation, the descriptions of kdelibs shows that version 4 has the headers in it but version 5 makes no mention.

Did some bug and forum research to no avail on an answer.

Please advise. Thanks in advance.
Comment 6 claydoh 2009-12-31 01:10:10 UTC
Make sure kdelibs5-dev, kdepim-dev, libofx-dev are installed for starters.

There may be a boost-related dependency, but I cannot confirm which one as i am away from my Kubuntu system right now
Comment 7 Bruce Wolfe 2009-12-31 01:47:41 UTC
Will do.  
APT wants to continually remove libofx4 though. Thoughts?

Will these issues be on the roadmap? I realize we are still in beta here.
Comment 8 Alvaro Soliverez 2009-12-31 01:54:17 UTC
I think the correct package name is kdepimlibs5-dev.

About the mention to install with root or sudo. Not all distros work alike. Ubuntu/Debian use sudo, others use the root user. So, I had to either make the notation or include separate instructions.
Comment 9 Alvaro Soliverez 2009-12-31 01:57:37 UTC
what are you trying to install that conflicts with libofx?

There must be an issue somewhere in the way the Ubuntu packages are crafted.
Comment 10 Bruce Wolfe 2009-12-31 02:07:09 UTC
I just installed KMyMoney 3.95.  It wasn't a conflict per se but APT suggested that it is not needed anymore.  I think since it is recorded as being a dependent of KMyMoney2 and I uninstalled that there was no need to have it lying around any further.

May want to check in with that since many folks regularly 'sudo apt-get autoremove' and if it is needed, it shouldn't be uninstalled.

I am sure once KMM 3.x is out of beta all of this will be hashed out but maybe a good idea to include in the README files.

Okay, time to wrap up for the US New Year's holiday. Have a good one. Signing off.
Comment 11 Alvaro Soliverez 2009-12-31 09:58:12 UTC
It depends on the way you installed. What has probably happened is that you had libofx as a dependency of your previous KMyMoney package. When you upgraded, the new package didn't list libofx as a dependency, so it removed it. Libofx is an optional dependency, after all.