On Sun, Jan 16, 2011 at 01:33:43PM -0800, Simon King wrote:
> Hi!
> 
> My frustration grows: The same problem occurs even with sage-4.6
> sources. Since previously a sage upgrade failed, the computer in my
> office is now sageless.
> 
> To summarize it:
> 
> * When "make" fails, it is in SAGE_ROOT/spkg/build/gsl-1.14/src
> 
> * It complains the .libs/libgsl.lax/lt1-init.o does not exist.
> 
> * spkg/build/gsl-1.14/src *does* exist, namely it is a link to .libs/
> libgsl.lax/libgslcheb.a/init.o

I'm assuming you mean spkg/build/gsl-1.14/src/.libs/libgsl.lax/lt1-init.o here
as the first filename?

It doesn't make sense that lt1-init.o is a softlink. According to the link
command above, it is trying to make a hardlink:

ln .libs/libgsl.lax/libgslcheb.a/init.o .libs/libgsl.lax/lt1-init.o

The syntax for making hardlinks in subdirs is different than that for
making symlinks in subdirs. Do you maybe have 'ln' aliased to 'ln -s'? That
would break it. (And it is also something you should never do.)

Doing 'ln -s a/x a/y' makes a/y a symlink to a/a/x, not to a/x. Doing 'ln a/x
a/y' makes a/y a hardlink to a/x. In this case
spkg/build/gsl-1.14/src/.libs/libgsl.lax/lt1-init.o is a symlink to
spkg/build/gsl-1.14/src/.libs/libgsl.lax/.libs/libgsl.lax/libgslcheb.a/init.o 

-Willem Jan

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to