[asdf-install-devel] Dealing with tar on Windows.

Andy Cristina acristin at gmail.com
Mon Nov 12 17:56:52 UTC 2007


There are windows native versions of tar, so cygwin should not be
required.  At least one of them mostly worked a couple of years ago
when the gardeners project started.

On Nov 12, 2007 8:29 AM, Gary King <gwking at metabang.com> wrote:
> Hi Dan,
>
> This sounds great. I'm certainly interested in the patches and think
> that they'd be beneficial to Windows users. (and my apologies to
> previous Windows fixers whose patches didn't make it in due to my
> lack of time and Windows box).
>
> One question I have is whether cygwin is required for these patches
> to work (I'm guessing that this is the only way currently to get tar
> support so that the answer is no)?
>
> A darcs patch is the preferred method but diffs are OK too.
>
> thanks,
>
>
> On Nov 11, 2007, at 11:27 PM, Dan Muller wrote:
>
> >
> > I work mainly on Windows these days, and I made several unsuccessful
> > attempts at using asdf-install over the years. Works OK with Cygwin's
> > CLISP, but I work with several different Lisps. So today I finally got
> > around to hacking ASDF-INSTALL to simplify setup on Windows a bit.
> >
> > I think I've got some changes that make dealing with tar a lot
> > easier. Basically, here's what I did:
> >
> > - Removed *CYGWIN-BASH-PROGRAM* and *CYGWIN-BIN-DIRECTORY*
> > - Init *SHELL-SEARCH-PATHS* from PATH on Windows.
> > - Fixed a bug in DIRECTORIFY.
> > - Made *SHELL-SEARCH-PATHS* into a list of pathnames.
> > - Adjusted FIND-SHELL-COMMAND accordingly.
> > - Made *GNU-TAR-PROGRAM* be "tar.exe" on Windows.
> > - Made TAR-ARGUMENTS stop treating Windows special.
> > - Added "--force-local" to the tar arguments.
> >
> > My thinking is that just about anyone using Cygwin will have the
> > Cygwin binary directories in PATH. Initializing *SHELL-SEARCH-PATHS*
> > from PATH seems legitimate on Windows, where there's no useful notion
> > of default paths for anything but OS components.
> >
> > The invocation of cygpath is not necessary if one adds --force-local
> > to tar's options, because as a Cygwin program, it understands native
> > paths fine. It was just misfiring on the drive prefix, thinking that
> > you're trying to specify a remote host. Since this seems unlikely even
> > on UNIX systems when ASDF-INSTALL invokes it, I didn't conditionalize
> > the addition of this option.
> >
> > With this setup, it ought to work out of the box a lot easier for
> > people on Windows. I am still testing. It seems to work with both
> > LispWorks 5.0.1. Personal and Cygwin's CLISP.
> >
> > This change is not backwards-compatible if people were customizing
> > with the *CYGWIN- variables.
> >
> > Is there any interest in such an intrusive set of changes? If so, what
> > patch format is preferred?
> >
> > --
> > Dan Muller
> > _______________________________________________
> > asdf-install-devel mailing list
> > asdf-install-devel at common-lisp.net
> > http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-install-devel
>
> --
> Gary Warren King, metabang.com
> Cell: (413) 559 8738
> Fax: (206) 338-4052
> gwkkwg on Skype * garethsan on AIM
>
>
>
>
>
> _______________________________________________
> asdf-install-devel mailing list
> asdf-install-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-install-devel
>



More information about the asdf-install-devel mailing list