-
Notifications
You must be signed in to change notification settings - Fork 97
irony-install-server failure #196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You can also try to set the Can you show the output of Did you try this very command (replacing 3.5 by 3.6)? #135 (comment) Can you go back to the simple cmake command:
And copy/paste any error you get. Debugging OS X issues is difficult for me as I cannot test, maybe @tsukimizake may help, I don't know. |
First Suggestion
Second Suggestion
Third Suggestion
yields: the same output as above. Fourth Suggestion
Further Suggestions@Sarcasm Thanks for all the help so far, I hope this output that I gave you is helpful. I hope we can come up with a solution. |
Can you add |
Here is the output: -- mode: compilation; default-directory: "/var/folders/kf/9_ybd9l55sx4ktk77r831q600000gn/T/build-irony-server-0.2.0-cvs4/" -- cmake -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_PREFIX=/Users/thutmose/.emacs.d/irony/ /Users/thutmose/.emacs.d/elpa/irony-20150614.1225/server && cmake --build . --use-stderr --config Release --target install
SIGTRAP Call Stack (most recent call first): -- Irony package version is '0.2.0-cvs4' Compilation finished at Wed Jun 17 13:01:04 |
Can you run I'm sorry, apart from that I don't know much what to do. Maybe @tsukimizake can help? Maybe you will have a better luck on stackexchange asking question about rpath and stuff. I don't know the tools to inspect the rpath, to list the libraries that aren't found, ... |
It tells me the same thing as last time: ~/.emacs.d/irony $ ./bin/irony-server --version Yeah, thanks for all the help again. I'll have to read more about the rpath. |
I'm interested by any solution you can find, so let the ticket open until you find one. If you just want irony to works, I think you can download a working archive here: http://llvm.org/releases/ |
All I really want is Cocoa UI object/method completion (e.g. completion on the methods for the NSTextField class) what's the easiest way to get this capability? |
Probably to download the archive from http://llvm.org/releases/ You can an example here: #138 (comment) |
Sweet! That works well! |
I have been unsuccessful in properly executing the
irony-install-server
command. I have read through some prior issues and tried various options such as -DCMAKE_PREFIX_PATH, -DCMAKE_LIBCLANG_LIBRARY and -DLIBCLANG_INCLUDE_DIR. I first tried llvm/clang that comes with my Mac (running OSX 10.10.3), when that didn't work I triedbrew install llvm --with-clang.
The errors I get are of the form:dyld: Library not loaded: @rpath/libclangAST.dylib Referenced from: /usr/local/opt/llvm/lib/libclang.3.6.dylib Reason: image not found
If I execute
sudo install_name_tool -change @rpath/libclangAST.dylib /usr/local/opt/llvm/lib/libclangAST.dylib /usr/local/opt/llvm/lib/libclang.3.6.dylib
and try runningirony-install-server
again, then I get the same error message with different .dylib files (I did this a lot more than once....). I can find all of these .dylib files in the /usr/local/opt/llvm/lib/.The command that I have run (shown in irony-server build buffer) is:
/opt/local/bin/cmake -DLIBCLANG_LIBRARY=/usr/local/opt/llvm/lib/libclang.3.6.dylib -DLIBCLANG_INCLUDE_DIR=/usr/local/opt/llvm/include/ -DCMAKE_PREFIX_PATH=/usr/local/opt/llvm -DCMAKE_INSTALL_PREFIX\=/Users/thutmose/.emacs.d/irony/ /Users/thutmose/.emacs.d/elpa/irony-20150408.1501/server && /opt/local/bin/cmake --build . --use-stderr --config Release --target install
I think I have these "PATHS" configured correctly and I'm not sure what else to try. Please let me know if you need more information. Thanks.
The text was updated successfully, but these errors were encountered: