From kde-devel Thu Jun 26 08:01:20 2008 From: Will Stephenson Date: Thu, 26 Jun 2008 08:01:20 +0000 To: kde-devel Subject: Re: Build error linking -lgeneral Message-Id: <200806261001.20364.wstephenson () kde ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=121446737115519 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 : > > > 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 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 <<