rogual / neovim-dot-app

Mac OS X GUI for Neovim
1.13k stars 62 forks source link

Installing via homebrew fails: Missing parentheses in call to 'print' #333

Open mrichman opened 6 years ago

mrichman commented 6 years ago
brew install neovim-dot-app
==> Installing neovim-dot-app from rogual/neovim-dot-app
==> Installing dependencies for rogual/neovim-dot-app/neovim-dot-app: scons
==> Installing rogual/neovim-dot-app/neovim-dot-app dependency: scons
==> Downloading https://homebrew.bintray.com/bottles/scons-3.0.1.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring scons-3.0.1.high_sierra.bottle.tar.gz
🍺  /usr/local/Cellar/scons/3.0.1: 211 files, 2.2MB
==> Installing rogual/neovim-dot-app/neovim-dot-app
==> Downloading https://github.com/rogual/neovim-dot-app/archive/0.1.5.tar.gz
==> Downloading from https://codeload.github.com/rogual/neovim-dot-app/tar.gz/0.1.5
######################################################################## 100.0%
==> make NVIM=/usr/local/opt/neovim/bin/nvim
Last 15 lines from /Users/mrichman/Library/Logs/Homebrew/neovim-dot-app/01.make:
2018-03-11 10:03:02 -0400

make
NVIM=/usr/local/opt/neovim/bin/nvim

VIM=/usr/local/Cellar/neovim/0.2.2_1/share/nvim NVIM=/usr/local/opt/neovim/bin/nvim scons -Q
  File "/private/tmp/neovim-dot-app-20180311-22954-fg5di0/neovim-dot-app-0.1.5/SConstruct", line 14

    print "Unable to execute pkg-config, you may have to set CFLAGS and LDFLAGS by hand."

                                                                                        ^

SyntaxError: Missing parentheses in call to 'print'. Did you mean print(int "Unable to execute pkg-config, you may have to set CFLAGS and LDFLAGS by hand.")?

make: *** [all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/rogual/homebrew-neovim-dot-app/issues

My Python is 3.6.4.

towry commented 6 years ago

Try Python2.

brianm commented 5 years ago

How do you do this at just build time? This looks like scons is using python3, but expects python2.

chrischen commented 4 years ago

I've fixed this just by updating that one file (only like 3 changes needed). But is this project still maintained?