"Please create a separate build directory and run 'cmake path_to_kdelibs [options]' there."
Kurt Pfeifle
k1pfeifle at gmx.net
Wed Mar 29 23:22:12 CEST 2006
On Wednesday 29 March 2006 20:54, Alexander Neundorf wrote:
> On Wednesday 29 March 2006 19:21, Kurt Pfeifle wrote:
> > Hi,
> >
> > today (after a week or so not trying to compile), I get this error:
> >
> > kdev4-[SCR]@horizon:~/KDE/build/kdelibs> cmake ../../kdelibs
> > kdelibs requires an out of source build. Please create a separate build \
> > directory and run 'cmake path_to_kdelibs [options]' there.
> > -- Configuring done
> >
> > I wasn't able to follow the list for any changes, so please bear with me if
> > I missed some obvious buildchange announcement.
> >
> > But I'm definitely in (an even virgin) "out of source" build directory. The
> > source dir is also freshly checked out (into another virgin directory).
> >
> > What could be causing this error? A mistake, where someone has erraneously
> > committed generated cmake files into SVN? Or something I'm doing wrong on
> > my part?
>
> Please update kdelibs/CMakeLists.txt, I inserted some debug output, so you see
> what cmake considers to be the sourcedir and the builddir.
Oh, thanks. This is a very special, caring treatment which I normally
do not deserve :-) (but maybe the people deserve this for whom
I'm trying to "learn" cmake building so I can help them better in the
future).
> Maybe you find the problem yourself, otherwise please post the output here.
>
> (starts with: "debug output for Kurt")
Here we go...
kdev4-[SCR]@horizon:~/src/kde40svn/trunk/KDE/build/kdelibs> hostname -f
nx.openusability.org
kdev4-[SCR]@horizon:~/src/kde40svn/trunk/KDE/build/kdelibs> pwd
/home/kdev4/src/kde40svn/trunk/KDE/build/kdelibs
kdev4-[SCR]@horizon:~/src/kde40svn/trunk/KDE/build/kdelibs> echo $(cd ../../kdelibs;pwd)
/home/kdev4/src/kde40svn/trunk/KDE/kdelibs
kdev4-[SCR]@horizon:~/src/kde40svn/trunk/KDE/build/kdelibs> cmake ../../kdelibs
-- debug output for Kurt, remove ASAP again: insource -1- \
srcdir: -/home/kdev4/src/kde40svn/trunk/KDE/kdelibs- \
bindir: -/home/kdev4/src/kde40svn/trunk/KDE/kdelibs-
kdelibs requires an out of source build. Please create a separate build directory \
and run 'cmake path_to_kdelibs [options]' there.
-- Configuring done
> Bye
> Alex
Cheers,
Kurt
More information about the Kde-buildsystem
mailing list