On 10/11/2014 10:25 AM, Andrei Banu wrote:
> Hello,
> 
> I have attempted to build attr but it returned many
> failed tests.
> 
> Hoping that those failed tests might be irrelevant (long
> shot - I know) I went ahead to ACL but it needed
> something missing from attr:
> 
> 
> Chapter 6.22
> ...
> checking for rpm... no
> checking attr/xattr.h usability... no
> checking attr/xattr.h presence... no
> checking for attr/xattr.h... no
> 
> FATAL ERROR: attr/xattr.h does not exist.
> Install the extended attributes (attr) development package.
> Alternatively, run "make install-dev" from the attr source.
> 
> So I've retraced my prior step (Ch 6.21: attr) but I still get
> errors:
> 
> 
> Chapter 6.21
> 
> root:/sources/attr-2.4.47# make -j1 tests root-tests
> ...
> 114 commands (38 passed, 76 failed)
> Makefile:40: recipe for target 'attr.test' failed
> make[1]: *** [attr.test] Error 76
> make[1]: Leaving directory '/sources/attr-2.4.47/test'
> Makefile:116: recipe for target 'tests' failed
> make: *** [tests] Error 2
> 
> But I went ahead and ran 'make install install-dev install-lib'
> again plus the other (chmod,mv and ln).
> 
> Then again I retried ACL and now the error moved a few
> paces down:
> 
> 
> Chapter 6.22
> ...
> checking for rpm... no
> checking attr/xattr.h usability... yes
> checking attr/xattr.h presence... yes
> checking for attr/xattr.h... yes
> checking attr/error_context.h usability... yes
> checking attr/error_context.h presence... yes
> checking for attr/error_context.h... yes
> checking for getxattr in -lattr... no
> 
> FATAL ERROR: could not find a valid Extended Attributes library.
> Install the extended attributes (attr) development package.
> Alternatively, run "make install-lib" from the attr source.
> 
> 
> Can you spot the problem?
> Do you have any suggestions?
> 
> Thanks!

Check /usr/lib/libattr.so symlink to see if it points to a valid file.

"file /usr/lib/libattr.so"

should return:

/usr/lib/libattr.so: symbolic link to `../../lib/libattr.so.1'

-- 
Note: My last name is not Krejzi.

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to