Philip McGrath
Philip McGrath
The associated `mred` also has the same issue of having a correct `-G` flag and the correct original executable, but no `-X` flag.
As a workaround, skipping the separate `raco setup` step seems to avoid the issue with `racket`, but it doesn't solve the problem with `mred`. The working `racket` executable, in addition...
Yes, I can confirm that just replacing: https://github.com/racket/gui/blob/adb9a995cff267be13f84a89b4f987658508ecb8/gui-lib/mred/installer.rkt#L74-L75 with: ```racket (define (config-flags) (list "-X" (path->string (find-collects-dir)) "-G" (path->string (find-config-dir)))) ``` is enough to be able to run `mred`. (I haven't...
I think the problem with `racket` is that the call to `find-exe` here (or maybe some similar call): https://github.com/racket/racket/blob/b43e120995cca3770a040b0a70ae21ec3072c06a/racket/collects/compiler/embed.rkt#L1536 finds the path to the `racket` from that main distribution layer,...
I think we need to do something here: https://github.com/racket/racket/blob/b43e120995cca3770a040b0a70ae21ec3072c06a/racket/collects/compiler/find-exe.rkt#L23-L28 to account for the fact that the result of `find-{addon,config}-tethered-console-bin-dir` may also be included in the list returned by `(get-console-bin-search-dirs)`.
In https://github.com/LiberalArtist/racket-issue-4133/commit/4ab1e4fd525604b9165cf79a101d39e57c9c0209, I've adjusted the `config.rktd` files to set `bin-dir` and the intermediate entries in `bin-search-dirs` to placeholder directories (which are not used) rather than `config-tethered-console-bin-dir`. That gets `racket` working...
> I've pushed the change to `mred/installer.rkt`. Thanks! I've switched to building with https://github.com/racket/gui/commit/563c68432f127729592f234ef30c31e92618b517, and it seems to be working. > For the other problem, we could change https://docs.racket-lang.org/raco/tethered-install.html where...
> Concretely, as far as I can tell, it doesn't cause any problems for my use case to define `bin-dir` etc. to point to ignored directories, rather than the `-tethered-`...
In Guix we're still on Pango 1.48.10, and our builds succeed, but we do regularly see an error from Fontconfig during `raco setup` like this, from : ``` raco setup:...
@lexi-lambda's Hackett has an infix syntax: https://github.com/lexi-lambda/hackett/blob/8e4e0e904ac37df58b8c8ef29c0f94ad4151246f/hackett-doc/scribblings/hackett/guide.scrbl#L251 (Link to the Scribble source because the docs seem to be down.)