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

List:       kde-devel
Subject:    Quanta builddir != srcdir problem
From:       Sean McGlynn <sean () tmiau ! com>
Date:       2002-09-29 22:01:21
[Download RAW message or body]

Hello,

I've got a problem with building Quanta from CVS when builddir != srcdir. The 
problem goes away if builddir == srcdir, but that's not a real solution to me 
> -)

[Quanta is an *official* KDE app now, so I'm talking about the 'quanta' 
module in the KDE CVS]

To double check the problem wasn't caused by old files in either builddir or 
srcdir, I checked out the sources from CVS again and built them in a clean 
directory, but to no avail.

A snippet of the make log

make[3]: Entering directory 
`/home/fred/local/system/KDE/quanta__build/quanta/dialogs'
/home/fred/links/qtdir/bin/uic -L /home/fred/links/kdedir/lib/kde3/plugins 
-nounload -o copytos.h 
/home/fred/local/system/KDE/quanta/quanta/dialogs/copytos.ui
[snip]

make[3]: Entering directory 
`/home/fred/local/system/KDE/quanta__build/quanta/treeviews'
[snip]
/home/fred/links/qtdir/bin/moc 
/home/fred/local/system/KDE/quanta/quanta/treeviews/templatestreeview.h -o 
templatestreeview.moc
source='/home/fred/local/system/KDE/quanta/quanta/treeviews/templatestreeview.cpp' 
object='templatestreeview.o' libtool=no \
depfile='.deps/templatestreeview.Po' tmpdepfile='.deps/templatestreeview.TPo' 
\
depmode=gcc3 /bin/sh /home/fred/local/system/KDE/quanta/admin/depcomp \
g++ -I. -I/home/fred/local/system/KDE/quanta/quanta/treeviews 
-I/home/fred/local/system/KDE/quanta -I. 
-I/home/fred/local/system/KDE/quanta/quanta/treeviews -I../.. 
-I/home/fred/links/kdedir/include -I/home/fred/links/qtdir/include 
-I/usr/X11R6/include  -I/home/fred/links/localdir/include  
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef 
-Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion 
-fno-builtin -g3 -fno-exceptions -fno-check-new  -c -o templatestreeview.o 
`test -f 
'/home/fred/local/system/KDE/quanta/quanta/treeviews/templatestreeview.cpp' 
> > echo 
'/home/fred/local/system/KDE/quanta/quanta/treeviews/'`/home/fred/local/system/KDE/quanta/quanta/treeviews/templatestreeview.cpp
 In file included from 
/home/fred/local/system/KDE/quanta/quanta/treeviews/templatestreeview.cpp:47:
/home/fred/local/system/KDE/quanta/quanta/dialogs/copyto.h:26:21: copytos.h: 
No such file or directory

As can be seen at the start of the log, the "missing" file does indeed get 
generated by uic and placed in the builddir. Simply moving the file to its 
corresponding location in the srcdir allows the file to be found and the 
compile to continue (until it runs into a similar problem a few minutes 
later!)

I don't really understand the innards of the KDE build system, (as it seems 
to get more complicated every day :-), so I'm hoping some kind soul who does 
will have a look at this. The Quanta checkout from CVS only takes 10 minutes 
or so on my slow modem and the problem surfaces a few minutes into the build 
(and once built, you get an awesome app into the bargain! :-)

TIA

Cheers,
Sean
-- 
Sean McGlynn
sean@tmiau.com
 
> > 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