<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META content="MSHTML 5.00.3821.2800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Times New Roman">Hi,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Times New Roman">I have a question about install 
path.</FONT></DIV>
<DIV><FONT face="Times New Roman">Some one installs llvm1.4 under /opt/llvm as 
root. However, when I create a project under my home directory, I cannot do Make 
correctly. It should be enviroment issue, but I cannot fix it.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Times New Roman">The environment is as the 
following,</FONT></DIV>
<DIV><FONT face="Times New Roman">/opt/llvm : // llvm 1. 4  </FONT></DIV>
<DIV><FONT face="Times New Roman">/home/qiuyu/   ://my home 
directory</FONT></DIV>
<DIV><FONT face="Times New Roman">/home/qiuyu/project/statBB ://my project 
directory</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Times New Roman">I create a simple pass to test it. The content 
of Makefile is </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Times New Roman">LEVEL = /opt/llvm</FONT></DIV>
<DIV><FONT face="Times New Roman">LIBRARYNAME = StatBB</FONT></DIV>
<DIV><FONT face="Times New Roman">SHARED_LIBRARY = 1</FONT></DIV>
<DIV><FONT face="Times New Roman">include $(LEVEL)/Makefile.common</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Times New Roman">Once I do make, I got a error like 
</FONT></DIV>
<DIV><FONT face="Times New Roman">"</FONT></DIV>
<DIV><FONT face="Times New Roman">/bin/sh: line 1: cd: 
/home/qiuyu/project/statBB//opt/llvm/: No such file or directory</FONT></DIV>
<DIV><FONT 
face="Times New Roman">                                             
^^^^^^^<BR>llvm[0]: Reconfiguring with /opt/llvm/configure<BR>make: *** 
[/home/qiuyu/project/statBB/config.status] Error 127<BR></FONT></DIV>
<DIV><FONT face="Times New Roman">"</FONT></DIV>
<DIV><FONT face="Times New Roman">So I changed the "LEVEL =/opt/llvm" to 
"LEVEL=../../../../opt/llvm", the error message became to </FONT></DIV>
<DIV><FONT face="Times New Roman">"make: *** No rule to make target 
`/opt/llvm/home/qiuyu/shuffleBB/Makefile', needed by `Makefile'.  
Stop.</FONT></DIV>
<DIV><FONT 
face="Times New Roman">                                                                         
^^^^^^^<BR>"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Times New Roman">Finally, I swith to be as root and put my 
project under /opt/llvm/project/statBB, and LEVEL=../..  and I can make 
it.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Times New Roman">Is there any way to make it work on my home 
directory?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Times New Roman">Thanks</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV></BODY></HTML>