On 3/02/19 5:22 PM, Aidan Gauland wrote: > On 3/02/19 4:10 PM, Matthew Flatt wrote: >> At Sat, 2 Feb 2019 22:06:40 -0500, Ben Greenman wrote: >>>> OK, so that sorts out getting a clone of the repository I need to work >>>> on. Now how do I invoke racket so that this clone is loaded instead of >>>> the version bundled with Racket? >>> You can change your PATH environment variable to include the clone's >>> racket/bin/ folder, or add a symlink from the clone's >>> racket/bin/racket to a directory that is on your path. >>> >>> When I set up my clone, I ran something like: >>> >>> $ ln -s `pwd`/racket/bin/racket /usr/local/bin/racket >> That shouldn't be necessary after `raco pkg update --clone`, which >> makes the clone the one that's used by the same Racket installation as >> `raco`. In other words, there shouldn't be anything more to do after >> `raco pkg update --clone`. > I would rather do this with my installation of the latest release of > Racket, rather than run all of Racket from master, if at all possible.
This is not working when running Racket from master, either. After running $ ./racket/bin/raco pkg update --clone and placing the resultant 'gui' directory into extra-pkgs, running drracket gives an error in gui-lib: $ ./racket/bin/drracket open-input-file: cannot open module file module path: racket/gui/base path: /home/aidan/src/racket/racket-project/racket/racket/collects/racket/gui/base.rkt system error: no such file or directory; rktio_err=3 context...: maybe-raise-missing-module default-load-handler standard-module-name-resolver namespace-module-instantiate!96 for-loop [repeats 1 more time] run-module-instance!125 perform-require!78 This has also broken the build, as rerunning make now fails (only including error from output): racket/bin/racket -G racket/etc -X racket/collects -N raco -l- raco setup --only-foreign-libs raco setup: directory: #<path:/home/aidan/src/racket/racket-project/racket/gui/tex-table> does not exist for collection: "mrlib" context...: /home/aidan/src/racket/racket-project/racket/racket/collects/setup/setup-core.rkt:333:2: collection-cc!20 /home/aidan/src/racket/racket-project/racket/racket/collects/setup/setup-core.rkt:451:6: for-loop /home/aidan/src/racket/racket-project/racket/racket/collects/setup/setup-core.rkt:448:4: for-loop /home/aidan/src/racket/racket-project/racket/racket/collects/setup/setup-core.rkt:71:0: setup-core "/home/aidan/src/racket/racket-project/racket/racket/collects/setup/main.rkt": [running body] temp37_0 for-loop run-module-instance!125 "/home/aidan/src/racket/racket-project/racket/racket/collects/raco/main.rkt": [running body] temp37_0 for-loop run-module-instance!125 perform-require!78 Makefile:82: recipe for target 'plain-minimal-in-place-after-base' failed Any ideas? -- You received this message because you are subscribed to the Google Groups "Racket Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-dev+unsubscr...@googlegroups.com. To post to this group, send email to racket-dev@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-dev/1798fafd-a736-530c-3821-efbd77ad6be5%40fastmail.net. For more options, visit https://groups.google.com/d/optout.