[racket] slideshow-latex installation problems

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Apr 17 14:46:40 EDT 2013

It's tricky to inspect an executable and/or track timestamps to figure
out whether an executable needs to be rebuilt. I'm sure it could be
made to work, but meanwhile, I've changed `raco setup' and package
manager to address the problem in a more general way.

The package manager now more specifically tells `raco setup' to avoid
installation-wide files when installing in a user-specific scope, and
`raco setup' now more fully accommodates that request.

At Wed, 17 Apr 2013 07:36:59 -0600, Jay McCarthy wrote:
> The slideshow collect is probably causing a reinstallation of the
> executable on setup. It would also be nice if the make-ish logic
> inside raco setup wouldn't re-run that step if nothing changed.
> 
> On Wed, Apr 17, 2013 at 7:32 AM, Laurent <laurent.orseau at gmail.com> wrote:
> > Thanks Matthew.
> >
> > Do you have any general idea about why there is a 'rm /usr/bin/slideshow'?
> > I'd be surprised if it was due to the package itself.
> >
> > Laurent
> >
> >
> > On Tue, Apr 16, 2013 at 6:11 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> >>
> >> I think the `slideshow-latex' package should probably have an
> >> "info.rkt" that contains
> >>
> >>   (define setup-collects '("slideshow/latex"))
> >>
> >> so that only the "slideshow/latex" collection is set up. The package
> >> manager otherwise infers that "slideshow" should be set up.
> >>
> >>
> >> At Tue, 16 Apr 2013 14:50:01 +0200, Laurent wrote:
> >> > Trying to install slideshow-latex through raco pkg install, I got the
> >> > following error:
> >> > delete-file: cannot delete file
> >> >   path: /usr/bin/slideshow
> >> >   system error: Permission denied; errno=13
> >> >
> >> > It's strange that a package would try to do that. Is this normal?
> >> >
> >> > Then, I could not manage to require the package with any of the
> >> > following
> >> > lines:
> >> > (require slideshow-latex)
> >> > or
> >> > (require slideshow-latex/slideshow)
> >> > or
> >> > (require slideshow-latex/slideshow/latex)
> >> >
> >> > What's the correct way of writing it?
> >> >
> >> > Laurent
> >> > ____________________
> >> >   Racket Users list:
> >> >   http://lists.racket-lang.org/users
> >
> >
> >
> > ____________________
> >   Racket Users list:
> >   http://lists.racket-lang.org/users
> >
> 
> 
> 
> -- 
> Jay McCarthy <jay at 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

Posted on the users mailing list.