On Thu, Oct 24, 2013 at 10:19 AM, Jay McCarthy <jay.mccar...@gmail.com> wrote: > Hi Ryan, > > I presume that you ran that program in DrRacket.
Yes, that's correct, and that's how I reproduced it on my machine as well. > DrRacket can't run all Racket programs, such as those that modify the > installation, due to the way it changes how compilation and evaluation > works. The GUI package manager in DrRacket will work, however, because > it runs on DrRacket's privileges and not inside it's "sandbox". I just tried this with (something close to) HEAD, and while `install` is gone, I tried using `pkg-install-command`, and it seemed to do something sensible while in DrRacket. Is that now the case? Sam > > If my presumption is wrong, and you did it with actual Racket, I think > I'll need more information to debug, because I can't reproduce the > problem here. > > As far as how to fix your installation, you will want to run "raco > link -l" and find the directory for the package you tried to install > then "raco link -r <dir>" > > > > On Wed, Oct 23, 2013 at 11:27 AM, Ryan Newton <rrnew...@gmail.com> wrote: >> Here's the reproducer: >> >> (require pkg) >> (install "github://github.com/iu-c211/c211-libs/master") >> >> The error comes in the documentation building phase, for example: >> >> link: bad variable linkage; >> reference to a variable that has the wrong procedure or structure-type >> shape >> reference phase level: 0 >> variable module: >> "/Applications/Racket_v5.3.6_new/collects/racket/list.rkt" >> variable phase: 0 >> reference in module: >> "/Applications/Racket_v5.3.6_new/collects/racket/bytes.rkt" in: >> add-between11.1 >> >> This happens to me on my Mac, but Sam TH just reproduced it for me on Ubuntu >> with a fresh Racket 5.3.6 install. >> >> What would be great would be a quick recipe for healing the installation >> after this occurs, because right now, that error above is sticky. That >> DrRacket installation will not be able to evaluate anything after it becomes >> broken, and I haven't found a way to fix it other than blowing away the >> installation and reinstalling. >> >> -Ryan >> >> >> >> ____________________ >> Racket Users list: >> http://lists.racket-lang.org/users >> > > > > -- > Jay McCarthy <j...@cs.byu.edu> > Assistant Professor / Brigham Young University > http://faculty.cs.byu.edu/~jay > > "The glory of God is Intelligence" - D&C 93 > ____________________ > Racket Users list: > http://lists.racket-lang.org/users ____________________ Racket Users list: http://lists.racket-lang.org/users