Skip to content
This repository has been archived by the owner on Aug 8, 2018. It is now read-only.

CMake error (SOLVED) #191

Closed
anthonybrown opened this issue Nov 21, 2016 · 7 comments
Closed

CMake error (SOLVED) #191

anthonybrown opened this issue Nov 21, 2016 · 7 comments

Comments

@anthonybrown
Copy link

anthonybrown commented Nov 21, 2016

I tried to install neovim but got this build error:

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:3 (project)

-- Configuring incomplete, errors occurred!
See also "/tmp/neovim-20161121-60688-s3speo/deps-build/CMakeFiles/CMakeOutput.log".
See also "/tmp/neovim-20161121-60688-s3speo/deps-build/CMakeFiles/CMakeError.log".

@jszakmeister
Copy link
Contributor

You're going to need to provide much more information here. We're building all the time with CMake, so it seems like you might have some sort of environmental problem. But it's impossible to debug anything with what you have provided. Have tried following the troubleshooting steps outlined in the README for the repository? At the very least follow the steps in filing an issue.

@anthonybrown
Copy link
Author

anthonybrown commented Nov 21, 2016

@jszakmeister, Sorry about that, I did go through the troubleshooting steps.
Does this help?

==> Formula
Tap: neovim/neovim
Path: /usr/local/Homebrew/Library/Taps/neovim/homebrew-neovim/Formula/neovim.rb
==> Configuration
HOMEBREW_VERSION: 1.1.1
ORIGIN: https://github.com/Homebrew/brew
HEAD: edf042ee97f80955b077724119e717a51eb25e29
Last commit: 5 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 586ce135b9aad60f18c5c65a938a69670d946cda
Core tap last commit: 39 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 7.3 build 703
Git: 2.10.2 => /usr/local/bin/git
Perl: /usr/local/bin/perl => /usr/local/Cellar/perl/5.24.0_1/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /Users/tbrown/.rvm/rubies/ruby-2.3.0/bin/ruby
Java: 1.8.0_102
macOS: 10.11.6-x86_64
Xcode: 8.1
CLT: 7.3.1.0.1.1461711523
X11: 2.7.9 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
CMAKE_PREFIX_PATH: /usr/local/opt/gettext:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
MACOSX_DEPLOYMENT_TARGET: 10.11
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.11
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/super:/usr/local/opt/cmake/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/gettext/bin:/usr/local/opt/git/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: neovim/neovim/neovim HEAD-5f02608 did not build
Logs:
     /Users/tbrown/Library/Logs/Homebrew/neovim/00.options.out
     /Users/tbrown/Library/Logs/Homebrew/neovim/01.cmake
     /Users/tbrown/Library/Logs/Homebrew/neovim/01.cmake.cc

@jszakmeister
Copy link
Contributor

Unfortunately, no. :-( What command are you running? Is homebrew up-to-date? Did you run with the --verbose option? You really should do that, as sometimes more information about the error pops out. And you should really run gist-logs and post the link.

@anthonybrown
Copy link
Author

anthonybrown commented Nov 21, 2016

Yes, brew is up to date
I ran brew install neovim --HEAD --verbose

@anthonybrown
Copy link
Author

here is my gist.

@jszakmeister
Copy link
Contributor

This was in your logs:

  ld: unexpected token: !tapi-tbd-v2 file
  '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/lib/libSystem.tbd'
  for architecture x86_64

Your toolchain is not properly set up. See #180.

@anthonybrown
Copy link
Author

I was able to install after pointing xcode to the proper directory.
Thanks for your help

@justinmk justinmk changed the title CMake will not be able to correctly generate this project CMake error (SOLVED) Nov 21, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants