pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Installing neovim on macOS



Dear all,

Hi there! I have been trying to install neovim<https://pkgsrc.se/editors/neovim> on macOS 15.2. I installed the binary package from smartOS<https://pkgsrc.smartos.org/install-on-macos/>, as well as the official source pkgsrc-current CVS repo into $HOME/Projects/pkgsrc. See below for the error messages.

First, I removed all other packages to avoid potential package conflicts.
(PS: what is the proper way to uninstall pkgsrc so that I can restart from a clean state? Is it sufficient to remove /opt/pkg? I suspect this issue is partly caused by the fact that I have potentially conflicting source and binary packages)

$ sudo pkg_delete -Rr '*-*'
pkg_delete: The following packages are marked as not for deletion:
        bmake-20240909
        nawk-20230909
        bootstrap-mk-files-20240422
        nbsed-20240312nb2
        pkg_install-20241101
        mksh-59bnb4

Then, I ran the installation command and got a “Could NOT find Lpeg (missing: LPEG_LIBRARY)”.

$ bmake install clean
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Checking for vulnerabilities in neovim-0.10.0
===> Configuring for neovim-0.10.0
-- Found GNU Make at /opt/pkg/bin/gmake
-- Using deployment target 15.2
-- CMAKE_INSTALL_PREFIX=/opt/pkg
-- CMAKE_BUILD_TYPE=Release
-- Using Lua interpreter: /opt/pkg/bin/luajit
-- Using Lua interpreter for code generation: /opt/pkg/bin/luajit
-- Using Lua compiler: /opt/pkg/bin/luajit -b -s %s -
CMake Warning (dev) at cmake/Util.cmake:63 (add_custom_command):
  Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given.  Assuming
  POST_BUILD to preserve backward compatibility.

  Policy CMP0175 is not set: add_custom_command() rejects invalid arguments


Home | Main Index | Thread Index | Old Index