I mostly operate from the command line, so all the installation was
done from a macosx bash shell. tar is GNU tar version 1.14.

I downloaded sage-2.1.13-osx10.4-i386-Darwin.tar.gz from sagemath.org/
SAGEbin/apple_osx/intel

md5 checksum is OK

tar -zxf sage-2.1.13-osx10.4-i386-Darwin.tar.gz

fails with the same error...

         tar: sage-2.8.13-i386-Darwin/local/LIB: Cannot create symlink
to `lib': File exists

So I tried

tar -ztf sage-2.1.13-osx10.4-i386-Darwin.tar.gz > tarlist

and then grepping for 'tar: sage-2.8.13-i386-Darwin/local/LIB' and for
tar: sage-2.8.13-i386-Darwin/local/lib

This shows that both LIB and lib directories exist in the tar listing.
The lib directory and contents is put down first, then what I assume
is a symbolic link is created from LIB to lib - but I'm not sure.

the /local/LIB file/link does not exist in the PowerPC version

Could this be something to do with case-insensitivity in the default
MacOSX filesystem? All my drives are formatted to Mac OS Extended
(Journaled), which would not differentiate between LIB and lib. Trying
to create a symbolic link from LIB to lib would effectively be
creating a link to itself. Possibly, if the build was only tested on a
case-sensitive disk, this would not show up in testing. Or maybe the
LIB link is unused, so the PowerPC version does OK without it, but in
the Intel version it is causing the untar'ing to fail.


Joel

On Nov 29, 11:44 am, mabshoff <[EMAIL PROTECTED]
dortmund.de> wrote:
> On Nov 29, 12:12 pm, joel <[EMAIL PROTECTED]> wrote:
>
> Hello Joel,
>
> > Installing sage-2.8.13-osx10.4-i386-Darwin.tar.gz fails during
> > untar'ing, with the error
>
> > tar: sage-2.8.13-i386-Darwin/local/LIB: Cannot create symlink to
> > `lib': File exists
>
> What are you using to untar? I wouldn't really trust any utility,
> especially any graphical one.
>
> > Subsequently running sage ends in all sorts of errors - so the missing
> > symlink is an issue.
>
> > This error occurs on an Intel MacPro, and also a PowerPC MacMini
> > (untar'ing only)
>
> Any chance you might have gotten a corrupted download?
>
> [EMAIL PROTECTED]:/home/was/www/sage/SAGEbin/apple_osx/intel$ md5sum *
> 61383c29edc62b83d8c19e2f56ddc0c6  sage-2.8.13-osx10.4-i386-
> Darwin.tar.gz
> 10d5d3ce209e0f561d60c7e9bef9055a  sage-2.8.13-osx10.5-i386-
> Darwin.tar.gz
>
> You should compare the md5sum of the above with the one you get from
> your tarball. In case it is different please tell us where you
> downloaded the files from, i.e. which mirror or sagemath.org.
>
> [EMAIL PROTECTED]:/home/was/www/sage/SAGEbin/apple_osx/intel$ tar xzf
> sage-2.8.13-osx10.4-i386-Darwin.tar.gz -C /tmp/Work-mabshoff/
>
> So at least the tarball on sage.math is fine.
>
> > Installing the PowerPC version on the MacMini succeeds without error.
> > A problem with the tarball?
>
> > I'm going to have a play now. First opinions are good. I'm an
> > electronics engineer who occasionally has a need to wrangle some
> > simple maths. For heavy lifting I usually use MathCAD, but Sage seems
> > to handle most of my applications for MathCAD, plus I already use
> > Python. Good work guys - if this proves useful I'll look into ways for
> > us to contribute.
>
> Excellent.
>
> Cheers,
>
> Michael
--~--~---------~--~----~------------~-------~--~----~
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
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to