Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 39386  / 1 Year ago, thu, april 6, 2023, 9:08:35

I'm trying to install llvm. I cloned the repository and ran ./configure. Now, I need to run sudo make install. When I run this, I get the following errors:



harshilsharma63@ubuntu:~/llvm$ sudo make install
[sudo] password for harshilsharma63:
llvm[0]: Installing include files
make: execvp: /home/harshilsharma63/llvm/autoconf/mkinstalldirs: Permission denied
make: *** [install-local] Error 127
harshilsharma63@ubuntu:~/llvm$ sudo make install
llvm[0]: Installing include files
make: execvp: /home/harshilsharma63/llvm/autoconf/mkinstalldirs: Permission denied
make: *** [install-local] Error 127


I have installed build-essentials. I cloned the repository using svm in fedora and copied the downloaded files from Fedora -> Windows -> Ubuntu.



Note: I'm using Ubuntu 12.04


More From » 12.04

 Answers
5

It seems like it's trying to execute a file /home/harshilsharma63/llvm/autoconf/mkinstalldirs but it doesn't have the permission to do this.
Just try to make this file runnable:



sudo chmod a+x /home/harshilsharma63/llvm/autoconf/mkinstalldirs


Then try to clean the make and do it again:



sudo make clean
./configure
make
sudo make install

[#29485] Friday, April 7, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
heaco

Total Points: 479
Total Questions: 124
Total Answers: 114

Location: Lesotho
Member since Sat, Oct 1, 2022
2 Years ago
;