Hi,<div><br></div><div>I am getting the following build error while building llvm on RHEL5. Please help me fix this:</div><div><br></div><div><div>gmake[2]: Leaving directory `/rhel5pdi/home/asin/llvm_install/tools/llvm-config'</div>

<div>/rhel5pdi/home/asin/llvm_install/Release/bin/llvm-config: line 18: use: command not found</div><div>/rhel5pdi/home/asin/llvm_install/Release/bin/llvm-config: line 19: use: command not found</div><div>/rhel5pdi/home/asin/llvm_install/Release/bin/llvm-config: line 20: use: command not found</div>

<div>/rhel5pdi/home/asin/llvm_install/Release/bin/llvm-config: line 21: use: command not found</div><div>/rhel5pdi/home/asin/llvm_install/Release/bin/llvm-config: line 24: my: command not found</div><div>/rhel5pdi/home/asin/llvm_install/Release/bin/llvm-config: line 25: my: command not found</div>

<div>/rhel5pdi/home/asin/llvm_install/Release/bin/llvm-config: line 26: my: command not found</div><div>/rhel5pdi/home/asin/llvm_install/Release/bin/llvm-config: line 27: my: command not found</div><div>/rhel5pdi/home/asin/llvm_install/Release/bin/llvm-config: line 28: my: command not found</div>

<div>/rhel5pdi/home/asin/llvm_install/Release/bin/llvm-config: line 29: my: command not found</div><div>/rhel5pdi/home/asin/llvm_install/Release/bin/llvm-config: line 30: syntax error near unexpected token `('</div><div>

/rhel5pdi/home/asin/llvm_install/Release/bin/llvm-config: line 30: `my $ARCH                = lc(q{x86});'</div><div>gmake[2]: Entering directory `/rhel5pdi/home/asin/llvm_install/tools/opt'</div><div>/rhel5pdi/home/asin/llvm-2.9/Makefile.rules:959: *** llvm-config --libs failed.  Stop.</div>

<div>gmake[2]: Leaving directory `/rhel5pdi/home/asin/llvm_install/tools/opt'</div><div>gmake[1]: *** [opt/.makeall] Error 2</div><div>gmake[1]: Leaving directory `/rhel5pdi/home/asin/llvm_install/tools'</div><div>

gmake: *** [all] Error 1</div></div><div><br></div>