William Stein wrote:
> On Sun, Jun 28, 2009 at 5:37 AM, Dr. David
> Kirkby<david.kir...@onetel.net> wrote:
>> twisted-8.2.0 is messing up on my Solaris box, but it looks odd. The
>> error message is saying there's no spkg-install script,setup.py or
>> configure script. But there is.
>>
>> drkir...@kestrel:[~/sage/sage-4.1.alpha2/spkg/build/twisted-8.2.0] $ ls -l
>> total 9
>> -rw-r--r--   1 drkirkby other       1466 Jun 19 20:43 SPKG.txt
>> -rw-r--r--   1 drkirkby other         21 Jun 28 04:27 spkg-install
>> drwxr-xr-x   5 drkirkby other          9 Jun 28 04:27 src
>>
>> When I looked at permissions of the spkg-install, I see it does not have
>> execute permission, which I thought might be the issue. Then I realised
>> it is only 9 bytes in length. It's a pretty useless shell script,
>> consisting of only:
> 
> Are you using GNU tar or Sun's tar?   If you're using Sun's tar can
> you try extract the spkg using GNU tar.  Note that an spkg is really a
> .tar.bz2 file.
> 
> William


I just checked and the old version of twisted in  sage-4.0.2 
(twisted-8.1.0.p2.spkg) *will* extract properly with the Sun tar.

The updated version of twisted (twisted-8.2.0.spkg), which I think first 
appeared in sage-4.1.alpha2 will *not* extract with the Sun tar. If I 
first decompress it with bzip2, then extract it with Sun's tar, I get 
this error:


x 
twisted-8.2.0/src/doc/core/examples/threadedselect/Cocoa/SimpleWebClient/English.lproj,
 
0 bytes, 0 tape blocks
tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
x ././@LongLink, 101 bytes, 1 tape blocks
x 
twisted-8.2.0/src/doc/core/examples/threadedselect/Cocoa/SimpleWebClient/English.lproj/MainMenu.nib,
 
0 bytes, 0 tape blocks
tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file
x ././@LongLink, 109 bytes, 1 tape blocks
x 
twisted-8.2.0/src/doc/core/examples/threadedselect/Cocoa/SimpleWebClient/English.lproj/MainMenu.nib,
 
0 bytes, 0 tape blocks
tar: directory checksum error

Does it really need this '@LongLink' stuff? If not, I'd propose it was 
recreated in a way that would work with either version of tar.

It would be unfortunate to force a requirement to use GNU tar, if 
twisted could be created in a way that does not force that requirement.

Thinking about it more, I think that my messing with paths had no effect 
on this. There is no version of GNU tar called 'tar' shipped with 
Solaris, though it is available as 'gtar' in /usr/sfw/bin.



--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to