-1

I am trying to install extension xattr in my Ubuntu 12.10 .

sudo pecl install xattr

But I am getting the error as :

checking for xattr files in default path... not found
configure: error: Please reinstall the libattr distribution
ERROR: `/tmp/pear/temp/xattr/configure --with-xattr' failed

How do I correct this error and install xattr in LAMP ?

Nitish
  • 2,695
  • 9
  • 53
  • 88

1 Answers1

2

This did the trick for me:

sudo apt-get install libattr1-dev

Then simply rerun the "sudo pecl install xattr" command and you should be set.