xfs
[Top] [All Lists]

Re: Fatal Error doing make for xfsdump

To: rlinsurf <jellis@xxxxxxxx>
Subject: Re: Fatal Error doing make for xfsdump
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Sun, 19 Feb 2012 09:30:54 +1100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <33349727.post@xxxxxxxxxxxxxxx>
References: <33349727.post@xxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Sat, Feb 18, 2012 at 01:46:08PM -0800, rlinsurf wrote:
> 
> I'm getting the following when I try to make:
> 
> FATAL ERROR: attributes.h does not exist.
> Install the extended attributes (attr) development package.
> Alternatively, run "make install-dev" from the attr source.
> make: *** [include/builddefs] Error 1
> 
> I can't figure out how to make this not happen. I've tried doing an apt-get
> install attr, and that succeeded, and doing the make install-dev from the
> attr source, and that succeeded, but the error doesn't go away.

The libattr1 package only contains the binaries, not the environment
for building code that links against the libraries. install the -dev
package as well.

$ apt-cache search libattr1
libattr1 - Extended attribute shared library
libattr1-dev - Extended attribute static libraries and headers
$

or:

$ apt-file search /usr/include/attr/attributes.h
libattr1-dev: /usr/include/attr/attributes.h
$

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

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