#11245: broken tar on cygwin (Windows 7), cddlib fails to install
-----------------------+----------------------------------------------------
   Reporter:  dimpase  |          Owner:  tbd                                
       Type:  defect   |         Status:  needs_review                       
   Priority:  major    |      Milestone:  sage-4.7.1                         
  Component:  cygwin   |       Keywords:                                     
Work_issues:           |       Upstream:  N/A                                
   Reviewer:           |         Author:  Karl-Dieter Crisman, Dima Pasechnik
     Merged:           |   Dependencies:                                     
-----------------------+----------------------------------------------------
Changes (by newvalueoldvalue):

 * cc: vbraun, mhampton (added)
  * status:  new => needs_review
  * author:  => Karl-Dieter Crisman, Dima Pasechnik


Old description:

> on Windows 7 tar does not unpack cddlib spkg correctly, symbolic
> links get broken. See
> http://groups.google.com/group/sage-
> windows/browse_thread/thread/d4965bfbc83a9bf8#
>
> A remedy is to replace them with files, i.e. use tar with -h option to
> recreate the spkg---on a machine where tar works, certainly. Works for
> me. Something along the following
> lines:
> {{{
> /* on a Unix, with good tar: */
> $ tar xjf foo.spkg
> $ tar chjf foo.spkg foo/
> $ tar xjf foo.spkg
> $ sage -spkg foo
> $ scp foo.spkg win7cygwinhost:/sageroot/spkg/standard/
> }}}
>
> affected packages: cddlib, networkx (and maybe more)

New description:

 on Windows 7 tar does not unpack cddlib spkg correctly, symbolic
 links get broken. See
 http://groups.google.com/group/sage-
 windows/browse_thread/thread/d4965bfbc83a9bf8#

 A remedy is to replace them with files, i.e. use tar with -h option to
 recreate the spkg---on a machine where tar works, certainly. Works for me.
 Something along the following
 lines:
 {{{
 /* on a Unix, with good tar: */
 $ tar xjf foo.spkg
 $ tar chjf foo.spkg foo/
 $ tar xjf foo.spkg
 $ sage -spkg foo
 $ scp foo.spkg win7cygwinhost:/sageroot/spkg/standard/
 }}}

 affected packages: cddlib, networkx (and maybe more)

 ----
 New spkg available at [http://sage.math.washington.edu/home/kcrisman
 /cddlib-094f.p9.spkg cddlib-094f.p9.spkg].

--

Comment:

 Okay, I now have a p9 version of cddlib which just changes the
 instructions to indicate this needs to be done (and of course has had it
 done!).

 New spkg available at [http://sage.math.washington.edu/home/kcrisman
 /cddlib-094f.p9.spkg cddlib-094f.p9.spkg].  The ''only'' change is in
 SPKG.txt and in having done the tar -h above.

 Also cc:ing the spkg maintainers!

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11245#comment:13>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to