From kmail-devel Thu Mar 01 14:41:39 2007 From: Andreas Gungl Date: Thu, 01 Mar 2007 14:41:39 +0000 To: kmail-devel Subject: Re: KDE4 configure problem Message-Id: <200703011541.40007 () osp-dd ! de> X-MARC-Message: https://marc.info/?l=kmail-devel&m=117276019725491 Am Thursday 01 March 2007 schrieb David Faure: > On Thursday 01 March 2007, Andreas Gungl wrote: > > Hello, > > > > I wanted to compile kdepim in trunk. I hadn't the development package > > for gpgme installed on my OpenSUSE 10.2 box. > > The configuration run didn't explicitely complain about that, it just > > didn't create the kmail directory (plus some more). Of course, one can > > find the reason checking the checks' results one by one. > > > > There are a lot of checks and information about optional packages. So > > there should be a clear statement if gpgme cannot be found. > > The code in trunk already says > if(UNIX) >   find_package(Gpgme REQUIRED) > else(UNIX) > > so you should get an error when gpgme isn't there, not just a kdepim > without kmail. gungl@gungl:~> rpm -qa | grep gpgme gpgme-1.1.2-28 gpgme-devel-1.1.2-28 <== problematic package If I don't install the gpgme-devel-1.1.2-28 package, I get errors in the checks for gpgme. -- Performing Test HAVE_GPGME_KEYLIST_MODE_VALIDATE - Failed -- Performing Test HAVE_GPGME_CANCEL - Failed -- Performing Test HAVE_GPGME_KEY_T_KEYLIST_MODE - Failed -- Performing Test HAVE_GPGME_WRONG_KEY_USAGE - Failed -- Performing Test HAVE_GPGME_INCLUDE_CERTS_DEFAULT - Failed -- Performing Test HAVE_GPGME_KEY_T_IS_QUALIFIED - Failed -- Performing Test HAVE_GPGME_SUBKEY_T_IS_QUALIFIED - Failed After installing the package, everything is fine. if you need more info, please let me know. Here we go (full yconfigure log with missing gpgme headers, "prepare" is a helper scrcipt to simplify the configure command): domino@gungl:~/kde-build/kdepim> ls prepare domino@gungl:~/kde-build/kdepim> cmake /home/domino/kde-svn/trunk/KDE/kdepim -DCMAKE_INSTALL_PREFIX=/opt/my-kde4 -DCMAKE_BUILD_TYPE=debugfull -- Check for working C compiler: /opt/icecream/bin/gcc -- Check for working C compiler: /opt/icecream/bin/gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: /opt/icecream/bin/c++ -- Check for working CXX compiler: /opt/icecream/bin/c++ -- works -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Found Qt-Version 4.2.2 -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib/libX11.so -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Performing Test HAVE_FPIE_SUPPORT -- Performing Test HAVE_FPIE_SUPPORT - Success -- Performing Test __KDE_HAVE_NO_THREADSAFE_STATICS -- Performing Test __KDE_HAVE_NO_THREADSAFE_STATICS - Success -- Performing Test __KDE_HAVE_GCC_VISIBILITY -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success -- Found KDE4 include dir: /opt/my-kde4/include -- Found KDE4 library dir: /opt/my-kde4/lib -- Found KDE4 kconfig_compiler preprocessor: /opt/my-kde4/bin/kconfig_compiler -- Found KDE PIM libraries -- Found ZLIB: /usr/lib/libz.so -- Found sasl2: /usr/lib/libsasl2.so -- Performing Test HAVE_MYSQL_OPT_EMBEDDED_CONNECTION -- Performing Test HAVE_MYSQL_OPT_EMBEDDED_CONNECTION - Failed -- MySQL not found. -- MySQL Embedded not found. -- Found LibXslt: /usr/lib/libxslt.so -- Check size of long -- Check size of long - done -- Check size of unsigned long -- Check size of unsigned long - done -- Performing Test HAVE_GPGME_KEYLIST_MODE_VALIDATE -- Performing Test HAVE_GPGME_KEYLIST_MODE_VALIDATE - Failed -- Performing Test HAVE_GPGME_CANCEL -- Performing Test HAVE_GPGME_CANCEL - Failed -- Performing Test HAVE_GPGME_KEY_T_KEYLIST_MODE -- Performing Test HAVE_GPGME_KEY_T_KEYLIST_MODE - Failed -- Performing Test HAVE_GPGME_WRONG_KEY_USAGE -- Performing Test HAVE_GPGME_WRONG_KEY_USAGE - Failed -- Performing Test HAVE_GPGME_INCLUDE_CERTS_DEFAULT -- Performing Test HAVE_GPGME_INCLUDE_CERTS_DEFAULT - Failed -- Performing Test HAVE_GPGME_KEY_T_IS_QUALIFIED -- Performing Test HAVE_GPGME_KEY_T_IS_QUALIFIED - Failed -- Performing Test HAVE_GPGME_SUBKEY_T_IS_QUALIFIED -- Performing Test HAVE_GPGME_SUBKEY_T_IS_QUALIFIED - Failed -- Looking for include files HAVE_EXECINFO_H -- Looking for include files HAVE_EXECINFO_H - found -- Found OpenSSL: /usr/lib/libssl.so -- Looking for include files HAVE_MALLOC_H -- Looking for include files HAVE_MALLOC_H - found -- Looking for include files HAVE_ERR_H -- Looking for include files HAVE_ERR_H - found -- Newsticker Kontact plugins disabled. -- kweather plugins will not compile. Kdetoys must be install before to compile it -- Kolab and GroupWise resources are disabled. -- Looking for include files HAVE_SYS_LIMITS_H -- Looking for include files HAVE_SYS_LIMITS_H - not found. -- Looking for include files HAVE_VALUES_H -- Looking for include files HAVE_VALUES_H - found -- disabled networkstatus -- ---------------------------------------------------------------------------------- -- The following list of OPTIONAL packages were located on your system. -- -- You will have all the following features available from this software. -- ---------------------------------------------------------------------------------- > X Development: X Window Development Screen Saver Library; http://xorg.freedesktop.org; Required to build the KTimeTracker Program > cyrus-sasl: Cyrus SASL API; http://asg.web.cmu.edu/sasl/sasl-library.html; Needed to support authentication of logins > xsltproc: xsltproc; http://xmlsoft.org/XSLT/; Needed to generate Akonadi database code ---------------------------------------------------------------------------------- -- The following list of OPTIONAL packages could not be located on your system. -- -- Please consider installing them to enable more features of this software. -- ---------------------------------------------------------------------------------- > boost: Boost C++ Development Libraries; http://www.boost.org; Needed to support the full text indexing feature in KMail > gnokii: Gnokii Development Libraries; http://www.gnokii.org; Needed to provide the ability to import and export KDE addressbook entries to/from mobile phones that are accessible via gnokii > mysql-embedded: MySQL/Embedded Library; http://www.mysql.org; Needed for the MySQL/Embedded Akonadi backend. Sqlite will be used instead. -- Configuring done -- Generating done -- Build files have been written to: /home/domino/kde-build/kdepim domino@gungl:~/kde-build/kdepim> ls CMakeCache.txt Makefile cmake config.h indexlib kalarm kioslave knotes korn ktnef libkholidays libkpimidentities mimelib CMakeFiles akonadi cmake_install.cmake console kabc kdgantt kmailcvt kode kresources lib libkholidays_ng libksieve prepare DartTestfile.txt akregator cmake_uninstall.cmake doc kaddressbook kfile-plugins knode kontact ktimetracker libkdepim libkpgp mailtransport domino@gungl:~/kde-build/kdepim> _______________________________________________ KMail developers mailing list KMail-devel@kde.org https://mail.kde.org/mailman/listinfo/kmail-devel