[Kde-pim] Problem compiling kdepim

Jordi De Groof jordi.degroof at gmail.com
Wed Sep 10 16:50:17 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?

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