pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Installing neovim on macOS
> Dear Taylor,
> Sorry for the late response. I have recently been upgraded to macOS 15.3 and pkgsrc decided to re-compile everything from scratch, which took 30 to 40 hours. For some reason, it only compiles with a single thread, even though I bootstrapped pkgsrc with “--make-jobs 4”. Any advice on enabling multiple build jobs is appreciated!
>
> Back to topic, here is the “bmake install” output with “CMAKE_CONFIGURE_ARGS+= --debug-find” added to Makefile: https://gist.github.com/nalzok/c2a2b1166446eaff2b00a0ded4836c94.
>
> Moreover, I’m using Lua 5.1 because that’s the only Lua version compatible with LuaJIT, which neovim depends on
>
> $ pkg_info -qL lua51-lpeg
> /opt/pkg/lib/lua/5.1/lpeg.dylib
> /opt/pkg/lib/lua/5.1/lpeg.so
> /opt/pkg/share/doc/lua51-lpeg/lpeg.html
> /opt/pkg/share/doc/lua51-lpeg/re.html
> /opt/pkg/share/doc/lua51-lpeg/lpeg-128.gif
> /opt/pkg/share/doc/lua51-lpeg/HISTORY
> /opt/pkg/share/lua/5.1/re.lua
> Finally, ident seems to be a NetBSD command which is not available on macOS
> $ ident devel/cmake/build.mk editors/neovim/Makefile devel/lua-lpeg/buildlink3.mk
> fish: Unknown command: ident
> However, I looked into its documentation, and ident seems to be a search command, so here is some outputs with ripgrep
> $ rg devel/cmake/build.mk
> Makefile
> 59:.include "../../devel/cmake/build.mk"
> $ rg editors/neovim/Makefile
> $ rg devel/lua-lpeg/buildlink3.mk
> Makefile
> 67:.include "../../devel/lua-lpeg/buildlink3.mk"
> Let me know if you need anything else. I’m happy to give you remote SSH access to my machine if that helps, but I’ll need your public SSH key to set that up.
> Bests,
> Qingyao
I have fixed devel/lua-lpeg/buildlink3.mk and updated editors/neovim. Now it should build on macOS.
To speed up building, you might need something like the following in your mk.conf:
MAKE_JOBS!= sysctl -n hw.ncpu
WRKLOG= /dev/null
OSX_VERSION= 15.3
OSX_SDK_PATH= /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
OSX_PATH_TO_M4= /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/m4
OSX_PATH_TO_YACC= /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/yacc
Kind regards,
Adam
Home |
Main Index |
Thread Index |
Old Index