[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: builddir different from source dir
From: Alejandro Exojo <suy () kurly ! org>
Date: 2004-12-24 12:35:12
Message-ID: 200412241335.12473.suy () kurly ! org
[Download RAW message or body]
Hi.
I'm creating a debian package of kxmleditor. I know is not an "official" KDE
application, but a third party one, but since it uses the same build system,
I suppose this is not relevant.
I read from time to time, that using builddir !=srcdir, is a good idea. For
example:
http://grammarian.homelinux.net/~mpyne/weblog/main/srcdir-ne-builddir-eq-good.html
I know this can be a matter of taste, but, is this supposed to work always?
I noticed that I had to --disable-final, because the build was failing. And
after building the latest release (in which they say they updated the admin/
dir), it fails, because MOC is not finding the UIC-created header:
if /bin/sh ../libtool --silent --mode=compile --tag=CXX i386-linux-g++
-DHAVE_CONFIG_H -I. -I../../part -I.. -I/usr/include/kde
-I/usr/share/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT
-D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts
-Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new
-fno-common -MT dcopiface_part_ro_skel.lo -MD -MP -MF
".deps/dcopiface_part_ro_skel.Tpo" \
-c -o dcopiface_part_ro_skel.lo `test -f
'../../part/dcopiface_part_ro_skel.cpp' || echo
'../../part/'`../../part/dcopiface_part_ro_skel.cpp; \
then mv -f ".deps/dcopiface_part_ro_skel.Tpo"
".deps/dcopiface_part_ro_skel.Plo"; \
else rm -f ".deps/dcopiface_part_ro_skel.Tpo"; exit 1; \
fi
/usr/share/qt3/bin/moc kxesearchdialogbase.h -o kxesearchdialogbase.moc
moc: kxesearchdialogbase.h: No such file
make[4]: *** [kxesearchdialogbase.moc] Error 1
make[4]: Leaving directory
`/home/alex/debian/kxmleditor/kxmleditor-1.1.4/obj-i386-linux/part'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/alex/debian/kxmleditor/kxmleditor-1.1.4/obj-i386-linux/part'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/alex/debian/kxmleditor/kxmleditor-1.1.4/obj-i386-linux'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/alex/debian/kxmleditor/kxmleditor-1.1.4/obj-i386-linux'
make: *** [build-stamp] Error 2
I'm looking at the Makefile.am, and all seems OK to me. What can be the
problem? Broken Makefile.am, broken admin/ dir, or just that builddir!=srcdir
is not always supported?
Thanks in advance.
--
Alex (a.k.a. suy) - GPG ID 0x0B8B0BC2
http://darkshines.net/ - Jabber ID: suy@bulmalug.net
>> 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