Re: cvs head build failure

Matthew L Daniel <[email protected]> Mon, 1 Aug 2005 00:10:19 -0400
Newsgroups gmane.text.xml.xmlroff.general
Message-ID <[email protected]>
> Please subscribe to the xmlroff-list if you want to continue to discuss
> xmlroff.

I didn't realize it was moderated until after I sent the message. That
is one of many "Fridayisms," as we'll soon see.

> > ../fo-context.c:14:29: error: fo-all-property.h: No such file or directory
> > In file included from ../fo-context.c:16:
> > ../fo-context-private.h:15:25: error: fo-property.h: No such file or directory
> 
> property/fo-all-property.h and property/fo-property.h exist in CVS and should
> have been checked out when you checked out the 'xmlroff' workspace.
> 
> Did you somehow not check out the 'property' subdirectory?

I make a practice of building CVS projects in an "object directory," and
usually automake projects already support this, so I didn't think about
it before I posted. A simple `find . -name fo-property.h` would have
immediately clarified what I did wrong, but I can only claim brain drain
on this one. Sorry for the list noise.

To atone for my silliness, here is a patch against Makefile.am that
will correct this.

  Sorry about that,
  -- /v\atthew
xmlroff-objdir.patch (text/plain, 618 B)
Index: Makefile.am
===================================================================
RCS file: /cvsroot/xmlroff/xmlroff/Makefile.am,v
retrieving revision 1.24
diff -u -r1.24 Makefile.am
--- Makefile.am	27 Jun 2005 00:13:02 -0000	1.24
+++ Makefile.am	1 Aug 2005 04:04:07 -0000
@@ -8,12 +8,12 @@
 	$(LIBXSLT_CFLAGS)	\
 	$(GOBJECT_CFLAGS)	\
 	$(POPT_CFLAGS)		\
-	-Iarea			\
-	-Iexpr			\
-	-Ifo			\
-	-Idatatype		\
-	-Iproperty		\
-	-Iutil
+	-I$(srcdir)/area			\
+	-I$(srcdir)/expr			\
+	-I$(srcdir)/fo			\
+	-I$(srcdir)/datatype		\
+	-I$(srcdir)/property		\
+	-I$(srcdir)/util
 
 fo_context_cfiles= \
 	fo-context.c		\