pkgsrc-Users archive

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

Re: Installing neovim on macOS



Dear Adam and Taylor,

 

It looks like the latest commit (https://pkgsrc.se/files.php?messageId=20250124124554.91B0BFBE0%cvs.NetBSD.org@localhost) breaks the neovim build on macOS 15.2, as I’m getting the following error:

 

CMake Error at /opt/pkg/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message):

  Could NOT find Lpeg (missing: LPEG_LIBRARY)

Call Stack (most recent call first):

  /opt/pkg/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE

)

  cmake/FindLpeg.cmake:3 (find_package_handle_standard_args)

  src/nvim/CMakeLists.txt:34 (find_package)

 

 

-- Configuring incomplete, errors occurred!

*** Error code 1

 

I’m using cmake version 3.31.5, installed from pkgsrc. I would appreciate it if you (or anyone else) could take a look. Thanks!

 

 

Bests,

Qingyao

 

From: sunqingyao19970825%icloud.com@localhost <sunqingyao19970825%icloud.com@localhost>
Date: Wednesday, January 22, 2025 at 13:48
To: Adam <adam%netbsd.org@localhost>
Cc: pkgsrc-users%netbsd.org@localhost <pkgsrc-users%netbsd.org@localhost>, Qingyao Sun <qs234%cornell.edu@localhost>
Subject: Re: Installing neovim on macOS

Dear Adam

 

Thanks for the reply and new patch! However, I don’t think the packages has been updated yet? The latest version on https://pkgsrc.se/editors/neovim is still 0.10.0, but I do see a new entry under “CVS history”. Do I need to wait until it “refreshes”?

 

 

Bests,

Qingyao

 

From: Adam <adam%netbsd.org@localhost>
Date: Wednesday, January 22, 2025 at 13:24
To: sunqingyao19970825%icloud.com@localhost <sunqingyao19970825%icloud.com@localhost>
Cc: pkgsrc-users%netbsd.org@localhost <pkgsrc-users%netbsd.org@localhost>, Qingyao Sun <qs234%cornell.edu@localhost>
Subject: Re: 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)”.

I think I've fixed the problem with neovim 0.10.3. Please, update and give it a try.

Kind regards,
Adam



Home | Main Index | Thread Index | Old Index