~casouri/public-inbox

2 2

Re: Tree-sitter Starter Guide

Details
Message ID
<202301181729.30IHTR8N001437@sdf.org>
DKIM signature
missing
Download raw message
Hello,

At the section, 1 Build Emacs with tree-sitter, the following two sudo
commands were needed otherwise the Emacs 29 build step fails unable to
find the shared object file.

  git clone https://github.com/tree-sitter/tree-sitter.git
  cd tree-sitter
  make
  sudo make install
  sudo ldconfig

On NetBSD the substitute for sudo is doas.

Thanks.  Van Ly

Re: Tree-sitter Starter Guide

Details
Message ID
<187C3238-DF9A-44DE-AD29-C55A806BF171@gmail.com>
In-Reply-To
<202301181729.30IHTR8N001437@sdf.org> (view parent)
DKIM signature
missing
Download raw message

> On Jan 18, 2023, at 9:29 AM, Van Ly <van.ly@sdf.org> wrote:
> 
> 
> Hello,
> 
> At the section, 1 Build Emacs with tree-sitter, the following two sudo
> commands were needed otherwise the Emacs 29 build step fails unable to
> find the shared object file.
> 
>  git clone https://github.com/tree-sitter/tree-sitter.git
>  cd tree-sitter
>  make
>  sudo make install
>  sudo ldconfig
> 
> On NetBSD the substitute for sudo is doas.

Thanks. I prefer to omit sudo from the commands that I post. You shouldn’t need ldcnofig if your system is configured in the common layout.

Yuan

Re: Tree-sitter Starter Guide

Details
Message ID
<202301200959.30K9xh7D024775@sdf.org>
In-Reply-To
<187C3238-DF9A-44DE-AD29-C55A806BF171@gmail.com> (view parent)
DKIM signature
missing
Download raw message

> Thanks. I prefer to omit sudo from the commands that I
> post. You shouldn’t need ldcnofig if your system is
> configured in the common layout.

I avoid sudo where I can.  My system is plain Debian newly
installed from Lite OS image from Rpi and I install to
/usr/local.  The make error out message might suggest the
ldoncfig remediation, as is, it does not point to the fix.

VL
Reply to thread Export thread (mbox)