Golevka / emacs-clang-complete-async

An emacs plugin to complete C and C++ code using libclang
360 stars 71 forks source link

llvm-config has changed it's name (Linux Mint 14) #31

Open davidshepherd7 opened 11 years ago

davidshepherd7 commented 11 years ago

In the Makefile there is a shell call to llvm-config but the command for the version of llvm that my package manager gives me is llvm-config-3.0. Editing the Makefile to use the newer command worked.

I guess making it work across multiple versions is more difficult...

See also: https://bugs.launchpad.net/ubuntu/+source/llvm/+bug/768143

edit: I guess this may not be the correct "fix" because it only worked inconsistently. It's possible that I just got the wrong llvm package.

toojays commented 11 years ago

I have a commit which somewhat addresses this at toojays/emacs-clang-complete-async@06d6d02c. It doesn't auto-detect the correct llvm-config, but it does let you provide a command line argument to say where your llvm-config is. For instance, with this patch, you would run make LLVM_CONFIG=llvm-config-3.0.