Resolving dependencies... Downloading xattr-0.6.2... Configuring xattr-0.6.2... configure: WARNING: unrecognized options: --with-compiler, --with-gcc checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking attr/xattr.h usability... no checking attr/xattr.h presence... no checking for attr/xattr.h... no checking for getxattr in -lattr... no checking for getxattr... yes checking for lgetxattr... yes checking for fgetxattr... yes checking for setxattr... yes checking for lsetxattr... yes checking for fsetxattr... yes checking for listxattr... yes checking for llistxattr... yes checking for flistxattr... yes configure: creating ./config.status config.status: creating include/HsXattrConfig.h configure: WARNING: unrecognized options: --with-compiler, --with-gcc cabal: Missing dependency on a foreign library: * Missing C library: attr This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is. Failed to install xattr-0.6.2 cabal: Error: some packages failed to install: xattr-0.6.2 failed during the configure step. The exception was: ExitFailure 1