Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Compilation failure for zsh-5.0.5



Hi,

when trying to compile the latest zsh version 5.0.5, I get the following error:
make[3]: Entering directory `/var/tmp/paludis/build/app-shells-zsh-5.0.5/work/zsh-5.0.5/Src/Modules' x86_64-pc-linux-gnu-gcc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I. -DHAVE_CONFIG_H -DMODULE -march=amdfam10 -O2 -pipe -fPIC -o attr..o attr.c
In file included from /usr/include/sys/capability.h:30:0,
                 from ../../Src/zsh_system.h:510,
                 from ../../Src/zsh.mdh:17,
                 from attr.mdh:17,
                 from attr.c:30:
/usr/include/sys/xattr.h:31:3: error: expected identifier before numeric constant
   XATTR_CREATE = 1, /* set value, fail if attr already exists.  */
   ^
make[3]: Leaving directory `/var/tmp/paludis/build/app-shells-zsh-5.0.5/work/zsh-5.0.5/Src/Modules' make[2]: Leaving directory `/var/tmp/paludis/build/app-shells-zsh-5.0.5/work/zsh-5.0.5/Src' make[1]: Leaving directory `/var/tmp/paludis/build/app-shells-zsh-5.0.5/work/zsh-5.0.5/Src'
make[3]: *** [attr..o] Error 1
make[2]: *** [modules] Error 1
make[1]: *** [modules] Error 2
make: *** [all] Error 1


The used glibc version is 2.17. Anyone can help?

Regards,
Bernd



Messages sorted by: Reverse Date, Date, Thread, Author