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

List:       kde-devel
Subject:    Re: builddir different from source dir
From:       Benjamin Meyer <ben () meyerhome ! net>
Date:       2004-12-27 17:20:24
Message-ID: 200412271220.30356.ben () meyerhome ! net
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

To get the same results, but without builddir you could use unionfs.  I have 
clean co's of cvs in directory A, then I mount them in directory B and do my 
work and when I am screw it up and need it clean I "delete" B and remount A 
on B.

http://www.fsl.cs.sunysb.edu/project-unionfs.html

- -Benjamin Meyer

On Friday 24 December 2004 7:35 am, Alejandro Exojo wrote:
> 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-go
>od.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.

- -- 
aka icefox
Public Key: http://www.icefox.net/public_key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFB0ERc1rZ3LTw38vIRAhnOAKC+LrTxstahdOo27YYSlxSuSxc6UQCggq65
gLBf8C5K3s6k2a6U7qmX8pU=
=A5Rd
-----END PGP SIGNATURE-----
 
>> 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