uwsampa / accept

an approximate compiler
http://accept.rocks
MIT License
37 stars 14 forks source link

Issue with building modified Clang with llvm #48

Open yashie2011 opened 7 years ago

yashie2011 commented 7 years ago

I have been trying to install accept compiler on a ubuntu 16.04 machine. I run the command "make setup" after installing Cmake, Ninja and virtual-env. I get the following error which I am not sure how to debug.

cd llvm/tools ; ln -s ../../clang . ln: failed to create symbolic link './clang': Operation not supported Makefile:103: recipe for target 'llvm/tools/clang' failed

Thank you. Yaswanth

sampsyo commented 7 years ago

That's interesting! Is there anything strange about the filesystem you're running this on? Some quick googling suggests that this might happen on a hypervisor's shared volumes, for example: https://communities.vmware.com/thread/312591

yashie2011 commented 7 years ago

Yes. The compiler source code was located in a shared/network volume, and the root file system is in local drive. Installation was successful on a standalone drive.

But I might be running out of disk space. It doesn't work If I want to save my installation on a network drive. Not a high priority issue but worth trying for a fix.

Thank you.

sampsyo commented 7 years ago

OK! I’m not sure what to suggest, though, if your FS doesn’t support symlinks (as most do). Maybe there’s a way to configure your hypervisor to allow symlinks?

If you have another idea for a workaround, a PR would be welcome!

yashie2011 commented 7 years ago

Maybe. I will look into that.

Thank you On Sat, Oct 28, 2017 at 2:18 PM Adrian Sampson notifications@github.com wrote:

OK! I’m not sure what to suggest, though, if your FS doesn’t support symlinks (as most do). Maybe there’s a way to configure your hypervisor to allow symlinks?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/uwsampa/accept/issues/48#issuecomment-340217170, or mute the thread https://github.com/notifications/unsubscribe-auth/AB2pEFhx4Yvi0yRN379AeJX9j2l4F6tDks5sw4wagaJpZM4QIatA .

umair626 commented 6 years ago

Hi, I want to install ACCEPT and I got into the following error after running make setup

umair@umair-pc:~/accept$ make setup /bin/sh: 1: ninja: not found Please install Ninja to build LLVM and ACCEPT. http://martine.github.io/ninja/ Makefile:118: recipe for target 'check_ninja' failed make: *** [check_ninja] Error 2

Any help will be appreciated.thanks