./configure Permission Denied when try to build llvm
By Sarah Scott •
I'm try to build to build Clang and LLVM and after download it I want to configure it so when I do that command :
../llvm/configure --prefix=/usr/clang_3_3 --enable-optimized --enable-targets=hostit's show me error configure permission Denied even when I'm root and I try
chmod +xit didn't work any help
Note : I download Clang and LLVM from svn and I put it to anthor dir(not the root) in /media one of these dirs
31 Answer
You need to put it on a Linux file system. Microsoft Windows file-systems do not support setting the executable bit.
Try these workarounds:
You could run it like (with
bashin front, assuming it opens with bash)bash ../llvm/configure --prefix=/usr/clang_3_3 --enable-optimized --enable-targets=host- You could create a small
ext4partition on an external hard drive and put the files on there - See here: How do I use 'chmod' on an NTFS (or FAT32) partition?