Open some-avail opened 2 months ago
Apparently parseopt2 is a deleted nim-module in Nim 2, while Commandeer is still using it. Hence the installation fails. Updating it to parseopt might do the trick (?)
For the impatient one can use the following workaround to install it: -activate an older version of Nim, so run: choosenim 1.6.18 -install moustachu with this older version, so run: nimble install moustachu -switch back to the latest Nim, so run: choosenim 2.0.2
Apparently the installation of Moustachu is not version-dependent.. By the way I forgot to thank Fenneku and others to contribute this nice lib !!!
I use Moustachu for my Nim-apps so help would be appreciated... I work with nim 2.02 Cannot install moustachu on my new second-hand laptop (Linux Mint 21.2), getting the following report:
nimble install moustachu Downloading https://github.com/fenekku/moustachu.git using git Verifying dependencies for moustachu@0.14.0 Installing commandeer@>= 0.10.4 Downloading https://github.com/fenekku/commandeer using git Verifying dependencies for commandeer@0.12.3 Installing commandeer@0.12.3 Success: commandeer installed successfully. Installing moustachu@0.14.0 Building moustachu/moustachu using c backend /home/bruik/.nimble/pkgs2/commandeer-0.12.3-52e6d41a38d9737f38928d8e30c02c49241e2ffe/commandeer.nim(2, 8) Error: cannot open file: parseopt2 Prompt: Build failed for 'moustachu@0.14.0', would you like to try installing 'moustachu@#head' (latest unstable)? [y/N]
I have tried above option but it fails aswell:
Answer: Downloading https://github.com/fenekku/moustachu.git using git Verifying dependencies for moustachu@0.14.0 Info: Dependency on commandeer@>= 0.10.4 already satisfied Verifying dependencies for commandeer@0.12.3 Installing moustachu@0.14.0 Building moustachu/moustachu using c backend /home/bruik/.nimble/pkgs2/commandeer-0.12.3-52e6d41a38d9737f38928d8e30c02c49241e2ffe/commandeer.nim(2, 8) Error: cannot open file: parseopt2 Tip: 19 messages have been suppressed, use --verbose to show them. nimble.nim(229) buildFromDir Error: Build failed for the package: moustachu