[LLVMdev] Installation problem

August Karlstrom fusionfile at comhem.se
Mon Aug 25 06:48:52 PDT 2008


Samuel Crow wrote:
> It looks like the permissions aren't set for read access for non-root users.  The command for fixing that is "chmod".  If you look up chmod in the man pages of the Ubuntu help files it should give instructions on how to use it.
> 
> I hope this helps,

Thanks for your reply. Actually, the file has read access but the 
execute flag is not set:

$ ls -l /usr/lib/llvm/llvmc
-rw-r--r-- 1 root root 527791 2006-11-09 12:05 /usr/lib/llvm/llvmc

To me it seems like a bug in the installation script. I have notified 
the package maintainer (Ubuntu MOTU Developers 
<ubuntu-motu at lists.ubuntu.com>).

> --- On Mon, 8/25/08, August Karlstrom <fusionfile at comhem.se> wrote:
> 
>> From: August Karlstrom <fusionfile at comhem.se>
>> Subject: [LLVMdev] Installation problem
>> To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
>> Date: Monday, August 25, 2008, 7:02 AM
>> Hi,
>>
>> This question should probably be sent to a LLVM Users
>> list... if there 
>> was such a list. Anyway, I have installed llvm and llvm-cfe
>> through 
>> Synaptic in Ubuntu but when I try to compile a test program
>> it fails:
>>
>> $ cat test.c
>> #include<stdio.h>
>>
>> int main(void)
>> {
>> 	puts("test");
>>
>> 	return 0;
>> }
>>
>> $ llvmc test.c
>> exec: 14: /usr/lib/llvm/llvmc: Permission denied
>> $ llvmgcc test.c
>> exec: 10: /usr/lib/llvm/llvm-gcc4/bin/gcc: not found
>>
>> Any clues?




More information about the llvm-dev mailing list