Re: Building balsa outside the sourte tree
- From: Pawel Salek <pawsa theochem kth se>
- To: balsa-list gnome org
- Subject: Re: Building balsa outside the sourte tree
- Date: Thu, 18 Mar 2004 21:08:32 +0000
On 03/14/2004 05:14:46 PM, Jean-Luc Coulon (f5ibh) wrote:
> Hello,
>
> I want to build balsa outside its source tree.
> I use the 2-0 cvs and I would like to keep my cvs copy clean.
> My copy of the cvs is in ~/cvs/balsa
> I want to build it in ~/balsa-build
>
> I tried the following:
>
> mkdir balsa-build
> cd balsa-build
> ../cvs/balsa/autogen.sh --prefix=/opt/balsa --with-ldap --with-gpgme --
> with-ssl --srcdir=../cvs/balsa
> make
For some reason, my autogen gives up in this phase...
>
> Everything went fine until processing libbalsa/libbalsa-marshal.list
> The file is in ../cvs/balsa/libbalsa and make is looking for it in ./
> libbalsa
Does attached patch help?
patch -p0 < build-fix
Pawel
Index: libbalsa/Makefile.am
===================================================================
RCS file: /cvs/gnome/balsa/libbalsa/Makefile.am,v
retrieving revision 1.60
diff -u -r1.60 Makefile.am
--- libbalsa/Makefile.am 7 Mar 2004 20:29:32 -0000 1.60
+++ libbalsa/Makefile.am 18 Mar 2004 19:11:29 -0000
@@ -104,12 +104,12 @@
#Signal marshallers
marshal_prefix = libbalsa
libbalsa-marshal.h: libbalsa-marshal.list
- ( @GLIB_GENMARSHAL@ --prefix=$(marshal_prefix) libbalsa-marshal.list --header > libbalsa-marshal.tmp \
+ ( @GLIB_GENMARSHAL@ --prefix=$(marshal_prefix) $(srcdir)/libbalsa-marshal.list --header > libbalsa-marshal.tmp \
&& mv libbalsa-marshal.tmp libbalsa-marshal.h ) \
|| ( rm -f libbalsa-marshal.tmp && exit 1 )
libbalsa-marshal.c: libbalsa-marshal.h
( echo "#include \"libbalsa-marshal.h\"" > libbalsa-marshal.tmp \
- && @GLIB_GENMARSHAL@ --prefix=$(marshal_prefix) libbalsa-marshal.list --body >> libbalsa-marshal.tmp \
+ && @GLIB_GENMARSHAL@ --prefix=$(marshal_prefix) $(srcdir)/libbalsa-marshal.list --body >> libbalsa-marshal.tmp \
&& mv libbalsa-marshal.tmp libbalsa-marshal.c ) \
|| ( rm -f libbalsa-marshal.tmp && exit 1 )
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]