[Top] [All Lists]

Re: libxfs.h and the xfsprogs-devel package?

To: linux-xfs@xxxxxxxxxxx
Subject: Re: libxfs.h and the xfsprogs-devel package?
From: Thomas Graichen <news-innominate.list.sgi.xfs@xxxxxxxxxxxxx>
Date: 25 Feb 2001 08:23:28 GMT
Distribution: local
Organization: innominate AG, Berlin, Germany
References: <3A947AA9.F12C2572@xxxxxxxxxxxxx> <3A947A20.6E79C8BF@xxxxxxx> <3A98B6FE.1E056F6B@xxxxxxxxxxxxx>
Reply-to: Thomas Graichen <thomas.graichen@xxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.4.1-XFS (i686))
did you really install the xfsprogs-devel rpm too? - for me it works:

[root@orange /root]# rpm -qf /usr/include/xfs/libxfs.h
[root@orange /root]#


Juan Casero <casero@xxxxxxxxxxxxx> wrote:
> I have gotten the 2.4.2-xfs kernel installed and working well but I have one
> question.  Under the /usr/src/linux-2.4-xfs/cmd tree are
> a number source dir's for commands to support and maintain XFS file systems.
> I have been trying compile and install the code in
> there but I get some errors.  The following is a sample:

> [root@cedar cmd]# cd xfsdump
> [root@cedar xfsdump]# make
> rm -f config.cache
> autoconf
> ./configure
> creating cache ./config.cache
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... 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... /usr/bin/gzip
> checking for rpm... /bin/rpm
> checking for makedepend... /usr/X11R6/bin/makedepend
> checking whether ln -s works... yes
> checking for awk... /usr/bin/awk
> checking for sed... /bin/sed
> checking for echo... /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.
> make: *** [include/builddefs] Error 1

> I was able to compile and install the code under
> /usr/src/linux-2.4-xfs/cmd/xfsprogs but aparently the libxfs.h header file
> was not put in place.  Because of this problem several other compile attempts
> for other utilities that came with the kernel
> source fail also.  The error mentions installing xfsprogs-devel but I don't
> see that package anywhere.  I would have thought
> also that doing a 'make install' in the xfsprogs-devel tree would have
> installed all the needed libs and header files also.
> Anyone know what gives?

> Thanks,
> Juan Casero
> casero@xxxxxxxxxxxxx

                                                         innominate AG
                                                  the linux architects
tel: +49-30-308806-13   fax: -77             http://www.innominate.com

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