Giter VIP home page Giter VIP logo

homebrew-neovim's Introduction

Coverity Scan analysis Packages Debian CI Downloads

Neovim is a project that seeks to aggressively refactor Vim in order to:

See the Introduction wiki page and Roadmap for more information.

Features

See :help nvim-features for the full list, and :help news for noteworthy changes in the latest version!

Install from package

Pre-built packages for Windows, macOS, and Linux are found on the Releases page.

Managed packages are in Homebrew, Debian, Ubuntu, Fedora, Arch Linux, Void Linux, Gentoo, and more!

Install from source

See BUILD.md and supported platforms for details.

The build is CMake-based, but a Makefile is provided as a convenience. After installing the dependencies, run the following command.

make CMAKE_BUILD_TYPE=RelWithDebInfo
sudo make install

To install to a non-default location:

make CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_INSTALL_PREFIX=/full/path/
make install

CMake hints for inspecting the build:

  • cmake --build build --target help lists all build targets.
  • build/CMakeCache.txt (or cmake -LAH build/) contains the resolved values of all CMake variables.
  • build/compile_commands.json shows the full compiler invocations for each translation unit.

Transitioning from Vim

See :help nvim-from-vim for instructions.

Project layout

├─ cmake/           CMake utils
├─ cmake.config/    CMake defines
├─ cmake.deps/      subproject to fetch and build dependencies (optional)
├─ runtime/         plugins and docs
├─ src/nvim/        application source code (see src/nvim/README.md)
│  ├─ api/          API subsystem
│  ├─ eval/         Vimscript subsystem
│  ├─ event/        event-loop subsystem
│  ├─ generators/   code generation (pre-compilation)
│  ├─ lib/          generic data structures
│  ├─ lua/          Lua subsystem
│  ├─ msgpack_rpc/  RPC subsystem
│  ├─ os/           low-level platform code
│  └─ tui/          built-in UI
└─ test/            tests (see test/README.md)

License

Neovim contributions since b17d96 are licensed under the Apache 2.0 license, except for contributions copied from Vim (identified by the vim-patch token). See LICENSE for details.

Vim is Charityware.  You can use and copy it as much as you like, but you are
encouraged to make a donation for needy children in Uganda.  Please see the
kcc section of the vim docs or visit the ICCF web site, available at these URLs:

        https://iccf-holland.org/
        https://www.vim.org/iccf/
        https://www.iccf.nl/

You can also sponsor the development of Vim.  Vim sponsors can vote for
features.  The money goes to Uganda anyway.

homebrew-neovim's People

Contributors

anderscarling avatar ashleyh avatar brcolow avatar chancez avatar cweagans avatar davidszotten avatar equal-l2 avatar fwalch avatar happy-dude avatar ibash avatar jerzerak avatar josemarluedke avatar jszakmeister avatar justinmk avatar mhinz avatar mtayler avatar nelstrom avatar phinze avatar riannucci avatar samn avatar soli avatar sts10 avatar tarruda avatar tbelaire avatar vitorgalvao avatar wbinnssmith avatar xu-cheng avatar zchee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebrew-neovim's Issues

"brew install --HEAD neovim" fails on Debian wheezy

Installation fails with this error:

==> Installing neovim from neovim/homebrew-neovim
==> Cloning https://github.com/neovim/neovim.git
Updating /home/ben/.cache/Homebrew/neovim--git
==> Checking out branch master
==> Downloading https://github.com/libuv/libuv/archive/v1.4.2.tar.gz
Already downloaded: /home/ben/.cache/Homebrew/neovim--libuv-1.4.2.tar.gz
==> Downloading https://github.com/msgpack/msgpack-c/archive/cpp-1.0.0.tar.gz
Already downloaded: /home/ben/.cache/Homebrew/neovim--msgpack-1.0.0.tar.gz
==> Downloading http://luajit.org/download/LuaJIT-2.0.3.tar.gz
Already downloaded: /home/ben/.cache/Homebrew/neovim--luajit-2.0.3.tar.gz
==> Downloading https://github.com/keplerproject/luarocks/archive/0587afbb5fe8ceb2f2eea16f486bd6183bf02f29.tar.gz
Already downloaded: /home/ben/.cache/Homebrew/neovim--luarocks-29.tar.gz
==> Downloading https://github.com/mauke/unibilium/archive/v1.1.2.tar.gz
Already downloaded: /home/ben/.cache/Homebrew/neovim--libunibilium-1.1.2.tar.gz
==> Downloading https://github.com/neovim/libtermkey/archive/8c0cb7108cc63218ea19aa898968eede19e19603.tar.gz
Already downloaded: /home/ben/.cache/Homebrew/neovim--libtermkey-19603.tar.gz
==> Downloading https://github.com/neovim/libvterm/archive/1b745d29d45623aa8d22a7b9288c7b0e331c7088.tar.gz
Already downloaded: /home/ben/.cache/Homebrew/neovim--libvterm-7088.tar.gz
==> make CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX:PATH=/home/ben/.linuxbrew/Cellar/neovim/HEAD" install
make[2]: *** [CMakeFiles/unibilium.dir/all] Error 2
make[2]: Leaving directory /tmp/neovim20150330-6992-16984n8/.deps' make[1]: *** [all] Error 2 make[1]: Leaving directory/tmp/neovim20150330-6992-16984n8/.deps'
make: *** [deps] Error 2

C++ header __debug not found

Part of building output:

/usr/local/Library/ENV/4.3/clang -O2 -fPIC -I/tmp/neovim20150417-37675-10eeqak/.deps/usr/include/luajit-2.0 -c src/Parser.cpp -o src/Parser.o -Iinclude -Isrc/bind -Isrc/vendor
In file included from src/Parser.cpp:1:
In file included from include/xml/Parser.h:33:
In file included from src/bind/dub/dub.h:54:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/string:439:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/algorithm:628:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:604:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator:341:10: fatal error: 
      '__debug' file not found
#include <__debug>
         ^
1 error generated.

PS: I uninstalled Xcode and installed CommandLine tools. Hope this link will be useful.
http://stackoverflow.com/questions/29529455/missing-c-header-debug-after-updating-osx-command-line-tools-6-3

Addtional platform info:

CC@~ $ brew config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 61152c7d8d79e5e292994bdb554b4ad53d01054a
Last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit ivybridge
OS X: 10.10.3-x86_64
Xcode: N/A
CLT: 6.3.0.0.1.1428348375
ccache: error: Could not find compiler "gcc-4.0" in PATH
GCC-4.0: build 0
GCC-4.2: build 0
Clang: 6.1 build 602
X11: N/A
System Ruby: 2.0.0-p481
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby
Java: 1.8.0_31

Unable to install neovim using homebrew

I am trying to reinstall neovim using the following and it doesn't seem to want to work. Been like this for a few days.

~  brew install --HEAD neovim
==> Installing neovim from neovim/homebrew-neovim
==> Cloning https://github.com/neovim/neovim.git
Updating /Library/Caches/Homebrew/neovim--git
==> Checking out branch master
==> Downloading https://github.com/libuv/libuv/archive/v1.0.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libuv-1.0.1.tar.gz
==> Downloading https://github.com/msgpack/msgpack-c/archive/ecf4b09acd29746829b6a02939db91dfdec635b4.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--msgpack-4.tar.gz
==> Downloading http://luajit.org/download/LuaJIT-2.0.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--luajit-2.0.3.tar.gz
==> Downloading https://github.com/keplerproject/luarocks/archive/0587afbb5fe8ceb2f2eea16f486bd6183bf02f29.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--luarocks-29.tar.gz
==> Downloading https://github.com/mauke/unibilium/archive/v1.1.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libunibilium-1.1.1.tar.gz
==> Downloading https://github.com/neovim/libtermkey/archive/neovim.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libtermkey-HEAD.tar.gz
==> Downloading https://github.com/neovim/libtickit/archive/neovim.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libtickit-HEAD.tar.gz
==> make CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX:PATH=/usr/local/Cellar/neovim/HEAD" install

-- Configuring incomplete, errors occurred!
See also "/tmp/neovim-yYBZLc/.deps/build/third-party/CMakeFiles/CMakeOutput.log".
See also "/tmp/neovim-yYBZLc/.deps/build/third-party/CMakeFiles/CMakeError.log".
make: *** [build/.ran-third-party-cmake] Error 1

READ THIS: http://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/neovim/homebrew-neovim/issues

Here is a gist of the logs:

https://gist.github.com/rainkinz/da4f6415a745dc0757e6

Any ideas?

Error: Failed unpacking rock file

For your information:

Generating usr/lib/luarocks/rocks/lua-messagepack
Warning: Failed searching manifest: Failed extracting manifest file

Error: Failed unpacking rock file: /tmp/luarocks_luarocks-rock-lua-messagepack-0.3.2-1-8738/lua-messagepack-0.3.2-1.src.rock

I resolved my issue by running 'apt-get install unzip' on Debian Wheezy as root. Documenting for posterity.

Neovim build fails when building LuaJIT

This has happened on two separate Macbook Pros when attempting to update within the last few days. Both machines had previously successfully built Neovim via homebrew:

==== Building LuaJIT 2.0.4 ====
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C src
HOSTCC    host/minilua.o
HOSTLINK  host/minilua
ld: library not found for -lgcc_s.10.4
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [host/minilua] Error 1
make[3]: *** [src/luajit] Error 2
make[2]: *** [build/src/luajit-stamp/luajit-install] Error 2
make[1]: *** [CMakeFiles/luajit.dir/all] Error 2
make: *** [all] Error 2

Make error (SOLVED: reinstall xcode)

Already downloaded: /Library/Caches/Homebrew/neovim--jemalloc-3.6.0.tar.bz2 ==> Building third-party dependencies. ==> cmake ../third-party -DUSE_BUNDLED_BUSTED=OFF -DUSE_EXISTING_SRC_DIR=ON -DCMAKE_C_FLAG ==> make VERBOSE=1 make[4]: *** [host/minilua] Error 1 make[3]: *** [src/luajit] Error 2 make[2]: *** [build/src/luajit-stamp/luajit-install] Error 2 make[1]: *** [CMakeFiles/luajit.dir/all] Error 2 make: *** [all] Error 2

brew install --HEAD neovim --verbose

`PATH: /usr/local/Library/ENV/4.3:/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/bin:/bin:/usr/sbin:/sbin

Error: neovim/neovim/neovim HEAD did not build
Logs:
/Users/androsfenollosa/Library/Logs/Homebrew/neovim/01.cmake
/Users/androsfenollosa/Library/Logs/Homebrew/neovim/01.cmake.cc
/Users/androsfenollosa/Library/Logs/Homebrew/neovim/02.make
/Users/androsfenollosa/Library/Logs/Homebrew/neovim/02.make.cc`

Add an option to install Python client

Instead of installing Python client manually pip install neovim maybe we can have an option to install it with the homebrew formula like so brew install neovim --with-python.

Unable to install Neovim

When I try to install in my Yosemite installation, it errors out with the following message:

==> make CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX:PATH=/usr/local/Cellar/neovim/HEAD" install
dyld: Library not loaded: /usr/local/lib/liblzma.5.dylib
  Referenced from: /usr/local/opt/cmake/bin/cmake
  Reason: Incompatible library version: cmake requires version 8.0.0 or later, but liblzma.5.dylib provides version 6.0.0
/bin/sh: line 1: 45407 Trace/BPT trap: 5       cmake -G 'Unix Makefiles' ../third-party
make: *** [build/.ran-third-party-cmake] Error 133

I already ran brew update, brew doctor before trying to install again. same issue.

here is a gist of the logs: https://gist.github.com/anonymous/952e8e32286437cc744a

cannot install neovim after el capitan update (SOLVED: reinstall CL tools)

I recent updated to mac os x 10.10 and before that there was an xcode update as well.

so currently i have Version 7.0.1 (7A1001)
and I have mac os x 10.10

This is the brew install log:

Brother:~ blubee$ brew install neovim --HEAD
==> Installing neovim from neovim/homebrew-neovim
==> Cloning https://github.com/neovim/neovim.git
Updating /Library/Caches/Homebrew/neovim--git
==> Checking out branch master
==> Downloading https://github.com/libuv/libuv/archive/v1.7.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libuv-1.7.2.tar.gz
==> Downloading https://github.com/msgpack/msgpack-c/archive/cpp-1.0.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--msgpack-1.0.0.tar.gz
==> Downloading http://luajit.org/download/LuaJIT-2.0.4.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--luajit-2.0.4.tar.gz
==> Downloading https://github.com/keplerproject/luarocks/archive/0587afbb5fe8ceb2f2eea16f486bd6183bf02f29.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--luarocks-29.tar.gz
==> Downloading https://github.com/mauke/unibilium/archive/v1.1.4.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--unibilium-1.1.4.tar.gz
==> Downloading https://github.com/neovim/libtermkey/archive/8c0cb7108cc63218ea19aa898968eede19e19603.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libtermkey-19603.tar.gz
==> Downloading https://github.com/neovim/libvterm/archive/1b745d29d45623aa8d22a7b9288c7b0e331c7088.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libvterm-7088.tar.gz
==> Downloading https://github.com/jemalloc/jemalloc/releases/download/3.6.0/jemalloc-3.6.0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/neovim--jemalloc-3.6.0.tar.bz2
==> Building third-party dependencies.
==> cmake ../third-party -DUSE_BUNDLED_BUSTED=OFF -DUSE_EXISTING_SRC_DIR=ON -DCMAKE_C_FLAGS_RELEASE= -DCMAKE_CXX_FLAGS_RELEAS
==> make VERBOSE=1
==> Building Neovim.
==> cmake .. -DCMAKE_C_FLAGS_RELEASE= -DCMAKE_CXX_FLAGS_RELEASE= -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/neovim/HEAD -DCMAKE
==> make VERBOSE=1 install
Last 15 lines from /Users/blubee/Library/Logs/Homebrew/neovim/04.make:
      _string_convert_ext in mbyte.c.o
  "_libiconv_close", referenced from:
      _readfile in fileio.c.o
      _buf_write in fileio.c.o
      _mb_init in mbyte.c.o
      _utf_find_illegal in mbyte.c.o
      _my_iconv_open in mbyte.c.o
      _convert_setup_ext in mbyte.c.o
  "_libiconv_open", referenced from:
      _my_iconv_open in mbyte.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/nvim] Error 1
make[1]: *** [src/nvim/CMakeFiles/nvim.dir/all] Error 2
make: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/neovim/homebrew-neovim/issues

Warning: 

There's no actual warning, I was able to install neovim and had it working prior to 10.10 update. After the update I ran into this error and tried the trouble shooting steps, one of which uninstalled neovim and now it's gone from my system.

Unable to link on 10.9.5 with system iconv

Linking failed for me with:

Linking C executable ../../bin/nvim
Undefined symbols for architecture x86_64:
  "_iconv", referenced from:
      _readfile in fileio.c.o
      _buf_write_bytes in fileio.c.o
      _my_iconv_open in mbyte.c.o
      _string_convert_ext in mbyte.c.o
     (maybe you meant: _my_iconv_open)
  "_iconv_close", referenced from:
      _readfile in fileio.c.o
      _buf_write in fileio.c.o
      _mb_init in mbyte.c.o
      _utf_find_illegal in mbyte.c.o
      _my_iconv_open in mbyte.c.o
      _convert_setup_ext in mbyte.c.o
  "_iconv_open", referenced from:
      _my_iconv_open in mbyte.c.o
     (maybe you meant: _my_iconv_open)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [bin/nvim] Error 1
make[2]: *** [src/nvim/CMakeFiles/nvim.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [nvim] Error 2

I tried debugging with doctor removing any LIBRARY_PATH settings etc. ensuring latest Xcode and Xcode Command Line Tools.

The only thing that worked for me was to install inconv from the homebrew/dupes tap and force link it.

brew install homebrew/dupes/libiconv
brew link libiconv --force

Feel free to close if this is expected. I just wanted to document the issue for the next person.

Can't brew install neovim on OSX 10.10.3

Hi,

Having a hard time installing Neovim via homebrew on OSX 10.10.3.

After tapping and running brew install --HEAD neovim, I get the following output:

==> Installing neovim from neovim/homebrew-neovim
==> Cloning https://github.com/neovim/neovim.git
Updating /Library/Caches/Homebrew/neovim--git
==> Checking out branch master
==> Downloading https://github.com/libuv/libuv/archive/v1.4.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libuv-1.4.2.tar.gz
==> Downloading https://github.com/msgpack/msgpack-c/archive/cpp-1.0.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--msgpack-1.0.0.tar.gz
==> Downloading http://luajit.org/download/LuaJIT-2.0.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--luajit-2.0.3.tar.gz
==> Downloading https://github.com/keplerproject/luarocks/archive/0587afbb5fe8ceb2f2eea16f486bd6183bf02f29.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--luarocks-29.tar.gz
==> Downloading https://github.com/mauke/unibilium/archive/v1.1.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--unibilium-1.1.2.tar.gz
==> Downloading https://github.com/neovim/libtermkey/archive/8c0cb7108cc63218ea19aa898968eede19e19603.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libtermkey-19603.tar.gz
==> Downloading https://github.com/neovim/libvterm/archive/1b745d29d45623aa8d22a7b9288c7b0e331c7088.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libvterm-7088.tar.gz
==> Downloading https://github.com/jemalloc/jemalloc/archive/3.6.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--jemalloc-3.6.0.tar.gz
==> make CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX:PATH=/usr/local/Cellar/neovim/HEAD"
/usr/local/Library/ENV/4.3/clang -O2 -fPIC -I/tmp/neovim20150418-35394-o1hsya/.deps/usr/include/luajit-2.0 -c src/Parser.cpp -o src/Parser.o -Iinclude -Isrc/bind -Isrc/vendor
make[3]: *** [usr/lib/luarocks/rocks/stable-busted-deps] Error 1
make[2]: *** [CMakeFiles/stable-busted-deps.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [deps] Error 2

I have taken the troubleshooting steps, but nothing changed. Homebrew is up to date, and brew doctor doesn't reveal any issues. Not sure if it matters, but xcode-select's version is 2339.

Any ideas on what I'm doing wrong here? Thanks!

Performing install step for 'luajit'

==> Building third-party dependencies.
==> cmake ../third-party -DUSE_BUNDLED_BUSTED=OFF -DUSE_EXISTING_SRC_DIR=ON -DCMAKE_C_FLAGS_RELEASE= -DCMAKE_CXX_FLAGS_RELEASE= -DCMAKE_INSTALL_PREFIX=/usr/lo
==> make VERBOSE=1
Last 15 lines from /Users/dariusz.finster/Library/Logs/Homebrew/neovim/02.make:
cd /tmp/neovim20150924-20299-13slhhu/deps-build/build/src/luajit && /usr/local/Cellar/cmake/3.3.2/bin/cmake -E echo_append
cd /tmp/neovim20150924-20299-13slhhu/deps-build/build/src/luajit && /usr/local/Cellar/cmake/3.3.2/bin/cmake -E touch /tmp/neovim20150924-20299-13slhhu/deps-build/build/src/luajit-stamp/luajit-build
[ 71%] Performing install step for 'luajit'
cd /tmp/neovim20150924-20299-13slhhu/deps-build/build/src/luajit && /Applications/Xcode.app/Contents/Developer/usr/bin/make CFLAGS=-fPIC CFLAGS+=-DLUAJIT_DISABLE_JIT CFLAGS+=-DLUA_USE_APICHECK CFLAGS+=-DLUA_USE_ASSERT CCDEBUG+=-g BUILDMODE=static install CC=/usr/local/Library/ENV/4.3/clang PREFIX=/tmp/neovim20150924-20299-13slhhu/deps-build/usr
==== Building LuaJIT 2.0.4 ====
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C src
HOSTCC host/minilua.o
HOSTLINK host/minilua
ld: library not found for -lgcc_s.10.4
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [host/minilua] Error 1
make[3]: *** [src/luajit] Error 2
make[2]: *** [build/src/luajit-stamp/luajit-install] Error 2
make[1]: *** [CMakeFiles/luajit.dir/all] Error 2
make: *** [all] Error 2

Error: undefined method `desc' for Formulary::Formulae::Neovim:Class

brew install --HEAD neovim
Error: undefined method `desc' for Formulary::Formulae::Neovim:Class
Please report this bug:
    https://git.io/brew-troubleshooting
/usr/local/Library/Taps/neovim/homebrew-neovim/Formula/neovim.rb:2:in `<class:Neovim>'
/usr/local/Library/Taps/neovim/homebrew-neovim/Formula/neovim.rb:1:in `load_file'
/usr/local/Library/Homebrew/formulary.rb:92:in `module_eval'
/usr/local/Library/Homebrew/formulary.rb:92:in `load_file'
/usr/local/Library/Homebrew/formulary.rb:82:in `klass'
/usr/local/Library/Homebrew/formulary.rb:71:in `get_formula'
/usr/local/Library/Homebrew/formulary.rb:200:in `factory'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `block in formulae'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `map'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `formulae'
/usr/local/Library/Homebrew/cmd/install.rb:41:in `install'
/usr/local/Library/brew.rb:135:in `<main>'

Unversioned library dependencies break install

At this writing, reinstalling neovim fails as follows:

%  brew reinstall neovim 
==> Reinstalling neovim
==> Cloning https://github.com/neovim/neovim.git
Updating /Library/Caches/Homebrew/neovim--git
==> Checking out branch master
==> Downloading https://github.com/libuv/libuv/archive/v1.0.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libuv-1.0.1.tar.gz
==> Downloading https://github.com/msgpack/msgpack-c/archive/ecf4b09acd29746829b6a02939db91dfdec635b4.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--msgpack-4.tar.gz
==> Downloading http://luajit.org/download/LuaJIT-2.0.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--luajit-2.0.3.tar.gz
==> Downloading https://github.com/keplerproject/luarocks/archive/0587afbb5fe8ceb2f2eea16f486bd6183bf02f29.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--luarocks-29.tar.gz
==> Downloading https://github.com/mauke/unibilium/archive/v1.1.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libunibilium-1.1.1.tar.gz
==> Downloading https://github.com/neovim/libtermkey/archive/neovim.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libtermkey-HEAD.tar.gz
==> Downloading https://github.com/neovim/libtickit/archive/neovim.tar.gz
######################################################################## 100.0%
Error: SHA1 mismatch
Expected: 49e609de29c3bdc3b40d2ade76e69fde6e0d74bc
Actual: 08a2aa9ab4bacbeeafefac430691089d829fdb13
Archive: /Library/Caches/Homebrew/neovim--libtickit-HEAD.tar.gz
To retry an incomplete download, remove the file above.

It appears that the archive file has changed out from under the formula, breaking installation. Removing the offending file from the cache and retrying does not solve the problem.

The archive files should be named with a consistent version or ref id that is never overwritten by a file with a new SHA, unlike what I'll guess is happening now when [edit: corrected] using the URL for master vs. a specific commit.

missing lua dependencies fails after third-party target

I don't know if this is my environment or what, but the brew install neovim thing is failing for me:

Logs: https://gist.github.com/anonymous/2bd6ea69ffcd8972b2f7

Interesting parts (imo?):

[100%] Built target nvim-client
Scanning dependencies of target third-party
[100%] Built target third-party
cd build && cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=RelWithDebInfo "-DCMAKE_INSTALL_PREFIX:PATH=/usr/local/Cellar/neovim/HEAD" ..
-- The C compiler identification is AppleClang 6.0.0.6000057
-- The CXX compiler identification is AppleClang 6.0.0.6000057
-- Check for working C compiler: /usr/local/Library/ENV/4.3/clang
-- Check for working C compiler: /usr/local/Library/ENV/4.3/clang -- works

-- snip --

-- Found LibUV: /tmp/neovim20150415-11744-1lpz7ii/.deps/usr/lib/libuv.a  
-- Found Msgpack: /tmp/neovim20150415-11744-1lpz7ii/.deps/usr/lib/libmsgpack.a  
-- Found LuaJit: /tmp/neovim20150415-11744-1lpz7ii/.deps/usr/lib/libluajit-5.1.a  
-- Found LibUnibilium: /tmp/neovim20150415-11744-1lpz7ii/.deps/usr/lib/libunibilium.a  
-- Found LibTermkey: /tmp/neovim20150415-11744-1lpz7ii/.deps/usr/lib/libtermkey.a  
-- Found LibVterm: /tmp/neovim20150415-11744-1lpz7ii/.deps/usr/lib/libvterm.a  
-- Found JeMalloc: /tmp/neovim20150415-11744-1lpz7ii/.deps/usr/lib/libjemalloc.a  

-- snip --

-- Checking Lua interpreter /tmp/neovim20150415-11744-1lpz7ii/.deps/usr/bin/luajit
-- [/tmp/neovim20150415-11744-1lpz7ii/.deps/usr/bin/luajit] The 'lpeg' lua package is required for building Neovim
-- Checking Lua interpreter /usr/local/bin/lua
-- [/usr/local/bin/lua] The 'bit' lua package is required for building Neovim
CMake Error at CMakeLists.txt:269 (message):
  A suitable Lua interpreter was not found

Edit: I'm also running OS X 10.9.5 if that matters. Versions:

$ clang --version
Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
$ cmake --version
cmake version 3.2.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).
$ brew --version
0.9.5

Let me know if you need anything else

Brew install throws syntax error

brew install neovim --HEAD
Error: /usr/local/Library/Taps/neovim/homebrew-neovim/Formula/neovim.rb:2: syntax error, unexpected <<
<<<<<<< Updated upstream
  ^
/usr/local/Library/Taps/neovim/homebrew-neovim/Formula/neovim.rb:6: syntax error, unexpected ===, expecting keyword_end
=======
   ^
/usr/local/Library/Taps/neovim/homebrew-neovim/Formula/neovim.rb:10: syntax error, unexpected >>, expecting keyword_end
>>>>>>> Stashed changes
  ^
Please report this bug:
    https://git.io/brew-troubleshooting
/usr/local/Library/Homebrew/formulary.rb:21:in `module_eval'
/usr/local/Library/Homebrew/formulary.rb:21:in `load_formula'
/usr/local/Library/Homebrew/formulary.rb:78:in `load_file'
/usr/local/Library/Homebrew/formulary.rb:69:in `klass'
/usr/local/Library/Homebrew/formulary.rb:65:in `get_formula'
/usr/local/Library/Homebrew/formulary.rb:169:in `factory'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `block in formulae'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `map'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `formulae'
/usr/local/Library/Homebrew/cmd/install.rb:41:in `install'
/usr/local/Library/brew.rb:124:in `<main>'

Installing Neovim with Homebrew fails due to Make errors

I just tried to update Neovim using the instructions, and it failed. So I followed the troubleshooting steps listed on the readme, and still getting the same error.

=> make CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX:PATH=/usr/local/Cellar/neovim/HEAD" install
/usr/local/Library/ENV/4.3/clang -O2 -fPIC -I/tmp/neovim20150414-27732-sg8l3l/.deps/usr/include/luajit-2.0 -c src/Parser.cpp -o src/Parser.o -Iinclude -Isrc/bind -Isrc/vendor
make[3]: *** [usr/lib/luarocks/rocks/stable-busted-deps] Error 1
make[2]: *** [CMakeFiles/stable-busted-deps.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [deps] Error 2

Here's the output of brew gist-logs neovim:
https://gist.github.com/1ebec20fd0f12c84850d

Not sure what the issue is here. Brew is updated, Apple's command line tools are updated, brew doctor's only issue is that I've got DisplayLink USB drivers installed.

Build fails on make install

Attempting to install via brew install --HEAD neovim results in the following error:

==> Checking out branch master
==> make CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX:PATH=/usr/local/Cellar/neovim/HEAD" install
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [bin/nvim] Error 1
make[2]: *** [src/nvim/CMakeFiles/nvim.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [nvim] Error 2

Running on OS X 10.10.5. Here is the gist.

Issue installing on OSX: "fatal error: 'string' file not found"

I'm trying to install on OSX 10.8.5. If I try $ brew install --HEAD neovim everything seems to go well until I get:

==> make CMAKE_BUILD_TYPE=RelWithDebInfo DEPS_CMAKE_FLAGS=-DUSE_BUNDLED_BUSTED=O
1 error generated.
make[3]: *** [src/nvim/auto/os/pty_process.c.generated.h] Error 1
make[2]: *** [src/nvim/CMakeFiles/nvim.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [nvim] Error 2

READ THIS: http://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew): https://github.com/neovim/homebrew-neovim/issues

I tried all the troubleshooting steps to no avail. I also tried brew reinstall cmake with no luck. When I try
brew install --HEAD --verbose neovim I get a lot of output and then:

 [ 33%] Generating auto/os/pty_process.c.generated.h, ../../include/os/pty_process.h.generated.h
cd /tmp/neovim20150612-80197-y6bumb/build/src/nvim && /usr/local/Library/ENV/4.3/clang /tmp/neovim20150612-80197-y6bumb/src/nvim/os/pty_process.c -o /tmp/neovim20150612-80197-y6bumb/build/src/nvim/auto/os/pty_process.i -DHAVE_CONFIG_H -DDO_NOT_DEFINE_EMPTY_ATTRIBUTES -I/tmp/neovim20150612-80197-y6bumb/build/config -I/tmp/neovim20150612-80197-y6bumb/src -I/tmp/neovim20150612-80197-y6bumb/.deps/usr/include -I/tmp/neovim20150612-80197-y6bumb/.deps/usr/include -I/tmp/neovim20150612-80197-y6bumb/.deps/usr/include/luajit-2.0 -I/tmp/neovim20150612-80197-y6bumb/.deps/usr/include -I/tmp/neovim20150612-80197-y6bumb/.deps/usr/include -I/tmp/neovim20150612-80197-y6bumb/.deps/usr/include -I/tmp/neovim20150612-80197-y6bumb/.deps/usr/include -I/usr/local/opt/gettext/include -I/usr/include -I/tmp/neovim20150612-80197-y6bumb/build/src/nvim/auto -I/tmp/neovim20150612-80197-y6bumb/build/include -O2 -g -Wconversion -E -Wconversion
In file included from /tmp/neovim20150612-80197-y6bumb/src/nvim/os/pty_process.c:16:
/usr/local/include/util.h:24:10: fatal error: 'string' file not found
#include <string>
         ^
1 error generated.
make[3]: *** [src/nvim/auto/os/pty_process.c.generated.h] Error 1
make[2]: *** [src/nvim/CMakeFiles/nvim.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [nvim] Error 2
==> Formula
Tap: neovim/homebrew-neovim
Path: /usr/local/Library/Taps/neovim/homebrew-neovim/Formula/neovim.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: 1c17ecbc93db4674d7c6c04304ace1de14676e95
Last commit: 32 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit ivybridge
OS X: 10.8.5-x86_64
Xcode: 5.1.1
CLT: 5.1.0.0.1.1396320587
LLVM-GCC: build 2336
Clang: 5.1 build 503
X11: 2.7.5 => /opt/X11
System Ruby: 1.8.7-p358
Perl: /usr/bin/perl
Python: /Users/username/anaconda/bin/python => /Users/username/anaconda/bin/python2.7
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Java: 1.6.0_65
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
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
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.8
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/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/bin:/bin:/usr/sbin:/sbin

Error: neovim/neovim/neovim HEAD did not build
Logs:
     /Users/username/Library/Logs/Homebrew/neovim/01.make
     /Users/username/Library/Logs/Homebrew/neovim/01.make.cc

Any thoughts?

Installation complains about missing libiconv symbols

I’m trying to install Neovim via Homebrew on Yosemite. There seem to be many (solved) issues regarding installation errors but my error seems to be different.

The error I get is:

Undefined symbols for architecture x86_64:
  "_libiconv", referenced from:
      _readfile in fileio.c.o
      _buf_write_bytes in fileio.c.o
      _my_iconv_open in mbyte.c.o
      _string_convert_ext in mbyte.c.o
  "_libiconv_close", referenced from:
      _readfile in fileio.c.o
      _buf_write in fileio.c.o
      _mb_init in mbyte.c.o
      _utf_find_illegal in mbyte.c.o
      _my_iconv_open in mbyte.c.o
      _convert_setup_ext in mbyte.c.o
  "_libiconv_open", referenced from:
      _my_iconv_open in mbyte.c.o
ld: symbol(s) not found for architecture x86_64

Following the “troubleshooting” instructions, here’s a 🔗 gist of the logs. The files listed in the Brew Doctor output belong to a display device driver and unfortunately required, but haven’t been making problems so far.

Note that this is before the Xcode 7 update, which I haven’t performed yet (and which, I guess, should not be necessary, right?)

Error: Failed to update tap: neovim/neovim

brew update -v is showing:

git pull --ff --no-rebase origin refs/heads/master:refs/remotes/origin/master
From https://github.com/neovim/homebrew-neovim
 ! [rejected]        master     -> origin/master  (non-fast-forward)
Error: Failed to update tap: neovim/neovim

Had to:

brew untap neovim/neovim
brew tap neovim/neovim

To get it working again.

Add license

I would have sent a PR, but I was not sure whether to use "pure" Apache or the Apache/Vim combination used by neovim/neovim, since there were changes to neovim.rb by people who didn't sign the CLA (albeit neovim.rb was never part of Vim, so I'm not sure what applies here).

brew fails on yosemite

brew install --HEAD neovim
==> Installing neovim from neovim/homebrew-neovim
==> Cloning https://github.com/neovim/neovim.git
Updating /Library/Caches/Homebrew/neovim--git
==> Checking out branch master
==> Downloading https://github.com/libuv/libuv/archive/v1.4.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libuv-1.4.2.tar.gz
==> Downloading https://github.com/msgpack/msgpack-c/archive/cpp-1.0.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--msgpack-1.0.0.tar.gz
==> Downloading http://luajit.org/download/LuaJIT-2.0.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--luajit-2.0.3.tar.gz
==> Downloading https://github.com/keplerproject/luarocks/archive/0587afbb5fe8ceb2f2eea16f486bd6183bf02f29.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--luarocks-29.tar.gz
==> Downloading https://github.com/mauke/unibilium/archive/v1.1.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libunibilium-1.1.2.tar.gz
==> Downloading https://github.com/neovim/libtermkey/archive/8c0cb7108cc63218ea19aa898968eede19e19603.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libtermkey-19603.tar.gz
==> Downloading https://github.com/neovim/libvterm/archive/1b745d29d45623aa8d22a7b9288c7b0e331c7088.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libvterm-7088.tar.gz
==> make CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX:PATH=/usr/local/Cellar/neovim/HEAD" install
Error: Could not satisfy dependency: lub >= 1.0.3, < 2
make[3]: *** [usr/lib/luarocks/rocks/stable-busted-deps] Error 1
make[2]: *** [CMakeFiles/stable-busted-deps.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [deps] Error 2
couldn't understand kern.osversion `14.1.0'

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/neovim/homebrew-neovim/issues


Neovim will not compile. Missing deps

So it seems that Neovim will not complie for me. I am running 10.10.3.

Below is the error that is generated from a verbose install.

Missing dependencies for xml:
lub >= 1.0.3, < 2

Using https://rocks.moonscript.org/lub-1.0.7-1.src.rock... switching to 'build' mode
In file included from src/Parser.cpp:1:
In file included from include/xml/Parser.h:33:
In file included from src/bind/dub/dub.h:54:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/string:439:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/algorithm:628:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:604:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator:341:10: fatal error: '__debug' file not found
#include <__debug>
         ^
1 error generated.

Error: Build error: Failed compiling object src/Parser.o
Updating manifest for /tmp/neovim20150415-50430-9sines/.deps/usr/lib/luarocks/rocks
lub 1.0.7-1 is now built and installed in /tmp/neovim20150415-50430-9sines/.deps/usr (license: MIT)

/usr/local/Library/ENV/4.3/clang -O2 -fPIC -I/tmp/neovim20150415-50430-9sines/.deps/usr/include/luajit-2.0 -c src/Parser.cpp -o src/Parser.o -Iinclude -Isrc/bind -Isrc/vendor
make[3]: *** [usr/lib/luarocks/rocks/stable-busted-deps] Error 1
make[2]: *** [CMakeFiles/stable-busted-deps.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [deps] Error 

Please let me know if anything else is needed.

Unable to install - Error: undefined method `desc' for Formulary::Formulae::Neovim:Class

Was hoping to try out neovim for the first time, except the install wasn't happy :(

$ brew tap neovim/neovim
$ brew install --HEAD neovim
Error: undefined method `desc' for Formulary::Formulae::Neovim:Class
Please report this bug:
    https://git.io/brew-troubleshooting
/usr/local/Library/Taps/neovim/homebrew-neovim/Formula/neovim.rb:2:in `<class:Neovim>'
/usr/local/Library/Taps/neovim/homebrew-neovim/Formula/neovim.rb:1:in `load_file'
/usr/local/Library/Homebrew/formulary.rb:92:in `module_eval'
/usr/local/Library/Homebrew/formulary.rb:92:in `load_file'
/usr/local/Library/Homebrew/formulary.rb:82:in `klass'
/usr/local/Library/Homebrew/formulary.rb:71:in `get_formula'
/usr/local/Library/Homebrew/formulary.rb:200:in `factory'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `block in formulae'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `map'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `formulae'
/usr/local/Library/Homebrew/cmd/install.rb:41:in `install'
/usr/local/Library/brew.rb:135:in `<main>'

Any ideas?

Compile with +ruby?

Sorry I'm not very familar with homebrew. How should I change the formula to compile nvim with +ruby?

Build error after upgrading to Xcode 7.0 (SOLVED: xcode-select --install)

I got the following error after upgrading to Xcode 7.0

==> Building third-party dependencies.
==> cmake ../third-party -DUSE_BUNDLED_BUSTED=OFF -DUSE_EXISTING_SRC_DIR=ON -DCMAKE_C_FLAGS_RELEASE= -DCMAKE_CXX_FLAGS_RELEASE= -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/neovim/HEAD -DCMAKE_BU
==> make VERBOSE=1
If you meant to cross compile, use `--host'.
See `config.log' for more details
make[2]: *** [build/src/jemalloc-stamp/jemalloc-configure] Error 1
make[1]: *** [CMakeFiles/jemalloc.dir/all] Error 2
make: *** [all] Error 2

https://gist.github.com/0d285094ba0995072953

Error making

 ❯ brew reinstall --HEAD neovim                                                                                                                                        [14:42:17]
==> Reinstalling neovim
==> Cloning https://github.com/neovim/neovim.git
Updating /Library/Caches/Homebrew/neovim--git
==> Checking out branch master
==> Downloading https://github.com/libuv/libuv/archive/v1.4.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libuv-1.4.2.tar.gz
==> Downloading https://github.com/msgpack/msgpack-c/archive/cpp-1.0.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--msgpack-1.0.0.tar.gz
==> Downloading http://luajit.org/download/LuaJIT-2.0.4.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--luajit-2.0.4.tar.gz
==> Downloading https://github.com/keplerproject/luarocks/archive/0587afbb5fe8ceb2f2eea16f486bd6183bf02f29.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--luarocks-29.tar.gz
==> Downloading https://github.com/mauke/unibilium/archive/v1.1.4.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--unibilium-1.1.4.tar.gz
==> Downloading https://github.com/neovim/libtermkey/archive/8c0cb7108cc63218ea19aa898968eede19e19603.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libtermkey-19603.tar.gz
==> Downloading https://github.com/neovim/libvterm/archive/1b745d29d45623aa8d22a7b9288c7b0e331c7088.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libvterm-7088.tar.gz
==> Downloading https://github.com/jemalloc/jemalloc/releases/download/3.6.0/jemalloc-3.6.0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/neovim--jemalloc-3.6.0.tar.bz2
==> make CMAKE_BUILD_TYPE=RelWithDebInfo DEPS_CMAKE_FLAGS=-DUSE_BUNDLED_BUSTED=OFF CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX:PATH=/usr/local/Cellar/neovim/HEAD" VERBOSE=1 install
make[4]: *** [src/luajit] Error 2
make[3]: *** [build/src/luajit-stamp/luajit-install] Error 2
make[2]: *** [CMakeFiles/luajit.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [deps] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/neovim/homebrew-neovim/issues

Cannot install neovim using homebrew

  brew install --HEAD neovim                                                                                                                                                                                            04/09/15 9:37
==> Installing neovim from neovim/homebrew-neovim
==> Cloning https://github.com/neovim/neovim.git
Error: Failed to download resource "neovim"
Failure while executing: git clone --depth 1 --branch master https://github.com/neovim/neovim.git /Library/Caches/Homebrew/neovim--git

I ran that last command:

git clone --depth 1 --branch master https://github.com/neovim/neovim.git /Library/Caches/Homebrew/neovim--git

and it succeeds though.

(EDIT: To be clear, what I mean is that git command succeeds but still can't get it to install neovim)

Can't brew reinstall on OS X because of libtickit

Hi,

Can't reinstall neovim on OS X anymore. It started about a month ago I think. I thought it is going to get fixed but it didn't. Here is the log:

neovim/neovim#1874

$ brew doctor
Your system is ready to brew.

$ brew uninstall neovim
Uninstalling /usr/local/Cellar/neovim/HEAD...

$ brew install --HEAD --verbose neovim                                                                                                                                         
==> Cloning https://github.com/neovim/neovim.git
git --git-dir /Library/Caches/Homebrew/neovim--git/.git status -s
Updating /Library/Caches/Homebrew/neovim--git
git config remote.origin.url https://github.com/neovim/neovim.git
git config remote.origin.fetch +refs/heads/master:refs/remotes/origin/master
git fetch origin
git checkout -f master --
Already on 'master'
Your branch is up-to-date with 'origin/master'.
git reset --hard origin/master
HEAD is now at 65adcc2 Merge pull request #1865 from Pyrohh/main-improvements
==> Checking out branch master
git checkout-index -a -f --prefix=/private/tmp/neovim-Ryw08D/
==> make CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX:PATH=/usr/local/Cellar/neovim/HEAD" install
mkdir -p .deps
cd .deps && \
        cmake -G 'Unix Makefiles'  \
         ../third-party
-- The C compiler identification is AppleClang 6.0.0.6000056
-- The CXX compiler identification is AppleClang 6.0.0.6000056
-- Check for working C compiler: /usr/local/Library/ENV/4.3/clang
-- Check for working C compiler: /usr/local/Library/ENV/4.3/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/local/Library/ENV/4.3/clang++
-- Check for working CXX compiler: /usr/local/Library/ENV/4.3/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found GNU Make at /usr/local/Library/ENV/4.3/gmake
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/neovim-Ryw08D/.deps
mkdir -p build
touch build/.ran-third-party-cmake
/Library/Developer/CommandLineTools/usr/bin/make  -C .deps
Scanning dependencies of target libunibilium
[  1%] Creating directories for 'libunibilium'
[  3%] Performing download step for 'libunibilium'
-- file: /tmp/neovim-Ryw08D/.deps/build/downloads/libunibilium/520abbc8b26910e2580619f669b5cc2c4ef7f864.tar.gz
-- downloading...
     src='https://github.com/mauke/unibilium/archive/520abbc8b26910e2580619f669b5cc2c4ef7f864.tar.gz'
     dst='/tmp/neovim-Ryw08D/.deps/build/downloads/libunibilium/520abbc8b26910e2580619f669b5cc2c4ef7f864.tar.gz'
     timeout='none'
-- downloading... done
-- extracting...
     src='/tmp/neovim-Ryw08D/.deps/build/downloads/libunibilium/520abbc8b26910e2580619f669b5cc2c4ef7f864.tar.gz'
     dst='/tmp/neovim-Ryw08D/.deps/build/src/libunibilium'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[  5%] No patch step for 'libunibilium'
[  6%] No update step for 'libunibilium'
[  8%] No configure step for 'libunibilium'
[ 10%] Performing build step for 'libunibilium'
glibtool: compile:  /usr/local/Library/ENV/4.3/clang -I. -Wall -std=c99 -fPIC -c unibilium.c  -fno-common -DPIC -o .libs/unibilium.o
glibtool: compile:  /usr/local/Library/ENV/4.3/clang -I. -Wall -std=c99 -fPIC -c unibilium.c -o unibilium.o >/dev/null 2>&1
glibtool: compile:  /usr/local/Library/ENV/4.3/clang -I. -Wall -std=c99 -fPIC -c uninames.c  -fno-common -DPIC -o .libs/uninames.o
glibtool: compile:  /usr/local/Library/ENV/4.3/clang -I. -Wall -std=c99 -fPIC -c uninames.c -o uninames.o >/dev/null 2>&1
glibtool: compile:  /usr/local/Library/ENV/4.3/clang -I. -DTERMINFO_DIRS=\"/etc/terminfo:/lib/terminfo:/usr/share/terminfo:/usr/lib/terminfo:/usr/local/share/terminfo:/usr/local/lib/terminfo\" -Wall -std=c99 -fPIC -c uniutil.c  -fno-common -DPIC -o .libs/uniutil.o
glibtool: compile:  /usr/local/Library/ENV/4.3/clang -I. -DTERMINFO_DIRS=\"/etc/terminfo:/lib/terminfo:/usr/share/terminfo:/usr/lib/terminfo:/usr/local/share/terminfo:/usr/local/lib/terminfo\" -Wall -std=c99 -fPIC -c uniutil.c -o uniutil.o >/dev/null 2>&1
glibtool: link: clang -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libunibilium.0.dylib  .libs/unibilium.o .libs/uninames.o .libs/uniutil.o      -install_name  /tmp/neovim-Ryw08D/.deps/usr/lib/libunibilium.0.dylib -compatibility_version 3 -current_version 3.0 -Wl,-single_module
glibtool: link: (cd ".libs" && rm -f "libunibilium.dylib" && ln -s "libunibilium.0.dylib" "libunibilium.dylib")
glibtool: link: ar cru .libs/libunibilium.a  unibilium.o uninames.o uniutil.o
glibtool: link: ranlib .libs/libunibilium.a
glibtool: link: ( cd ".libs" && rm -f "libunibilium.la" && ln -s "../libunibilium.la" "libunibilium.la" )
glibtool: compile:  /usr/local/Library/ENV/4.3/clang -I. -Wall -std=c99 -fPIC -c tools/gen-static-test.c  -fno-common -DPIC -o tools/.libs/gen-static-test.o
glibtool: compile:  /usr/local/Library/ENV/4.3/clang -I. -Wall -std=c99 -fPIC -c tools/gen-static-test.c -o tools/gen-static-test.o >/dev/null 2>&1
glibtool: link: /usr/local/Library/ENV/4.3/clang -o tools/.libs/gen-static-test tools/.libs/gen-static-test.o  ./.libs/libunibilium.dylib
glibtool: compile:  /usr/local/Library/ENV/4.3/clang -I. -Wall -std=c99 -fPIC -c tools/unibi-dump.c  -fno-common -DPIC -o tools/.libs/unibi-dump.o
glibtool: compile:  /usr/local/Library/ENV/4.3/clang -I. -Wall -std=c99 -fPIC -c tools/unibi-dump.c -o tools/unibi-dump.o >/dev/null 2>&1
glibtool: link: /usr/local/Library/ENV/4.3/clang -o tools/.libs/unibi-dump tools/.libs/unibi-dump.o  ./.libs/libunibilium.dylib
glibtool: compile:  /usr/local/Library/ENV/4.3/clang -I. -Wall -std=c99 -fPIC -c tools/unibi-put.c  -fno-common -DPIC -o tools/.libs/unibi-put.o
glibtool: compile:  /usr/local/Library/ENV/4.3/clang -I. -Wall -std=c99 -fPIC -c tools/unibi-put.c -o tools/unibi-put.o >/dev/null 2>&1
glibtool: link: /usr/local/Library/ENV/4.3/clang -o tools/.libs/unibi-put tools/.libs/unibi-put.o  ./.libs/libunibilium.dylib
glibtool: compile:  /usr/local/Library/ENV/4.3/clang -I. -Wall -std=c99 -fPIC -c t/00_load.c  -fno-common -DPIC -o t/.libs/00_load.o
glibtool: compile:  /usr/local/Library/ENV/4.3/clang -I. -Wall -std=c99 -fPIC -c t/00_load.c -o t/00_load.o >/dev/null 2>&1
glibtool: link: /usr/local/Library/ENV/4.3/clang -o t/.libs/00_load.t t/.libs/00_load.o  ./.libs/libunibilium.dylib
glibtool: compile:  /usr/local/Library/ENV/4.3/clang -I. -Wall -std=c99 -fPIC -c t/static_screen.c  -fno-common -DPIC -o t/.libs/static_screen.o
glibtool: compile:  /usr/local/Library/ENV/4.3/clang -I. -Wall -std=c99 -fPIC -c t/static_screen.c -o t/static_screen.o >/dev/null 2>&1
glibtool: link: /usr/local/Library/ENV/4.3/clang -o t/.libs/static_screen.t t/.libs/static_screen.o  ./.libs/libunibilium.dylib
glibtool: compile:  /usr/local/Library/ENV/4.3/clang -I. -Wall -std=c99 -fPIC -c t/static_tmux.c  -fno-common -DPIC -o t/.libs/static_tmux.o
glibtool: compile:  /usr/local/Library/ENV/4.3/clang -I. -Wall -std=c99 -fPIC -c t/static_tmux.c -o t/static_tmux.o >/dev/null 2>&1
glibtool: link: /usr/local/Library/ENV/4.3/clang -o t/.libs/static_tmux.t t/.libs/static_tmux.o  ./.libs/libunibilium.dylib
glibtool: compile:  /usr/local/Library/ENV/4.3/clang -I. -Wall -std=c99 -fPIC -c t/static_xterm.c  -fno-common -DPIC -o t/.libs/static_xterm.o
glibtool: compile:  /usr/local/Library/ENV/4.3/clang -I. -Wall -std=c99 -fPIC -c t/static_xterm.c -o t/static_xterm.o >/dev/null 2>&1
glibtool: link: /usr/local/Library/ENV/4.3/clang -o t/.libs/static_xterm.t t/.libs/static_xterm.o  ./.libs/libunibilium.dylib
[ 11%] Performing install step for 'libunibilium'
glibtool: install: cp .libs/libunibilium.0.dylib /tmp/neovim-Ryw08D/.deps/usr/lib/libunibilium.0.dylib
glibtool: install: (cd /tmp/neovim-Ryw08D/.deps/usr/lib && { ln -s -f libunibilium.0.dylib libunibilium.dylib || { rm -f libunibilium.dylib && ln -s libunibilium.0.dylib libunibilium.dylib; }; })
glibtool: install: cp .libs/libunibilium.lai /tmp/neovim-Ryw08D/.deps/usr/lib/libunibilium.la
glibtool: install: cp .libs/libunibilium.a /tmp/neovim-Ryw08D/.deps/usr/lib/libunibilium.a
glibtool: install: chmod 644 /tmp/neovim-Ryw08D/.deps/usr/lib/libunibilium.a
glibtool: install: ranlib /tmp/neovim-Ryw08D/.deps/usr/lib/libunibilium.a
[ 13%] Completed 'libunibilium'
[ 13%] Built target libunibilium
Scanning dependencies of target libtermkey
[ 15%] Creating directories for 'libtermkey'
[ 16%] Performing download step for 'libtermkey'
-- file: /tmp/neovim-Ryw08D/.deps/build/downloads/libtermkey/7b3bdafdf589d08478f2493273d4d75636ecc183.tar.gz
-- downloading...
     src='https://github.com/neovim/libtermkey/archive/7b3bdafdf589d08478f2493273d4d75636ecc183.tar.gz'
     dst='/tmp/neovim-Ryw08D/.deps/build/downloads/libtermkey/7b3bdafdf589d08478f2493273d4d75636ecc183.tar.gz'
     timeout='none'
-- downloading... done
-- extracting...
     src='/tmp/neovim-Ryw08D/.deps/build/downloads/libtermkey/7b3bdafdf589d08478f2493273d4d75636ecc183.tar.gz'
     dst='/tmp/neovim-Ryw08D/.deps/build/src/libtermkey'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 18%] No patch step for 'libtermkey'
[ 20%] No update step for 'libtermkey'
[ 21%] No configure step for 'libtermkey'
[ 23%] No build step for 'libtermkey'
[ 25%] Performing install step for 'libtermkey'
/bin/sh: pkg-config: command not found
/bin/sh: pkg-config: command not found
/bin/sh: pkg-config: command not found
/bin/sh: pkg-config: command not found
ln -sf termkey_new.3.gz /tmp/neovim-Ryw08D/.deps/usr/share/man/man3/termkey_destroy.3.gz
ln -sf termkey_new.3.gz /tmp/neovim-Ryw08D/.deps/usr/share/man/man3/termkey_new_abstract.3.gz
ln -sf termkey_set_flags.3.gz /tmp/neovim-Ryw08D/.deps/usr/share/man/man3/termkey_get_flags.3.gz
ln -sf termkey_set_canonflags.3.gz /tmp/neovim-Ryw08D/.deps/usr/share/man/man3/termkey_get_canonflags.3.gz
ln -sf termkey_set_buffer_size.3.gz /tmp/neovim-Ryw08D/.deps/usr/share/man/man3/termkey_get_buffer_size.3.gz
ln -sf termkey_set_waittime.3.gz /tmp/neovim-Ryw08D/.deps/usr/share/man/man3/termkey_get_waittime.3.gz
ln -sf termkey_getkey.3.gz /tmp/neovim-Ryw08D/.deps/usr/share/man/man3/termkey_getkey_force.3.gz
ln -sf termkey_start.3.gz /tmp/neovim-Ryw08D/.deps/usr/share/man/man3/termkey_stop.3.gz
ln -sf termkey_start.3.gz /tmp/neovim-Ryw08D/.deps/usr/share/man/man3/termkey_is_started.3.gz
[ 26%] Completed 'libtermkey'
[ 26%] Built target libtermkey
Scanning dependencies of target libtickit
[ 28%] Creating directories for 'libtickit'
[ 30%] Performing download step for 'libtickit'
-- file: /tmp/neovim-Ryw08D/.deps/build/downloads/libtickit/33f4afb3891df05955429acbf5b406dfe87ec22b.tar.gz
-- downloading...
     src='https://github.com/neovim/libtickit/archive/33f4afb3891df05955429acbf5b406dfe87ec22b.tar.gz'
     dst='/tmp/neovim-Ryw08D/.deps/build/downloads/libtickit/33f4afb3891df05955429acbf5b406dfe87ec22b.tar.gz'
     timeout='none'
-- downloading... done
-- extracting...
     src='/tmp/neovim-Ryw08D/.deps/build/downloads/libtickit/33f4afb3891df05955429acbf5b406dfe87ec22b.tar.gz'
     dst='/tmp/neovim-Ryw08D/.deps/build/src/libtickit'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 31%] No patch step for 'libtickit'
[ 33%] No update step for 'libtickit'
[ 35%] No configure step for 'libtickit'
[ 36%] No build step for 'libtickit'
[ 38%] Performing install step for 'libtickit'
/bin/sh: pkg-config: command not found
/bin/sh: pkg-config: command not found
/bin/sh: pkg-config: command not found
/bin/sh: pkg-config: command not found
In file included from src/mockterm.c:6:
include/tickit-termdrv.h:15:10: fatal error: 'termkey.h' file not found
#include <termkey.h>
         ^
1 error generated.
make[4]: *** [src/mockterm.lo] Error 1
make[3]: *** [build/src/libtickit-stamp/libtickit-install] Error 2
make[2]: *** [CMakeFiles/libtickit.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [deps] Error 2
==> Formula
Tap: path or URL
Path: /Library/Caches/Homebrew/Formula/neovim.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: b744f60216bf31afc7c1134b40ec64f7f0959bac
Last commit: 30 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit haswell
OS X: 10.10.2-x86_64
Xcode: N/A
CLT: 6.1.1.0.1.1416017670
Clang: 6.0 build 600
X11: 2.7.7 => /opt/X11
System Ruby: 2.0.0-p481
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /Users/pain/.rbenv/shims/ruby => /Users/pain/.rbenv/versions/2.2.0/bin/ruby
Java: 1.6.0_65
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
CMAKE_PREFIX_PATH: /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
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.10
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/cmake/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/usr/local/opt/git/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: neovim HEAD did not build
Logs:
     /Users/pain/Library/Logs/Homebrew/neovim/01.make
     /Users/pain/Library/Logs/Homebrew/neovim/01.make.cc

Error re jemalloc

Building neovim using Homebrew fails when reaching jemalloc:

$ brewdo brew install --HEAD neovim
==> Installing neovim from neovim/homebrew-neovim
==> Cloning https://github.com/neovim/neovim.git
Updating /Library/Caches/Homebrew/neovim--git
==> Checking out branch master
==> Downloading https://github.com/libuv/libuv/archive/v1.4.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libuv-1.4.2.tar.gz
==> Downloading https://github.com/msgpack/msgpack-c/archive/cpp-1.0.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--msgpack-1.0.0.tar.gz
==> Downloading http://luajit.org/download/LuaJIT-2.0.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--luajit-2.0.3.tar.gz
==> Downloading https://github.com/keplerproject/luarocks/archive/0587afbb5fe8ceb2f2e
Already downloaded: /Library/Caches/Homebrew/neovim--luarocks-29.tar.gz
==> Downloading https://github.com/mauke/unibilium/archive/v1.1.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--unibilium-1.1.2.tar.gz
==> Downloading https://github.com/neovim/libtermkey/archive/8c0cb7108cc63218ea19aa89
Already downloaded: /Library/Caches/Homebrew/neovim--libtermkey-19603.tar.gz
==> Downloading https://github.com/neovim/libvterm/archive/1b745d29d45623aa8d22a7b928
Already downloaded: /Library/Caches/Homebrew/neovim--libvterm-7088.tar.gz
==> Downloading https://github.com/jemalloc/jemalloc/archive/3.6.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--jemalloc-3.6.0.tar.gz
==> make CMAKE_BUILD_TYPE=RelWithDebInfo DEPS_CMAKE_FLAGS=-DUSE_BUNDLED_BUSTED=OFF CM
/bin/sh: /tmp/neovim20150511-14632-5ewrb/.deps/build/src/jemalloc/configure: No such file or directory
make[3]: *** [build/src/jemalloc-stamp/jemalloc-configure] Error 127
make[2]: *** [CMakeFiles/jemalloc.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [deps] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/neovim/homebrew-neovim/issues

Error on build under Yosemite

Installation stops here

make CMAKE_BUILD_TYPE=RelWithDebInfo DEPS_CMAKE_FLAGS=-DUSE_BUNDLED_BUSTED=OFF CMAKE_EXTRA_FLAGS

After which neovim will start but it doesn't see my configuration files, complains about plugins etc.

I linked .nvimrc to .vimrc what else?

I come back every few months wanting to try this, but I've never had the build finish.

Could not build, MacOS, HomeBrew

brew install neovim --HEAD
==> Installing neovim from neovim/homebrew-neovim
==> Cloning https://github.com/neovim/neovim.git
Updating /Library/Caches/Homebrew/neovim--git
==> Checking out branch master
==> Downloading https://github.com/libuv/libuv/archive/v1.7.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libuv-1.7.2.tar.gz
==> Downloading https://github.com/msgpack/msgpack-c/archive/cpp-1.0.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--msgpack-1.0.0.tar.gz
==> Downloading http://luajit.org/download/LuaJIT-2.0.4.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--luajit-2.0.4.tar.gz
==> Downloading https://github.com/keplerproject/luarocks/archive/0587afbb5fe8ceb2f2eea16f486bd6183bf02f29.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--luarocks-29.tar.gz
==> Downloading https://github.com/mauke/unibilium/archive/v1.1.4.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--unibilium-1.1.4.tar.gz
==> Downloading https://github.com/neovim/libtermkey/archive/8c0cb7108cc63218ea19aa898968eede19e19603.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libtermkey-19603.tar.gz
==> Downloading https://github.com/neovim/libvterm/archive/1b745d29d45623aa8d22a7b9288c7b0e331c7088.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libvterm-7088.tar.gz
==> Downloading https://github.com/jemalloc/jemalloc/releases/download/3.6.0/jemalloc-3.6.0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/neovim--jemalloc-3.6.0.tar.bz2
==> Building third-party dependencies.
==> cmake ../third-party -DUSE_BUNDLED_BUSTED=OFF -DCMAKE_C_FLAGS_RELEASE= -DCMAKE_CXX_FLAGS_RELEASE= -DCMAKE_INSTALL_PR
==> make VERBOSE=1
: error: Failed to create '.libs'
make[3]: *** [unibilium.lo] Error 1
make[2]: *** [build/src/unibilium-stamp/unibilium-build] Error 2
make[1]: *** [CMakeFiles/unibilium.dir/all] Error 2
make: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/neovim/homebrew-neovim/issues

Make failed in OSX 10.10.5 (SOLVED: xcode-select --install)

error log

brew install --HEAD neovim/neovim/neovim
==> Installing neovim from neovim/homebrew-neovim
==> Cloning https://github.com/neovim/neovim.git
Updating /Library/Caches/Homebrew/neovim--git
==> Checking out branch master
==> Downloading https://github.com/libuv/libuv/archive/v1.7.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libuv-1.7.2.tar.gz
==> Downloading https://github.com/msgpack/msgpack-c/archive/cpp-1.0.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--msgpack-1.0.0.tar.gz
==> Downloading http://luajit.org/download/LuaJIT-2.0.4.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--luajit-2.0.4.tar.gz
==> Downloading https://github.com/keplerproject/luarocks/archive/0587afbb5fe8ceb2f2eea16f486bd6183bf02f29.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--luarocks-29.tar.gz
==> Downloading https://github.com/mauke/unibilium/archive/v1.1.4.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--unibilium-1.1.4.tar.gz
==> Downloading https://github.com/neovim/libtermkey/archive/8c0cb7108cc63218ea19aa898968eede19e19603.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libtermkey-19603.tar.gz
==> Downloading https://github.com/neovim/libvterm/archive/1b745d29d45623aa8d22a7b9288c7b0e331c7088.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libvterm-7088.tar.gz
==> Downloading https://github.com/jemalloc/jemalloc/releases/download/3.6.0/jemalloc-3.6.0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/neovim--jemalloc-3.6.0.tar.bz2
==> Building third-party dependencies.
==> cmake ../third-party -DUSE_BUNDLED_BUSTED=OFF -DUSE_EXISTING_SRC_DIR=ON -DCMAKE_C_FLAGS_RELEASE= -DCMAKE_CXX_FLAGS_RELEASE= -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/neovim/HEAD -DCMAKE_BUILD_TYPE=Rele
==> make VERBOSE=1
If you meant to cross compile, use `--host'.
See `config.log' for more details
make[2]: *** [build/src/jemalloc-stamp/jemalloc-configure] Error 1
make[1]: *** [CMakeFiles/jemalloc.dir/all] Error 2
make: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/neovim/homebrew-neovim/issues

new formula with cmake uses splat syntax that is not compatible with ruby-1.8

Hi,

first, I must say I have no knowledge of either ruby or cmake, but the recent change (06f0b46) uses the ruby splat operator in a non-terminal way, which causes a syntax error from homebrew if using an old ruby (one of my macs is on 10.8 and therefore still has ruby 1.8.7).

Error: compile error
/usr/local/Library/Taps/neovim/homebrew-neovim/Formula/neovim.rb:64: syntax error, unexpected tSTRING_BEG, expecting tAMPER
...ird-party", *std_cmake_args, "-DUSE_BUNDLED_BUSTED=OFF"
                              ^
/usr/local/Library/Taps/neovim/homebrew-neovim/Formula/neovim.rb:71: syntax error, unexpected tSTRING_BEG, expecting tAMPER
             "-DDEPS_PREFIX=../deps-build/usr",
              ^
/usr/local/Library/Taps/neovim/homebrew-neovim/Formula/neovim.rb:71: syntax error, unexpected ',', expecting kEND
Please report this bug:
    https://git.io/brew-troubleshooting
/usr/local/Library/Taps/neovim/homebrew-neovim/Formula/neovim.rb:101:in `load_formula'
/usr/local/Library/Homebrew/formulary.rb:78:in `load_file'
/usr/local/Library/Homebrew/formulary.rb:69:in `klass'
/usr/local/Library/Homebrew/formulary.rb:65:in `get_formula'
/usr/local/Library/Homebrew/formulary.rb:151:in `get_formula'
/usr/local/Library/Homebrew/formulary.rb:174:in `factory'
/usr/local/Library/Homebrew/formulary.rb:189:in `from_rack'
/usr/local/Library/Homebrew/cmd/cleanup.rb:35:in `cleanup_cellar'
/usr/local/Library/Homebrew/cmd/cleanup.rb:33:in `each'
/usr/local/Library/Homebrew/cmd/cleanup.rb:33:in `cleanup_cellar'
/usr/local/Library/Homebrew/cmd/cleanup.rb:12:in `cleanup'
/usr/local/Library/brew.rb:124:in `send'
/usr/local/Library/brew.rb:124

would it be possible to use cmake but with a ruby-1.8-compatible syntax?

Installation error

I keep getting a cryptic error when trying to install neovim:

> brew install --HEAD neovim
==> Installing neovim from neovim/homebrew-neovim
==> Cloning https://github.com/neovim/neovim.git
Updating /Library/Caches/Homebrew/neovim--git
==> Downloading https://github.com/libuv/libuv/archive/v0.11.28.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--libuv-0.11.28.tar.gz
==> Downloading https://github.com/msgpack/msgpack-c/archive/ecf4b09acd29746829b6a02939db9
Already downloaded: /Library/Caches/Homebrew/neovim--msgpack-4.tar.gz
==> Downloading http://luajit.org/download/LuaJIT-2.0.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/neovim--luajit-2.0.3.tar.gz
==> Downloading https://github.com/keplerproject/luarocks/archive/0587afbb5fe8ceb2f2eea16f
Already downloaded: /Library/Caches/Homebrew/neovim--luarocks-29.tar.gz
==> make CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX:PATH=/u
See `config.log' for more details
make[3]: *** [/tmp/neovim-E0Cnkk/.deps/build/src/libuv-stamp/libuv-configure] Error 1
make[2]: *** [CMakeFiles/libuv.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [deps] Error 2

OS X 10.10.1

Failed compiling object src/Parser.o

I can compile neovim with homebrew.

I checked #44 for the troubleshooting but it did not help.

Here is the output of brew install --HEAD neovim --verbose:

Warning: falling back to curl - install luasec to get native HTTPS support

Missing dependencies for xml:
lub >= 1.0.3, < 2

Using https://rocks.moonscript.org/lub-1.0.7-1.src.rock... switching to 'build' mode
In file included from src/Parser.cpp:1:
In file included from include/xml/Parser.h:33:
In file included from src/bind/dub/dub.h:54:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/string:439:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/algorithm:628:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:604:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator:341:10: fatal error: '__debug' file not found
#include <__debug>
         ^
1 error generated.

Error: Build error: Failed compiling object src/Parser.o
Updating manifest for /tmp/neovim20150417-51436-1jhfmux/.deps/usr/lib/luarocks/rocks
lub 1.0.7-1 is now built and installed in /tmp/neovim20150417-51436-1jhfmux/.deps/usr (license: MIT)

/usr/local/Library/ENV/4.3/clang -O2 -fPIC -I/tmp/neovim20150417-51436-1jhfmux/.deps/usr/include/luajit-2.0 -c src/Parser.cpp -o src/Parser.o -Iinclude -Isrc/bind -Isrc/vendor
make[3]: *** [usr/lib/luarocks/rocks/stable-busted-deps] Error 1
make[2]: *** [CMakeFiles/stable-busted-deps.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [deps] Error 2

Error: Could not find a result named xml 1.1.2-1.

Error: Could not find a result named xml 1.1.2-1.
make[3]: *** [usr/lib/luarocks/rocks/stable-busted-deps] Error 1
make[2]: *** [CMakeFiles/stable-busted-deps.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [deps] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.