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

You have hit it there,

I've probably been messing around with paths, in so far unsuccessful 
attempts to build a gcc which uses the Sun linker on t2. So yes the Sun 
version got picked up in this case.

It would I guess be worth testing if the version of tar is the GNU one 
or not - if it is really necessary to have the GNU one.


It's also odd why the Sun tar can't extract the file. Is the tar file 
created in a way that other tar's can't extract it? Perhaps it's that 
'LongLink' in the tar file. Not sure exactly what that is.

twisted-8.2.0/src/doc/core/examples/threadedselect/Cocoa/SimpleWebClient/English.lproj,
 

0 bytes, 0 tape blocks
x ././@LongLink, 101 bytes, 1 tape blocks
x

The might be GNU extension.

I recall some sort of problem like this before. I just extracted the 
file with the GNU tar, then created it again with the Sun one. Then it 
could be extracted with either tar.

Were any options used in creating the .spkg that might have made it only 
work with GNU tar?






--~--~---------~--~----~------------~-------~--~----~
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