xfs
[Top] [All Lists]

Re: Cannot compile xfsdump

To: listac@xxxxxxxxxxxxxxxx
Subject: Re: Cannot compile xfsdump
From: Steve Lord <lord@xxxxxxx>
Date: Tue, 31 Jul 2001 16:14:48 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: Message from List Account <listac@nebelschwaden.de> of "Tue, 31 Jul 2001 22:23:48 +0200." <3B6713D4.9040904@nebelschwaden.de>
Sender: owner-linux-xfs@xxxxxxxxxxx
> Hello,
> 
> 
> the configure script fails when looking for libxfs.h. I have compiled 
> and installed the xfsprogs, but those did for what reason ever not 
> install the header files - not even after recompiling. The xfslib.h is 
> only existent in the xfsprogrogs source/include directory. Also, 
> specifying this dir as includedir or  oldincludedir to the xfsdump 
> configure script does not help. Neither does a plain copy into 
> /usr/include (my --prefix for all xfs related software) or into 
> xfsdump/include.

You need to run 

        make install_dev to get header files installed

Steve

> 
> What went wrong ? I am running a Slack8 box which does not support rpm 
> or deb (and I would like to keep it that way. Not to flame, just for Info. )
> 
> Regards
> 
> Klaus
> 
> 
> root@kaperfahrt:/usr/src/xfs/xfsdump-1.0.9# find /usr -name libxfs.h
> /usr/src/xfs/xfsdump-1.0.9/include/xfs/libxfs.h
> /usr/src/xfs/xfsdump-1.0.9/include/libxfs.h
> /usr/src/xfs/xfsdump-1.0.9/xfs/libxfs.h
> /usr/src/xfs/xfsprogs-1.2.7/include/libxfs.h
> /usr/include/libxfs.h
> root@kaperfahrt:/usr/src/xfs/xfsdump-1.0.9#
> 
> ----------------------
> 
> root@kaperfahrt:/usr/src/xfs/xfsdump-1.0.9# ./configure --prefix=/usr
> checking for gcc... gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for executable suffix...
> checking for object suffix... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for make... /usr/bin/make
> checking for ld... /usr/bin/ld
> checking for tar... /bin/tar
> checking for gzip... /bin/gzip
> checking for rpm... /bin/rpm
> checking for makedepend... /bin/true
> checking whether ln -s works... yes
> checking for awk... /usr/bin/awk
> checking for sed... /usr/bin/sed
> checking for echo... /usr/bin/echo
> checking how to run the C preprocessor... gcc -E
> checking for uuid/uuid.h... yes
> checking for uuid_generate in -luuid... yes
> checking for xfs/libxfs.h... no
> 
> FATAL ERROR: could not find a valid XFS library header.
> Install either the xfsprogs-devel (rpm) or the xfslibs-dev (deb) package.
> root@kaperfahrt:/usr/src/xfs/xfsdump-1.0.9#



<Prev in Thread] Current Thread [Next in Thread>