Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have been trying to use the much talked about SublimeClang plugin for Sublime Text 2, which gives me an error that libcache.so could not be loaded, and in Linux, I am supposed to compile it manually.

I have seen some posts where people mention that they had compiled it and put it into /usr/local/lib, but oddly enough, I cannot seem to find any text on how to compile libcache!

Compiling CLang was easy enough, but I cannot really figure this one out.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

What you need to do:

cd ~/.config/sublime-text-2/Packages/SublimeClang/src/
mkdir build
cd build
cmake ..
make
share|improve this answer
    
Thank you! I did that, and it worked, but not for long. As soon as I do apt-get update && apt-get upgrade, the whole build directory disappears. How do I stop it? Any ideas? –  Subhamoy Sengupta Jul 22 '12 at 9:05
1  
Yes, I realized this happening sometimes too. It seems Package Control cleans the directory somehow. I now installed SublimeClang using git clone of SublimeClang inside the Packages directory. I don't have the problem anymore. –  FrozenCow Aug 18 '12 at 15:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.