On Wed, 27 May 2015 08:34:11 -0700 (PDT), N N <nawar.noo...@gmail.com> wrote:
>I've been trying to set up Racket for evaluation purposes and due to being on >CentOS with no root privileges, I've chosen the Racket minimal distribution. > >I was able to compile it from source and run it and wanted to manually install >xrepl for an improved interpreter experience. I found the package on GitHub >and downloaded it. > >However, I've not been able to install it using raco. I was advised to call >"raco pkg install --link <path_to_package>", however that fails with: > >call-with-file-lock/timeout: contract violation > expected: (>=/c 0.0) > given: -1202590842.0 > context...: > /home/user/Applications/Racket/share/racket/collects/racket/file.rkt:298:0: > call-with-file-lock/timeout35 > /home/user/Applications/Racket/share/racket/collects/pkg/main.rkt:167:14 > (submod /home/user/Applications/Racket/share/racket/collects/pkg/main.rkt > main): [running body] > /home/user/Applications/Racket/share/racket/collects/pkg/raco.rkt: > [traversing imports] > /home/user/Applications/Racket/share/racket/collects/raco/raco.rkt: > [running body] > /home/user/Applications/Racket/share/racket/collects/raco/main.rkt: > [running body] > >I'm on CentOS 5.10, no root privileges and we use the NFS protocol (I suspect >it's possibly related to that). Any call involving 'install' also fails in a >similar fashion. > >Interestingly, when I was trying to compile the full version, I was >occasionally running into the same problem and was having to restart the >compile as it was taking a really long time. In the end I got frustrated and >went for the minimal distribution. > >I've never had that problem compiling anything else before (vim being a recent >example). > >Thanks. In the past I have had numerous problems attempting project builds over network mounts. I've not tried with Racket specifically, but I have had difficulties with various C(++) toolchains. NFS had a lot of issues for a long time, but it did get noticeably better with v4. If you're not using 4 you should try to get the powers that be to upgrade. However ... WRT Racket on Centos: I compiled Racket 6.1.1 (full) onto Centos 6.6 and am running it with no problems - however all storage is local. I do have root access, but it isn't needed: private install works fine. I have a private install on a GUI desktop system and a root command line install on a headless server. I haven't tried installing xrepl myself, but I do have several other packages installed over the main distribution. Again no problems. I did see the message from John Clements. I'm not a Racket developer, but superficially it appears to me that the negative delay values John found should be causing errors on every platform that supports file locking [which is every supported platform]. Clearly they aren't, so now I am wondering whether locking actually is enabled and being used for local filesystems. Sorry I can't be much help. Just speculation. George -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.