-----Original Message-----
From: [email protected]
To: [email protected]
Sent: Tue, Apr 20, 2010 8:12 pm
Subject: Re: Errors compiling kdebase-runtime 4.4(SOLVED)



-----Original Message-----
From: [email protected] <[email protected]>
To: [email protected]
Sent: Tue, Apr 20, 2010 12:19 pm
Subject: Re: Errors compiling kdebase-runtime 4.4

-----Original-Nachricht-----
Subject: Re: Errors compiling kdebase-runtime 4.4
Date: Thu, 15 Apr 2010 18:30:08 +0200
From: [email protected]
To: [email protected]



-----Original Message-----
From: Thomas Glaesser &lt;[email protected]&gt;
To: [email protected]
Sent: Thu, Apr 15, 2010 4:45 pm
Subject: Re: Errors compiling kdebase-runtime 4.4

&gt;
&gt; Hi
&gt;
&gt; Has anyone seen this unusual error when compling kdebase-runtime
4.4
on
&gt; LFS6.5
&gt;
&gt; Apparently gcc thinks it's allocating the actual abstract objects,
&gt; instead of an
&gt; array of pointers and reports the following error: "cannot
allocate
an
&gt; object
&gt; of abstract type '...'".
&gt;
&gt; Well, I'm not a programmer so how does one solve this?
&gt;
&gt;
/home/sources/kdebase-runtime-4.4.2/attica/kdeplugin/kdeplatformdependent



&gt;
&gt; .cpp:
&gt; In function 'QObject* qt_plugin_instance()':
&gt;
/home/sources/kdebase-runtime-4.4.2/attica/kdeplugin/kdeplatformdependent



&gt;
&gt; .cpp:225:
&gt; error: cannot allocate an object of abstract type
&gt; 'Attica::KdePlatformDependent'
&gt;
/home/sources/kdebase-runtime-4.4.2/attica/kdeplugin/kdeplatformdependent



&gt;
&gt; .h:42:
&gt; note: because the following virtual functions are pure within
&gt; 'Attica::KdePlatformDependent':
&gt; /opt/kde/include/attica/platformdependent.h:47: note: virtual void
&gt; Attica::PlatformDependent::addDefaultProviderFile(const QUrl&)
&gt; /opt/kde/include/attica/platformdependent.h:48: note: virtual void
&gt; Attica::PlatformDependent::removeDefaultProviderFile(const QUrl&)
&gt; /opt/kde/include/attica/platformdependent.h:53: note: virtual void
&gt; Attica::PlatformDependent::enableProvider(const QUrl&, bool) const
&gt; /opt/kde/include/attica/platformdependent.h:54: note: virtual bool
&gt; Attica::PlatformDependent::isEnabled(const QUrl&) const
&gt; make[2]: ***
&gt; [attica/kdeplugin/CMakeFiles/attica_kde.dir/kdeplatformdependent.o]
&gt; Error 1
&gt; make[1]: *** [attica/kdeplugin/CMakeFiles/attica_kde.dir/all]
Error 2
&gt; make: *** [all] Error 2
&gt;
&gt; I'm running qt 4.6.1. Any ideas?
&gt;
&gt; thanks
&gt;
&gt; MAC
&gt;


&gt;run into the same problem.
the root cause is, there is no provider.
&gt;I figured it out, you will need at least Soprano have installed.

I have Soprano and the other files. Maybe i need a newer version? I'm
running 1.2.9 I think

regards

MAC


>Hi Mac,
>seems somewhat complicated, i work on compile kde4.4.2 since 2 weeks.
>I did download and compile half the internet, sorry, i dont rememner
exactly what i had done to get this particular problem goes away ...
>But i remember something: I did resolve most of the "optional"
dependencies.
>Looks like each of them is optional but at least one is needed.
>And btw: in most cases its not enough to have these components
installed, you may need the development version of them often.

Seems the only way to cure this problem was to use kdesupport-for-4.4
as opposed to kdesupport TRUNK.  TRUNK was okay for kde-4.4.1 but not
for 4.4.2, not for me anyway and I don't know why.

As an aside.  Polkit-qt-1 is not present in kdesupport-for-4.4 so I
downloaded and installed the latest version from online.   Doing this
caused problems with PolKit-KDE-1 which complained about missing
libraries and version nos.   In the end I had to install polkit-qt-1
from kdesupport TRUNK!  This cured the problem.

Hope this helps someone

regards

MAC





-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to