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.