planety/prologue

Unable to install prologue on ubuntu.

teroz opened this issue · 4 comments

teroz commented

Hi there I am unable to install prologue on ubuntu with either nim 1.4 or 1.4.6. not sure what the issue is. Answering yes and tring to install head doesn't work either

teroz@wolverine:/tmp/prologue-examples/helloworld$ nim --version
Nim Compiler Version 1.4.0 [Linux: amd64]
Compiled at 2020-10-16
Copyright (c) 2006-2020 by Andreas Rumpf

git hash: bdcd87afca238a0a7b2c70971827cf9172817b12
active boot switches: -d:release
teroz@wolverine:/tmp/prologue-examples/helloworld$ nimble install prologue
Downloading https://github.com/planety/Prologue using git
  Verifying dependencies for prologue@0.4.4
   Warning: No .nimble or .nimble-link file found for /home/teroz/.nimble/pkgs/prologue-0.1.8
      Info: Dependency on regex@>= 0.16.2 already satisfied
  Verifying dependencies for regex@0.16.2
      Info: Dependency on unicodedb@>= 0.7.2 already satisfied
  Verifying dependencies for unicodedb@0.9.0
      Info: Dependency on unicodeplus@>= 0.5.0 already satisfied
  Verifying dependencies for unicodeplus@0.6.0
      Info: Dependency on unicodedb@>= 0.8 already satisfied
  Verifying dependencies for unicodedb@0.9.0
      Info: Dependency on segmentation@>= 0.1 already satisfied
  Verifying dependencies for segmentation@0.1.0
      Info: Dependency on unicodedb@>= 0.8.0 already satisfied
  Verifying dependencies for unicodedb@0.9.0
      Info: Dependency on nimcrypto@>= 0.5.4 already satisfied
  Verifying dependencies for nimcrypto@0.5.4
      Info: Dependency on cookiejar@>= 0.2.0 already satisfied
  Verifying dependencies for cookiejar@0.2.0
      Info: Dependency on httpx@>= 0.2.0 already satisfied
  Verifying dependencies for httpx@0.2.4
      Info: Dependency on ioselectors@>= 0.1.6 already satisfied
  Verifying dependencies for ioselectors@0.1.8
      Info: Dependency on wepoll@>= 0.1.0 already satisfied
  Verifying dependencies for wepoll@0.1.0
 Installing logue@>= 0.2.0
Downloading https://github.com/planety/logue using git
  Verifying dependencies for logue@0.2.4
      Info: Dependency on cligen@>= 1.2.2 already satisfied
  Verifying dependencies for cligen@#head
 Installing logue@0.2.4
   Building logue/logue using c backend
stack trace: (most recent call last)
cligen.nim(314, 27)      dispatchGen
cligen.nim(148, 31)      formalParams
cligen.nim(136, 13)      formalParamExpand
/tmp/nimble_819925/githubcom_planetylogue_0.2.0/src/logue.nim(7, 16) template/generic instantiation of `dispatchMulti` from here
/home/teroz/.nimble/pkgs/cligen-#head/cligen.nim(136, 13) Error: multi has no param matching `suppress` key "usage"
    Prompt: Build failed for 'logue@0.2.4', would you like to try installing 'logue@#head' (latest unstable)? [y/N]

it seems that cligen made some breaking changes which cause logue doesn't compile.

Verifying dependencies for cligen@#head

What's your cligen version? I cannot reproduce it on windows. Maybe you can remove some packages and nimcache first.

teroz commented

I cleared my cache and upgraded cligen to the latest version then installed prologue and it worked super - thank you

Nice!