Skip to contentSkip to conversation

Fatal Error doing make for xfsdump

DISCUSSION rlinsurf 2 participants 2 messages Feb 18, 2012

lore
Share & tools
lore

rlinsurf

author
#0 lore raw

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.

This is ubuntu 10.11. What am I doing wrong?

Thanks.

Best,
Jeffrey

Signature · 7 lines
View this message in context: http://old.nabble.com/Fatal-Error-doing-make-for-xfsdump-tp33349727p33349727.html
Sent from the Xfs - General mailing list archive at Nabble.com.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#1 lore raw
Quoted 11 lines · rlinsurf

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.

Signature · 7 lines
Dave Chinner
[email protected]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs