Page 1 of 1

How to install nim 2.2.0?

Posted: Wed Jan 01, 2025 1:08 pm
by silent

What is the preferred way to install the latest version of nim? I already installed the dev sfs.


Re: How to install nim 2.2.0?

Posted: Wed Jan 01, 2025 10:54 pm
by BarryK

Instructions to install nim:
https://nim-lang.org/install_unix.html


Re: How to install nim 2.2.0?

Posted: Sat Jan 04, 2025 2:42 pm
by silent

Thanks! It worked. Now I'm trying to build the programming language https://arturo-lang.io/.

Code: Select all

git clone https://github.com/arturo-lang/arturo
cd arturo
./build.nims --log --install

gives the error

Code: Select all

gcc: aviso: Package: no se usó el fichero de entrada del enlazador porque no se hizo enlace
gcc: error: Package: linker input file not found: No such file or directory
gcc: aviso: webkit2gtk-4.0: no se usó el fichero de entrada del enlazador porque no se hizo enlace
gcc: error: webkit2gtk-4.0: linker input file not found: No such file or directory

I don't know how to install webkit2gtk-4.0


Re: How to install nim 2.2.0?

Posted: Sun Jan 05, 2025 12:39 am
by BarryK

I checked in PKGget, Scarthgap only has webkitgtk3, that is, for gtk+3, not for gtk4.

Daedalus would have it, via PKGget.

When you compile, this is the kind of thing you will encounter.
You might have to compile dependencies also.
But in Scarthgap, you would be going down a rabbit hole, as you would have to compile more gtk4 deps.
If you really want to compile it, use Daedalus.

I see on the website, you can do a "mini" build, without the webkitgkt-4.0 dependency:

https://github.com/arturo-lang/arturo/w ... ing-Arturo


Re: How to install nim 2.2.0?

Posted: Sun Jan 05, 2025 10:45 am
by silent

Thanks! I'm using Scarthgap. I attempted to use Daedalus before but I wanted to try Scarthgap too. I think I'll reinstall Daedalus again.

I know about the "mini" build, but I want the full thing :)