[Kde-pim] Problem compiling kdepim

Jordi De Groof jordi.degroof at gmail.com
Fri Sep 12 18:14:10 BST 2008


> > > > > Whenever I try to compile kdepim, I get the following error:
> > > > >
> > > > > [  9%] Building CXX object
> > > > > libkdepim/CMakeFiles/kdepim.dir/kemailquotinghighter.o
> > > > > In file included from
> > > > > /home/jordi/kdepim/kdepim/libkdepim/kemailquotinghighter.cpp:25:
> > > > > /home/jordi/kdepim/kdepim/libkdepim/kmeditor.h:53: error: expected
> > > > > class-name before '{' token
> > > > > make[2]: ***
> > > > > [libkdepim/CMakeFiles/kdepim.dir/kemailquotinghighter.o] Error 1
> > > > > make[1]: *** [libkdepim/CMakeFiles/kdepim.dir/all] Error 2
> > > > > make: *** [all] Error 2
> > > > >
> > > > > I read somewhere this could be solved by updating kdelibs. I did
> > > > > this, but to no avail.
> > > > > I'm running openSUSE 11 with KDE 4.1 (through the factory
> > > > > repositories)
> > > > >
> > > > > Regards,
> > > > > Jordi De Groof
> > > >
> > > > Can it be that you have kdelibs4-devel installed in /usr/include and
> > > > that your kdelibs from trunk has been installed into
> > > > /usr/local/include? I had something similar.
> > > >  rpm -e kdelibs4-devel
> > > > helped.
> > >
> > > True, but...
> > > We should try to build ok against kdelibs 4.1.
> > > Thomas, is a conditional compile using KDE_VERSION possible here?
> >
> > kdelibs4 is in /usr/lib, and kdelibs4-devel in /usr/include
> >
> > The rpm -e trick didn't work (because of dependencies, so I uninstalled
> > it through yast)
> >
> > Any other suggestions to get it to work?
>
> err... it is true that you have to update kdelibs. But you have to update
> it to trunk (the future KDE 4.2). I doubt the factory service from SUSE
> contains this. So, you have to update kdelibs by compiling trunk as
> outlined on http://techbase.kde.org/Getting_Started/Build/KDE4

Compiling KDE from trunk did the trick :D

Jordi

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list