public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* builddefs.in
@ 2010-03-21 14:13 Lasse Kliemann
  2010-03-22 15:33 ` builddefs.in Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Lasse Kliemann @ 2010-03-21 14:13 UTC (permalink / raw)
  To: xfs


[-- Attachment #1.1.1: Type: text/plain, Size: 596 bytes --]

Using 3.1.1.

When configured with a '--prefix', the build fails:

[...]
    [CC]     linux.lo
    [LD]     libxfs.la
libtool: link: only absolute run-paths are allowed
gmake[2]: *** [libxfs.la] Error 1
gmake[1]: *** [libxfs] Error 2
make: *** [default] Error 2

Calling 'make' in 'libxfs' reveals that '-rpath' option is used 
with no argument. The attached patch remedies this. Indeed, with 
this patch the correct argument is given to '-rpath', at least in 
'libxfs' subdirectory. 

It also remedies a similar problem when installing executables 
into '.../sbin' directory.

[-- Attachment #1.1.2: builddefs.in-patch --]
[-- Type: text/plain, Size: 519 bytes --]

diff --git a/include/builddefs.in b/include/builddefs.in
index cc75b5d..801b09e 100644
--- a/include/builddefs.in
+++ b/include/builddefs.in
@@ -52,8 +52,8 @@ datarootdir	= @datarootdir@
 top_builddir	= @top_builddir@
 
 PKG_SBIN_DIR	= @sbindir@
-PKG_ROOT_SBIN_DIR = @root_sbindir@
-PKG_ROOT_LIB_DIR= @root_libdir@@libdirsuffix@
+PKG_ROOT_SBIN_DIR = @sbindir@
+PKG_ROOT_LIB_DIR= @libdir@@libdirsuffix@
 PKG_LIB_DIR	= @libdir@@libdirsuffix@
 PKG_INC_DIR	= @includedir@/xfs
 DK_INC_DIR	= @includedir@/disk

[-- Attachment #1.2: Type: application/pgp-signature, Size: 835 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

end of thread, other threads:[~2010-03-22 15:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-21 14:13 builddefs.in Lasse Kliemann
2010-03-22 15:33 ` builddefs.in Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox