PegasusWang / vim-config

Lean mean (Neo)Vim machine, carefully crafted with :heart: Use with Neovim v0.1.5+ or Vim v7.4+
490 stars 109 forks source link

encounter error while executing command make #10

Closed yahkun closed 4 years ago

yahkun commented 4 years ago

after following the installation guide, just checkout to branch coc, and execute make.

(neovim)
nvim on ξ‚  coc via neovim via 🐍 neovim
[I] ➜ make test
Testing NVIM 0.4+...
OK
All tests passed, hooray!
(neovim)
nvim on ξ‚  coc via neovim via 🐍 neovim
[I] ➜ make
[dein] Not installed plugins: ['deoplete-tag']
[dein] Update started: (2020/07/23 13:41:59)[dein] Done: (2020/07/23 13:42:04)not found in 'packpath': "pack/*/start/*"
not found in 'packpath': "pack/*/start/matchit"
not found in 'packpath': "pack/*/start/*"
Error detected while processing function <SNR>46_on_window_changed[22]..<SNR>46_init[6]..airline#extensions#load:
line  120:
E117: Unknown function: airline#extensions#vista#init
not found in 'runtimepath': "autoload/vimtex.vim"
[dein] Update started: (2020/07/23 13:42:04)
[dein] ( 16/157) [++------------------] accelerated-jk
[coc.nvim]: dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.64.dylib[coc.nvim]: dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.64.dylib
  Referenced from: /usr/local/bin/node
  Reason: image not found
client coc abnormal exit with: 134[dein] ( 24/157) [+++-----------------] nginx.vim
[dein] ( 31/157) [+++-----------------] fzf.vim

Could your tell me where is wrong and what should i do to resolve this? Thanks :)

yahkun commented 4 years ago

It took much my time, but thanks god it worked.

To fix error dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.64.dylib this command fixed it: brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/a806a621ed3722fb580a58000fb274a2f2d86a6d/Formula/icu4c.rb

REF

[I] ➜ brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/a806a621ed3722fb580a58000fb274a2f2d86a6d/Formula/icu4c.rb
Warning: Calling Installation of icu4c from a GitHub commit URL is deprecated! Use 'brew extract icu4c' to stable tap on GitHub instead.
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/icu4c-64.2.catalina.bottle.tar.gz
######################################################################## 100.0%
==> Reinstalling icu4c
Warning: icu4c 67.1 is available and more recent than version 64.2.
==> Pouring icu4c-64.2.catalina.bottle.tar.gz
==> Caveats
icu4c is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).

If you need to have icu4c first in your PATH run:
  echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.zshrc
  echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.zshrc

For compilers to find icu4c you may need to set:
  export LDFLAGS="-L/usr/local/opt/icu4c/lib"
  export CPPFLAGS="-I/usr/local/opt/icu4c/include"

For pkg-config to find icu4c you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"

==> Summary
🍺  /usr/local/Cellar/icu4c/64.2: 257 files, 69.3MB
Removing: /Users/dyk/Library/Caches/Homebrew/icu4c--64.2.catalina.bottle.tar.gz... (26.1MB)
==> Upgrading 3 dependents:
boost 1.71.0 -> 1.72.0_3, node 12.1.0 -> 14.5.0, trojan-gfw/trojan/trojan 1.14.1 -> 1.16.0
==> Upgrading boost 1.71.0 -> 1.72.0_3
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/icu4c-67.1.catalina.bottle.tar.gz
Already downloaded: /Users/dyk/Library/Caches/Homebrew/downloads/2e96ac3763ab20c11c041ad95e4b5c1c0d9ec58530dfffb7a5efa742af6d1272--icu4c-67.1.catalina.bottle.tar.gz
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/boost-1.72.0_3.catalina.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/2e0d985997503d0f069ca63a7bcd1bc516d81341754de984f1953390d5540b76?response-
######################################################################## 100.0%
==> Installing dependencies for boost: icu4c
==> Installing boost dependency: icu4c
==> Pouring icu4c-67.1.catalina.bottle.tar.gz
==> Caveats
icu4c is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).

If you need to have icu4c first in your PATH run:
  echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.zshrc
  echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.zshrc

For compilers to find icu4c you may need to set:
  export LDFLAGS="-L/usr/local/opt/icu4c/lib"
  export CPPFLAGS="-I/usr/local/opt/icu4c/include"

For pkg-config to find icu4c you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"

==> Summary
🍺  /usr/local/Cellar/icu4c/67.1: 258 files, 71.2MB
==> Installing boost
==> Pouring boost-1.72.0_3.catalina.bottle.tar.gz
🍺  /usr/local/Cellar/boost/1.72.0_3: 14,466 files, 563.8MB
Removing: /usr/local/Cellar/boost/1.71.0... (14,377 files, 522.8MB)
==> Upgrading node 12.1.0 -> 14.5.0
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/node-14.5.0.catalina.bottle.tar.gz
######################################################################## 100.0%
==> Pouring node-14.5.0.catalina.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
🍺  /usr/local/Cellar/node/14.5.0: 4,659 files, 61.0MB
Removing: /usr/local/Cellar/node/12.1.0... (3,746 files, 46.6MB)
==> Upgrading trojan-gfw/trojan/trojan 1.14.1 -> 1.16.0
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/cmake-3.17.3.catalina.bottle.1.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/8546864336108d217502a797033a72568b0325bf739495dff49c39d7f429fd07?response-
######################################################################## 100.0%
==> Downloading https://github.com/trojan-gfw/trojan/archive/v1.16.0.tar.gz
==> Downloading from https://codeload.github.com/trojan-gfw/trojan/tar.gz/v1.16.0
  #=#=- #   #
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you an update run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/more/.

==> Installing dependencies for trojan-gfw/trojan/trojan: cmake
==> Installing trojan-gfw/trojan/trojan dependency: cmake
==> Pouring cmake-3.17.3.catalina.bottle.1.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/cmake
==> Summary
🍺  /usr/local/Cellar/cmake/3.17.3: 6,162 files, 58.5MB
==> Installing trojan-gfw/trojan/trojan
==> sed -i  s/server\.json/client.json/ CMakeLists.txt
==> cmake . -DENABLE_MYSQL=OFF
==> make install
==> Caveats
To have launchd start trojan-gfw/trojan/trojan now and restart at login:
  brew services start trojan-gfw/trojan/trojan
Or, if you don't want/need a background service you can just run:
  trojan /usr/local/etc/trojan/config.json
==> Summary
🍺  /usr/local/Cellar/trojan/1.16.0: 19 files, 1.3MB, built in 19 seconds
Removing: /usr/local/Cellar/trojan/1.14.1... (19 files, 1.3MB)
==> Checking for dependents of upgraded formulae...
==> No broken dependents found!
==> Caveats
==> icu4c
icu4c is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).

If you need to have icu4c first in your PATH run:
  echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.zshrc
  echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.zshrc

For compilers to find icu4c you may need to set:
  export LDFLAGS="-L/usr/local/opt/icu4c/lib"
  export CPPFLAGS="-I/usr/local/opt/icu4c/include"

For pkg-config to find icu4c you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"

==> icu4c
icu4c is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).

If you need to have icu4c first in your PATH run:
  echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.zshrc
  echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.zshrc

For compilers to find icu4c you may need to set:
  export LDFLAGS="-L/usr/local/opt/icu4c/lib"
  export CPPFLAGS="-I/usr/local/opt/icu4c/include"

For pkg-config to find icu4c you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"

==> node
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> cmake
Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/cmake
==> trojan
To have launchd start trojan-gfw/trojan/trojan now and restart at login:
  brew services start trojan-gfw/trojan/trojan
Or, if you don't want/need a background service you can just run:
  trojan /usr/local/etc/trojan/config.json
(neovim)

nvim on ξ‚  master via neovim via 🐍 neovim
[I] ➜ make
not found in 'packpath': "pack/*/start/*"
not found in 'packpath': "pack/*/start/matchit"
not found in 'packpath': "pack/*/start/*"
not found in 'runtimepath': "autoload/vimtex.vim"
[dein] Update started: (2020/07/23 14:28:51)
[dein] ( 12/156) [+-------------------] vim-fish
[dein] ( 13/156) [+-------------------] unite-location
[dein] ( 14/156) [+-------------------] emmet-vim
[dein] ( 16/156) [++------------------] python-mode
[dein] ( 17/156) [++------------------] accelerated-jk
[dein] ( 22/156) [++------------------] vim-helm
[dein] ( 23/156) [++------------------] mpvim
[dein] ( 24/156) [+++-----------------] nginx.vim
[dein] ( 25/156) [+++-----------------] vim-coffee-script
[dein] ( 26/156) [+++-----------------] vim-tmux-navigator
[dein] ( 27/156) [+++-----------------] i3config.vim
[dein] ( 28/156) [+++-----------------] vim-stylus
[dein] ( 30/156) [+++-----------------] html5.vim
[dein] ( 33/156) [++++----------------] vinarise.vim
[dein] ( 36/156) [++++----------------] logstash.vim
[dein] ( 37/156) [++++----------------] vim-easymotion
[dein] ( 38/156) [++++----------------] thesaurus_query.vim
[dein] ( 39/156) [+++++---------------] vim-sandwich
...
[dein] (141/156) [++++++++++++++++++--] vim-gtfo
[dein] (142/156) [++++++++++++++++++--] vim-startuptime
[dein] (144/156) [++++++++++++++++++--] vim-log-highlighting
[dein] (147/156) [++++++++++++++++++--] python_match.vim
[dein] (148/156) [++++++++++++++++++--] fzf
[dein] (149/156) [+++++++++++++++++++-] markdown-preview.nvim
[dein] (150/156) [+++++++++++++++++++-] vim-git
[dein] (151/156) [+++++++++++++++++++-] vim-gutentags
[dein] (152/156) [+++++++++++++++++++-] vim-pug
[dein] Done: (2020/07/23 14:31:58)