M HYPE SPLASH
// general

./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=host

it's show me error configure permission Denied even when I'm root and I try

chmod +x

it 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

3

1 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 bash in front, assuming it opens with bash)

    bash ../llvm/configure --prefix=/usr/clang_3_3 --enable-optimized --enable-targets=host
  • You could create a small ext4 partition on an external hard drive and put the files on there
  • See here: How do I use 'chmod' on an NTFS (or FAT32) partition?
0

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy