Hi, I am trying to install a program that works just with llvm-2.8. I have installed it but while i am trying to run llvm-config it says no such file or directory: bash: /usr/bin/llvm-config: No such file or directory Does any body know how to solve this problem? I can use apt-get but it gives me either 2.9 or 3.0 or higher versions. Thank you, Reza -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120919/d03d7e11/attachment.html>
Could you give us more information? If your package manager does not have 2.8 (I would hope it doesn't! that version is very old!), I would recommend downloading 2.8 from http://llvm.org/releases/, and then building it yourself. --Sean Silva On Wed, Sep 19, 2012 at 6:31 PM, Reza Sheykhi <hajishey at msu.edu> wrote:> Hi, > > I am trying to install a program that works just with llvm-2.8. I have > installed it but while i am trying to run llvm-config it says no such file > or directory: > > bash: /usr/bin/llvm-config: No such file or directory Does any body know how > to solve this problem? I can use apt-get but it gives me either 2.9 or 3.0 > or higher versions. > > Thank you, > Reza > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
Reza Sheykhi <hajishey at msu.edu> writes:> I am trying to install a program that works just with llvm-2.8. I have > installed it but while i am trying to run llvm-config it says no such > file or directory: > > bash: /usr/bin/llvm-config: No such file or directory Does any body > know how to solve this problem? I can use apt-get but it gives me > either 2.9 or 3.0 or higher versions.Are the other llvm executables installed on /usr/bin ? Does llvm-config exists on the `bin' subdirectory you used for building LLVM? When you execute `make install' is it listed along the other LLVM files that are copied to the destination directories? And the basics: how are you building LLVM? (list explicit commands, etc)
Hi, Thank you for your repky. I downloaded llvm-2.8 and installed it by first ./configure and then ./make it. It was installed in /usr/local as i expected. However, when i tried to run llvm-config-2.8, for example --version, it was not ran. Then, I used apt-get to installed the llvm-2.8-dev to have llvm-config. Did i do anything wrong? Also i do not know if these two installed llvms are linked together! Thank you, Reza Quoting Sean Silva <silvas at purdue.edu>:> Could you give us more information? If your package manager does not > have 2.8 (I would hope it doesn't! that version is very old!), I would > recommend downloading 2.8 from http://llvm.org/releases/, and then > building it yourself. > > --Sean Silva > > On Wed, Sep 19, 2012 at 6:31 PM, Reza Sheykhi <hajishey at msu.edu> wrote: >> Hi, >> >> I am trying to install a program that works just with llvm-2.8. I have >> installed it but while i am trying to run llvm-config it says no such file >> or directory: >> >> bash: /usr/bin/llvm-config: No such file or directory Does any body know how >> to solve this problem? I can use apt-get but it gives me either 2.9 or 3.0 >> or higher versions. >> >> Thank you, >> Reza >> >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120923/09376257/attachment.html>