Running KDE4 apps from KDE3

Frans Englich frans.englich at telia.com
Tue Apr 11 20:20:49 BST 2006


On Tuesday 11 April 2006 18:46, Andras Mantia wrote:
> On Tuesday 11 April 2006 21:29, David Faure wrote:
> > On Tuesday 11 April 2006 20:15, Andras Mantia wrote:
> > > On Tuesday 11 April 2006 20:53, David Faure wrote:
> > > > branches/work/kde4/setup-env does "mkdir -p $KDETMP" in addition
> > > > to setting the environment variables, does it help if you do
> > > > that?
> > >
> > > I use that script with "source setup-env". ;-) And it does not have
> > > mkdir:
> >
> > Hmm, sorry, my older copy of it had it for some reason, guess it got
> > removed.
> >
> > I think you have a kde3 program being launched then, either kdeinit
> > or kded or kbuildsycoca. For me, typing kdeinit in the kde4
> > environment says:
> >
> > [...]
> > findExe(): returning /devel/kde/inst/kde4/bin/kbuildsycoca
> > [...]
> > kbuildsycoca running...
> > DCOP: register 'anonymous-14805' -> number of clients is now 4
> > kio (KSycoca): Trying to open ksycoca from
> > /home/dfaure/.kde4/cache-Asterix/ksycoca Reusing existing ksycoca
> > kbuildsycoca: Recreating ksycoca file
> > (/home/dfaure/.kde4/cache-Asterix/ksycoca, version 100) [...]
>
> Hm, look what is happening here:
> andris at stein:/data/home/andris> source bin/setup-kde4-env
> andris at stein:/data/home/andris> which kdeinit
> /data2/kde4/install//bin/kdeinit
> andris at stein:/data/home/andris> which kded
> /data2/kde4/install//bin/kded
> andris at stein:/data/home/andris> which kbuildsycoca
> /data2/kde4/install//bin/kbuildsycoca
> andris at stein:/data/home/andris> kdeinit
> kdeinit: Shutting down running client.
> kdeinit: Killing kdeinit/klauncher.
> findExe(dcopserver, pstr, false) called
> findExe(): relative path given
> findExe(): returning /data2/kde4/install/bin/dcopserver
> Could not load library! Trying exec....
> kdeinit: Launched DCOPServer, pid = 13327 result = 0
> ---------------------------------
> It looks like dcopserver is already running. If you are sure
> that it is not already running,
> remove /home/andris/.DCOP4server_stein__0
> and start dcopserver again.
> ---------------------------------
>
> findExe(klauncher, pstr, false) called
> findExe(): relative path given
> findExe(): returning /data2/kde4/install/bin/klauncher
> Could not load library! Trying exec....
> kdeinit: Launched KLauncher, pid = 13328 result = 0
> kdeinit: opened connection to :0.0
> findExe(kded, pstr, false) called
> findExe(): relative path given
> findExe(): returning /data2/kde4/install/bin/kded
> Could not load library! Trying exec....
> kdeinit: Launched KDED, pid = 13329 result = 0
> KDE Daemon (kded) already running.
> Call to isApplicationRegistered returned:1
> kio (KLauncher): KLauncher: Got kdeinit_exec_wait('kbuildsycoca', ...)
> kdeinit: Got EXT_EXEC 'kbuildsycoca' from launcher.
> findExe(kbuildsycoca, pstr, false) called
> findExe(): relative path given
> findExe(): returning /data2/kde4/install/bin/kbuildsycoca
> Could not load library! Trying exec....
> kio (KLauncher): kbuildsycoca (pid 13331) up and running.
> kbuildsycoca running...
> kio (KSycoca): Trying to open ksycoca
> from /var/tmp/kdecache-andris/ksycoca
> kio (KSycoca): WARNING: Found version 93, expecting version 100 or
> higher.
> kio (KSycoca): WARNING: Found version 93, expecting version 100 or
> higher.
> kbuildsycoca: Recreating ksycoca file (/var/tmp/kdecache-andris/ksycoca,
> version 100)
>
> What does this mean:
>
> findExe(): returning /data2/kde4/install/bin/klauncher
> Could not load library! Trying exec....

My KDE 4 setup works fine, but if I recall correctly I sometime got an error 
which looked like that. I think I used to solve it by running kbuildsycoca 
--noincremental. A wild shot.


Cheers,

		Frans




More information about the kde-core-devel mailing list