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>
Reza Sheykhi <hajishey at msu.edu> writes:> 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!What's the output of this commands: which perl which llvm-config which llvm-as /usr/local/bin/llvm-config --version /usr/bin/llvm-config --version ?
I got the following answers: which perl /usr/bin/perl which llvm-config /usr/local/bin/llvm-config which llvm-as /usr/local/bin/llvm-as /usr/bin/llvm-confing --version bash: /usr/bin/llvm-confing: No such file or directory /usr/local/bin/llvm-config --version 2.8 Quoting Óscar Fuentes <ofv at wanadoo.es>:> Reza Sheykhi <hajishey at msu.edu> writes: > >> 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! > > What's the output of this commands: > > which perl > > which llvm-config > > which llvm-as > > /usr/local/bin/llvm-config --version > > /usr/bin/llvm-config --version > > > ? >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120923/a4403186/attachment.html>