trying to install Rhombus

76 views
Skip to first unread message

Dan Synek

unread,
Jan 31, 2023, 10:27:39 AM1/31/23
to Racket Users
Hi,

I used Racket a couple of years ago, but is now quiet rusty. So please forgive m if my question is obvious. I wanted to experiment with a language with algebraic style(infix etc), but with powerful macros, so I thought it could be interesting to check out Rhombus.
Below  are my attempts at installing Rhombus in version 8.7 and 8,6 of Racket without any success.
I installed the latest racket (8.7) and tried:
raco pkg install --auto rhombus-prototype

It looked hopeful, but after a while I got a lot of errors like this:
....
--- summary of errors ---                              [17:12:53]
raco setup: error: during making for <pkgs>/rhombus-prototype/scribble
raco setup:   phase+space+: contract violation
raco setup:     expected: phase+space?
raco setup:     given: '(0 . #f)
raco setup:     compiling: <pkgs>/rhombus-prototype/rhombus/private/ellipsis.rkt
raco setup: error: during making for <pkgs>/rhombus-prototype/rhombus
raco setup:   phase+space+: contract violation
raco setup:     expected: phase+space?
raco setup:     given: '(0 . #f)

Anything i can do to get around these errors?
I tried the same command with Racket version 8.6, but then I got this error:

The following out-of-date packages are listed as dependencies of rhombus-prototype
and they will be automatically updated:
   base (have 8.6, need 8.6.0.10)
raco pkg install: package installed in a different scope
Inferred package scope: installation
Resolving "base" via https://download.racket-lang.org/releases/8.6/catalog/
No updates available
  package: base
  current scope: user
  installed in scope: installation


As a lest attempt I tried to  update base with:
bin/raco pkg update base
but got 
Inferred package scope: installation
Resolving "base" via https://download.racket-lang.org/releases/8.6/catalog/
No updates available


Any idea what to do?


Alex Knauth

unread,
Jan 31, 2023, 10:52:14 AM1/31/23
to Dan Synek, Racket Users

On Jan 31, 2023, at 10:27 AM, Dan Synek <dans...@gmail.com> wrote:

Hi,

I used Racket a couple of years ago, but is now quiet rusty. So please forgive m if my question is obvious. I wanted to experiment with a language with algebraic style(infix etc), but with powerful macros, so I thought it could be interesting to check out Rhombus.
Below  are my attempts at installing Rhombus in version 8.7 and 8,6 of Racket without any success.
I installed the latest racket (8.7) and tried:
raco pkg install --auto rhombus-prototype

It looked hopeful, but after a while I got a lot of errors like this:
....
--- summary of errors ---                              [17:12:53]
raco setup: error: during making for <pkgs>/rhombus-prototype/scribble
raco setup:   phase+space+: contract violation
raco setup:     expected: phase+space?
raco setup:     given: '(0 . #f)
raco setup:     compiling: <pkgs>/rhombus-prototype/rhombus/private/ellipsis.rkt
raco setup: error: during making for <pkgs>/rhombus-prototype/rhombus
raco setup:   phase+space+: contract violation
raco setup:     expected: phase+space?
raco setup:     given: '(0 . #f)

Parts of the Rhombus prototype like this can depend on *very* recent Racket snapshot / nightly versions.

The `phase+space+` behavior it's relying on here was last updated in the snapshot version 8.2.0.3.

You can get a snapshot build from one of the options at https://snapshot.racket-lang.org/. The current most up-to-date snapshot available from the University of Utah is version 8.8.0.5.

Alex Knauth
he/him or they/them

Dan Synek

unread,
Feb 1, 2023, 3:02:01 AM2/1/23
to Racket Users
It worked with the latest version. Thanks so much,  Alex!
Reply all
Reply to author
Forward
0 new messages