building of dcopserver fails

Ralf Habacker ralf.habacker at freenet.de
Thu Nov 17 12:01:20 CET 2005


Am Donnerstag, 17. November 2005 11:36 schrieb Holger Schröder:
> On Thursday 17 November 2005 09:18, Ralf Habacker wrote:
> > Am Donnerstag, 17. November 2005 00:58 schrieb Holger Schröder:
> > > Hi,
> > >
> > > i tried to build kdelibs on linux with scons version 0.96.91. scons
> > > configure went fine, but when i tried to build with "scons", the
> > > following error happened:
> > >
> > > holger at gentoo ~/svn/trunk/KDE/kdelibs $ scons
> > > scons: Reading SConscript files ...
> > > Checking for libz... (cached) no
> > > libz not found (mandatory).
> > > Checking for libpng... (cached) no
> > > libpng not found (mandatory).
> > > Checking for libjpeg... (cached) no
> > > libjpeg not found (mandatory).
> > > Checking for libagg... (cached) no
> > > scons: done reading SConscript files.
> > > scons: Building targets ...
> > > scons: *** Source `dcop/libkdeinit_dcopserver.la' not found, needed by
> > > target `build/dcop/dcopserver'.  Stop.
> > > scons: building terminated because of errors.
> > > holger at gentoo ~/svn/trunk/KDE/kdelibs $
> > >
> > >
> > > can somebody give me some hints what is wrong, and where i should
> > > search to fix it ?
> >
> > I have prepared a howto for mingw
> > http://webdev.cegit.de/snapshots/kde-windows/bksys/doc/html/how-to-compil
> >e- with-mingw.html. With this I have no such problems. May be this could
> > help also for msvc.
>
> thanks, i will try it out, but i had this .la problem under linux.
>
> small note: perhaps it is possible to have a reference to that file from
> the toc.html, so that more people can find the file ?
>
> Index: bksys/doc/index.dox
> ===================================================================
> --- bksys/doc/index.dox (revision 480900)
> +++ bksys/doc/index.dox (working copy)
> @@ -3,6 +3,7 @@
>  \ref proposal_state
>
>  - \ref installing
> +- \ref how-to-compile-with-mingw How to Compile kdelibs with MingW
+ - \ref how-to-compile-with-mingw
>  - Working with bksys
>         - Introduction
>         - Sconstruct and Sconscript files
>
> i hope this is the correct syntax...

I have added an entry 

> > BTW: Are there any .la references in dcop\SConscript file ?
>
> this is the relevant part of dcop/SConscript:
>
> # dcopserver program
> obj = env.kdeinitobj(env)
> obj.target   = 'dcopserver'
> obj.source   = 'dcopserver.cpp dcopsignals.cpp'
> obj.uselib   = 'QT QTCORE QT3SUPPORT KDE4'
> obj.libpaths = '.'
> obj.libs     = 'DCOP'
>
> if env['WINDOWS']:
>         if env['CC'] != 'cl':
>                 obj.ccflags  += ' -Dkdemain=main'
>
>         obj.libpaths += ' ../win/'
>         obj.libs     += ' kdewin32 ws2_32'
>
> obj.execute()
>
> there are only references to .la stuff in the commented out part of the
> file, that was copied from the original Makefile.am

the problem is the depfile support, as Benjamin said, which fails with kdeinit 
stuff. I have set libtool support as default. 

Ralf 


More information about the Kde-buildsystem mailing list