[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Build error linking -lgeneral
From:       Will Stephenson <wstephenson () kde ! org>
Date:       2008-06-26 8:01:20
Message-ID: 200806261001.20364.wstephenson () kde ! org
[Download RAW message or body]

On Monday 28 January 2008 13:27:53 Andreas Pakulat wrote:
> On 28.01.08 13:13:20, kleag@free.fr wrote:
> > Selon Andreas Pakulat <apaku@gmx.de>:
> > > On 27.01.08 00:12:52, Michael Pyne wrote:
> > > > On Friday 25 January 2008, kleag@free.fr wrote:
> > > > > From when can come these "-lgeneral" ?
> > > >
> > > > I was wondering the same thing myself.  I would occasionally get this
> > >
> > > error.
> > >
> > > I can explain what happens, but not yet why :) This happens if you
> > > build kdelibs with a recent build of cmake cvs, for some reason the
> > > CMake function export_library_dependencies puts "general" into the
> > > KDELibsDependencies.cmake file which is generated during the kdelibs
> > > build and is used to fill the KDE4_XXX_LIBS variables.
> >
> > OK. I found these "general" strings in this file:
> > /opt/kde4/share/apps/cmake/modules/KDELibsDependencies.cmake from the
> > package kdelibs4-devel-4.0.0-5mdv2008.0.
> > But how was Mandriva able to build all the other kde4 packages, then ?
>
> As far as I understood Brad King from Kitware, this should only happen
> if you mix cmake versions, i.e. build kdelibs with cmake cvs and then
> try to build other kde modules with cmake 2.4.
>
> So if this is with distro supplied packages, its a distro bug. I
> retested this morning and when I make sure I build everything with cmake
> cvs _or_ cmake 2.4 the only errors I get are about -lsolid and other
> where the corresponding -L<dir> option is missing due to a bug in kde's
> buildsystem.

I've got this problem again this morning compiling SVN clean vs openSUSE built 
qt4, soprano, akonadi, automoc packages.   There's no CMake version mixing; 
I'm using CMake 2.6.0 here from openSUSE 11.0, which is the same version used 
to build the packages.  

/space/kde/installs/trunk/share/apps/cmake/modules/KDEPimLibsDependencies.cmake
/space/kde/installs/trunk/share/apps/cmake/modules/KDELibsDependenciesInternal.cmake

are full of "general" every other entry in the semicolon-delimited lists.

Any idea what's causing it here?

Will

-- 
Will Stephenson
IRC: Bille
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic