On Thursday, May 26, 2011 5:41:24 PM UTC-7, jtyard wrote:
>
> Hi, 
>
> I'm having trouble installing the optional kash package with 
> sage-4.7.  I'm using a recent issue macbook pro running 10.6.7.  Any 
> help would be appreciated.  
>

It certainly looks like that spkg is broken.  In fact, this was reported as 
a bug almost a year ago, but no one has fixed it.  See 
<http://trac.sagemath.org/sage_trac/ticket/9333>.  I'll try to post a link 
to a new spkg soon.  Meanwhile, to fix it yourself: find the file 
"kash3-2008-07-31.spkg", and from the terminal, run 

$ tar jxf kash3-2008-07-31.spkg

This will create a directory "kash3-2008-07-31".  In that directory, edit 
the file spkg-install.  There is a line that says something like

  bunzip2 -c src/$PKG.tar.bz2 | tar fixmv -

and it should really say

  bunzip2 -c src/$PKG.tar.bz2 | tar jxf -

(Just the end is different, the characters after "tar".)  Save the file, cd 
to the parent directory (the directory containing "kash3-2008-07-31" as a 
subdirectory), and execute

$ sage -spkg kash3-2008-07-31

This will create a new file "kash3-....spkg", and then if you

$ sage -k kash3-2008-07-31.spkg

it should install.  Good luck.

-- 
John

-- 
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-support
URL: http://www.sagemath.org

Reply via email to