linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problems building xfsprogs
@ 2011-07-20 17:59 Ted Ts'o
  2011-07-20 18:32 ` Eric Sandeen
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Ted Ts'o @ 2011-07-20 17:59 UTC (permalink / raw)
  To: Ext4 Developers List, xfs-oss

I was trying to build xfsprogs in preparation for building xfstests in
an hermetic environment (as opposed to depending on magic XFS headers
being installed in /usr/include...)

What I found first of all (building on Ubuntu 10.10) was

a) "make configure" doesn't work until I patch the top-level Makefile:

diff --git a/Makefile b/Makefile
index c40fb2c..37973f5 100644
--- a/Makefile
+++ b/Makefile
@@ -82,7 +82,7 @@ configure:
 	libtoolize -c $(LIBTOOLIZE_INSTALL) -f
 	cp include/install-sh .
 	aclocal -I m4
-	autoconf
+	autoconf -I m4
 
 include/builddefs: configure
 	./configure $$LOCAL_CONFIGURE_OPTIONS

b) By default xfsprogs builds with DEBUG, and this causes building
libxfs/xfs_ialloc.c to blow up since there a reference of
xfs_stack_trace() which is undefined under a #ifdef DEBUG.  The way to
fix this is to build with DEBUG=-DNDEBUG, but it took me an hour or
two figure this out....

					- Ted

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-07-21 22:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-20 17:59 Problems building xfsprogs Ted Ts'o
2011-07-20 18:32 ` Eric Sandeen
2011-07-20 21:33   ` Ted Ts'o
2011-07-20 22:25     ` Greg Freemyer
2011-07-21  4:19 ` Ted Ts'o
2011-07-21  4:27   ` Ted Ts'o
2011-07-21  9:06 ` Christoph Hellwig
2011-07-21 16:31   ` Ted Ts'o
2011-07-21 22:57   ` Ted Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).