LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-03-2007, 08:10 AM   #1
fooks
Member
 
Registered: Jan 2007
Location: Ukraine
Posts: 47

Rep: Reputation: 15
Compiling KDE4.0 on Fedora 7 fails on building kdepimlibs-3.92.0


Hi,

trying to test KDE 4.0 on my Fedora 7.

Downloaded *.tar.bz2 files from kde.org, and taken this url:
http://techbase.kde.org/Getting_Star...nd_Fedora_Core

as a guide to build and isntall KDE4.0

kdelibs went smoothly ('make' taken about 120minuts),
but unexpectedly got an error with making kdepimlibs:

Code:
$ make
...
/home/kde-devel/kdepimlibs-3.92.0/gpgme++/verificationresult.cpp: In member function ‘GpgME::Notation::Flags GpgME::Notation::flags() const’:
/home/kde-devel/kdepimlibs-3.92.0/gpgme++/verificationresult.cpp:399: error: ‘convert_from_gpgme_sig_notation_flags_t’ was not declared in this scope
make[2]: *** [gpgme++/CMakeFiles/gpgmepp.dir/verificationresult.o] Error 1
make[1]: *** [gpgme++/CMakeFiles/gpgmepp.dir/all] Error 2
make: *** [all] Error 2

I searched inet, but found no similar complaints.

So i did this as a temp workaround:

vi /home/kde-devel/kdepimlibs-3.92.0/gpgme++/util.h +72

and removed #ifdef, endif directives around convert_from_gpgme_sig_notation_flags_t() function:
Code:
//#ifdef HAVE_GPGME_SIG_NOTATION_FLAGS_T
static inline GpgME::Notation::Flags convert_from_gpgme_sig_notation_flags_t( unsigned int flags ) {
    unsigned int result = 0;
//#ifdef HAVE_GPGME_SIG_NOTATION_HUMAN_READABLE
    if ( flags & GPGME_SIG_NOTATION_HUMAN_READABLE ) result |= GpgME::Notation::HumanReadable ;
//#endif
//#ifdef HAVE_GPGME_SIG_NOTATION_CRITICAL
    if ( flags & GPGME_SIG_NOTATION_CRITICAL ) result |= GpgME::Notation::Critical ;
//#endif
    return static_cast<GpgME::Notation::Flags>( result );
}
//#endif
After doing so kdepimlibs were built successfully, and i`m making kdepim-3.92 now.


[root@fooks kdepimlibs-3.92.0]# cpp --version
cpp (GCC) 4.1.2 20070502 (Red Hat 4.1.2-12)
[root@fooks kdepimlibs-3.92.0]# c++ --version
c++ (GCC) 4.1.2 20070502 (Red Hat 4.1.2-12)


Not sure why this is a problem here, but i hope this info may help others.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Building DRBD into 2.6.17 Debian Fails technick Linux - Kernel 1 08-09-2006 01:10 PM
Compiling and Building where? matthewa Linux - General 7 06-24-2005 12:06 PM
building and compiling VCDImager-0.7.2 Kilahchris Linux - Software 0 05-17-2005 11:54 PM
Help with compiling/building RPM leisure Linux - Software 2 05-08-2005 11:18 PM
Wine fails after building font metrics : X error postb99 Linux - Software 2 07-29-2003 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration