[Ecls-list] MSVC instead of Cygwin? Actually, not really...

Robin Lee Powell rlpowell at digitalkingdom.org
Fri Aug 8 01:23:21 UTC 2008


On Thu, Aug 07, 2008 at 05:25:18PM -0700, Robin Lee Powell wrote:
> >> :r1
> ;;; ASDF-INSTALL: Installing USOCKET in /usr/local/asdf-install/site/, /usr/loca
> l/asdf-install/site-systems/
> ;;; Warning: Cannot find tar command "C:\\PROGRA~1\\Cygwin\\bin\\bash.exe".
>                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Unable to extract tarball /asdf-install-2.asdf-install-tmp.
> Broken at SI:BYTECODES.No restarts available.
> Broken at SI:BYTECODES.
> >>

Having copied my Cygwin over to that location (whee!), I now get:

;;; ASDF-INSTALL: Installing USOCKET in /usr/local/asdf-install/site/, /usr/loca
l/asdf-install/site-systems/
/cygdrive/c/PROGRA~1/Cygwin/bin/bash: tar -C "/cygdrive/c/usr/local/asdf-install
/site/" -xzvf "/cygdrive/c/asdf-install-0.asdf-install-tmp": No such file or dir
ectory

Running the tar by hand works Just Fine.

*sigh*

I did eventually get this working; here's the asdf-install patch:

diff -C3 -wr asdf-install/asdf-install/installer.lisp asdf-install-orig/asdf-install/installer.lisp
*** asdf-install/asdf-install/installer.lisp    Thu Aug  7 18:16:45 2008
--- asdf-install-orig/asdf-install/installer.lisp       Wed Dec 26 19:20:44 2007
***************
*** 295,301 ****
    #+(or :win32 :mswindows)
    (list "-l"
        "-c"
!       (format nil "tar -C \"`cygpath '~A'`\" -xzvf \"`cygpath '~A'`\""
                (namestring (truename source))
                (namestring (truename packagename))))
    #+scl
--- 295,301 ----
    #+(or :win32 :mswindows)
    (list "-l"
        "-c"
!       (format nil "\"tar -C \\\"`cygpath '~A'`\\\" -xzvf \\\"`cygpath '~A'`\\\"\""
                (namestring (truename source))
                (namestring (truename packagename))))
    #+scl

Also, for those of you who, like me, don't want to move cygwin just
to make asdf-install happy, here's what you need to mess with:

diff -C3 -wr asdf-install/asdf-install/variables.lisp asdf-install-orig/asdf-install/variables.lisp
*** asdf-install/asdf-install/variables.lisp    Thu Aug  7 18:17:07 2008
--- asdf-install-orig/asdf-install/variables.lisp       Wed Dec 26 19:20:44 2007
***************
*** 40,50 ****

  #+(or :win32 :mswindows)
  (defvar *cygwin-bin-directory*
!   (pathname "C:\\Cygwin\\bin\\"))

  #+(or :win32 :mswindows)
  (defvar *cygwin-bash-program*
!   "C:\\Cygwin\\bin\\bash.exe")

  ;; bin first
  (defvar *shell-search-paths* '((:absolute "bin")
--- 40,50 ----

  #+(or :win32 :mswindows)
  (defvar *cygwin-bin-directory*
!   (pathname "C:\\PROGRA~1\\Cygwin\\bin\\"))

  #+(or :win32 :mswindows)
  (defvar *cygwin-bash-program*
!   "C:\\PROGRA~1\\Cygwin\\bin\\bash.exe")

  ;; bin first
  (defvar *shell-search-paths* '((:absolute "bin")
Only in asdf-install/asdf-install: variables.obj

-Robin




More information about the ecl-devel mailing list