xfs
[Top] [All Lists]

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

To: Thomas Graichen <thomas.graichen@xxxxxxxxxxxxxx>
Subject: Re: libxfs.h and the xfsprogs-devel package?
From: Juan Casero <casero@xxxxxxxxxxxxx>
Date: Sun, 25 Feb 2001 13:03:07 -0500
Cc: linux-xfs@xxxxxxxxxxx
References: <3A947AA9.F12C2572@bellsouth.net> <3A947A20.6E79C8BF@sgi.com> <3A98B6FE.1E056F6B@bellsouth.net> <news2mail-97afe0$52i$1@mate.bln.innominate.de>
Sender: owner-linux-xfs@xxxxxxxxxxx
Forgive me if the answer seems obvious but where did you get the xfsprogs-devel
rpm?  I have been
looking for this thing and I can't find it.  Even so, should a 'make install' 
from
tje xfsprogs source tree
have taken care of any header files and library installations?


Thanks,
Juan Casero
casero@xxxxxxxxxxxxx


Thomas Graichen wrote:

> did you really install the xfsprogs-devel rpm too? - for me it works:
>
> [root@orange /root]# rpm -qf /usr/include/xfs/libxfs.h
> xfsprogs-devel-1.1.1-0
> [root@orange /root]#
>
> t
>
> 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
>
> --
> thomas.graichen@xxxxxxxxxxxxxx
>                                                          innominate AG
>                                                   the linux architects
> tel: +49-30-308806-13   fax: -77             http://www.innominate.com


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