"collection not found" problem installing through raco #12

Closed
opened 10 years ago by mattly · 2 comments
mattly commented 10 years ago (Migrated from github.com)

I get the following when attempting raco pkg install pollen:

raco setup: 2 making: <pkgs>/pollen
/Users/mattly/Library/Racket/6.0.1/pkgs/pollen/server-routes.rkt:3:9: collection not found
  for module path: web-server/http/xexpr
  collection: "web-server/http"
  in collection directories:
   /Users/mattly/Library/Racket/6.0.1/collects
   /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects
   ... [44 additional linked and package directories]
  context...:
   show-collection-err
   standard-module-name-resolver
   /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:345:0: compile-zo*
   /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:552:26
   /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:545:42
   /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:510:0: maybe-compile-zo
   /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:621:2: do-check
   /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:703:4
   /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/setup/parallel-do.rkt:420:20: loop

standard-module-name-resolver: collection not found
  for module path: (submod web-server/base reader)
  collection: "web-server"
  in collection directories:
   /Users/mattly/Library/Racket/6.0.1/collects
   /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects
   ... [44 additional linked and package directories]
  context...:
   show-collection-err
   standard-module-name-resolver
   /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:394:23
   /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/syntax/modcode.rkt:62:2: reader
   /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/syntax/modcode.rkt:264:5: compile-one
   /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:345:0: compile-zo*
   /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:552:26
   /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:545:42
   /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:510:0: maybe-compile-zo
   /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:621:2: do-check
   /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:703:4
   /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/setup/parallel-do.rkt:420:20: loop

and then, after that, almost every package installation fails:

raco setup: 3 making: <pkgs>/scribble-lib/scriblib
/Users/mattly/Library/Racket/6.0.1/pkgs/typed-racket-lib/typed-racket/base-env/base-env.rkt:9:2: cannot open module file
  module path: racket/unsafe/undefined
  path: /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/racket/unsafe/undefined.rkt
  system error: No such file or directory; errno=2

Any ideas? The racket mailing list and the #racket irc channel on freenode turned up nothing.

I get the following when attempting `raco pkg install pollen`: ``` raco setup: 2 making: <pkgs>/pollen /Users/mattly/Library/Racket/6.0.1/pkgs/pollen/server-routes.rkt:3:9: collection not found for module path: web-server/http/xexpr collection: "web-server/http" in collection directories: /Users/mattly/Library/Racket/6.0.1/collects /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects ... [44 additional linked and package directories] context...: show-collection-err standard-module-name-resolver /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:345:0: compile-zo* /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:552:26 /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:545:42 /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:510:0: maybe-compile-zo /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:621:2: do-check /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:703:4 /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/setup/parallel-do.rkt:420:20: loop standard-module-name-resolver: collection not found for module path: (submod web-server/base reader) collection: "web-server" in collection directories: /Users/mattly/Library/Racket/6.0.1/collects /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects ... [44 additional linked and package directories] context...: show-collection-err standard-module-name-resolver /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:394:23 /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/syntax/modcode.rkt:62:2: reader /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/syntax/modcode.rkt:264:5: compile-one /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:345:0: compile-zo* /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:552:26 /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:545:42 /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:510:0: maybe-compile-zo /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:621:2: do-check /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/compiler/cm.rkt:703:4 /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/setup/parallel-do.rkt:420:20: loop ``` and then, after that, almost every package installation fails: ``` raco setup: 3 making: <pkgs>/scribble-lib/scriblib /Users/mattly/Library/Racket/6.0.1/pkgs/typed-racket-lib/typed-racket/base-env/base-env.rkt:9:2: cannot open module file module path: racket/unsafe/undefined path: /usr/local/Cellar/plt-racket/6.0.1/share/racket/collects/racket/unsafe/undefined.rkt system error: No such file or directory; errno=2 ``` Any ideas? The racket mailing list and the #racket irc channel on freenode turned up nothing.
mbutterick commented 10 years ago (Migrated from github.com)

Seems like there are pieces missing from your Racket installation. Is this your first time installing Racket? If so, what platform and how did you install?

Seems like there are pieces missing from your Racket installation. Is this your first time installing Racket? If so, what platform and how did you install?
mattly commented 10 years ago (Migrated from github.com)

It is my first time with Racket.

I'm on OS X 10.9. I installed it through Homebrew originally, which gave me these problems.

I then tried the binaries from racket-lang.org, but the default download is 32-bit and 10.9 has issues with that. I re-downloaded 64-bit binaries and after some issues with installing them and some help from irc, I've managed to get pollen installed and working correctly. Sorry for the trouble.

The homebrew formula for Racket does disclaim it is incomplete – Specifically it seems to be missing:

Installation-wide:
 Package              Checksum                                    Source
 main-distribution    b5541888d9afdeea2addc1986e17b0ca3b8533d7    (catalog main-distribution)
 racket-lib           4e0ce39bb85789f0012f962eaf7027f0977b2b83    (catalog racket-lib)
 [177 auto-installed packages not shown]

but attempting to install these with homebrew's raco: raco pkg install yields many more errors. I'll take it up with the homebrew maintainer.

It is my first time with Racket. I'm on OS X 10.9. I installed it through Homebrew originally, which gave me these problems. I then tried the binaries from racket-lang.org, but the default download is 32-bit and 10.9 has issues with that. I re-downloaded 64-bit binaries and after some issues with installing them and some help from irc, I've managed to get pollen installed and working correctly. Sorry for the trouble. The homebrew formula for Racket does disclaim it is incomplete – Specifically it seems to be missing: ``` Installation-wide: Package Checksum Source main-distribution b5541888d9afdeea2addc1986e17b0ca3b8533d7 (catalog main-distribution) racket-lib 4e0ce39bb85789f0012f962eaf7027f0977b2b83 (catalog racket-lib) [177 auto-installed packages not shown] ``` but attempting to install these with homebrew's raco: `raco pkg install` yields many more errors. I'll take it up with the homebrew maintainer.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/pollen#12
Loading…
There is no content yet.