On Mar 29, 2007, at 11:06 AM, William Stein wrote:
> > Maybe you moved your SAGE install? Could you try: > (1) Move it again (anywhere but where it originally was), then start > SAGE, then do the upgrade again. If that doesn't work, try: 1 worked for me. > (2) Move it back to where it was originally > (/Users/yqiang/Software/sage-2.3/), start SAGE once, then do the > upgrade again. > > It's definitely a bug that this isn't working, so please report what > happens when > you try the above. Very likely one of (1) or (2) will work, and > knowing what happens > will help me fix the problem in general. > > William > > On 3/29/07, Yi Qiang <[EMAIL PROTECTED]> wrote: >> >> Trying to upgrade to sage-2.4.1.2 gives this: >> >> <snip> >> /linbox-20070328/linbox -I/Users/yqiang/Software/sage-2.4/local/ >> include -I/Users/yqiang/Software/sage-2.4/local/include - >> D__LINBOX_HAVE_CBLAS -c gmp++_int_io.C >> g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../gmp++ >> -I/ >> Users/yqiang/Software/sage-2.4/local/include -I/Users/yqiang/ >> Software/ >> sage-2.4/local/include -I/Users/yqiang/Software/sage-2.4/local/ >> include -I/Users/yqiang/Software/sage-2.4/local/include -fPIC -I/ >> Users/yqiang/Software/sage-2.4/local/include -L/Users/yqiang/ >> Software/ >> sage-2.4/local/lib -I/Users/yqiang/Software/sage-2.4/spkg/build/ >> linbox-20070328/linbox -I/Users/yqiang/Software/sage-2.4/local/ >> include -I/Users/yqiang/Software/sage-2.4/local/include - >> D__LINBOX_HAVE_CBLAS -Wp,-MD,.deps/gmp++_int_io.pp -c gmp+ >> +_int_io.C - >> o gmp++_int_io.o >> /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. - >> I../../.. -I../../.. -I../../../gmp++ -I/Users/yqiang/Software/ >> sage-2.4/local/include -I/Users/yqiang/Software/sage-2.4/local/ >> include -I/Users/yqiang/Software/sage-2.4/local/include -I/Users/ >> yqiang/Software/sage-2.4/local/include -fPIC -I"/Users/yqiang/ >> Software/sage-2.4/local/include" -L"/Users/yqiang/Software/sage-2.4/ >> local/lib" -I/Users/yqiang/Software/sage-2.4/spkg/build/ >> linbox-20070328/linbox -I/Users/yqiang/Software/sage-2.4/local/ >> include -I/Users/yqiang/Software/sage-2.4/local/include - >> D__LINBOX_HAVE_CBLAS -c gmp++_int_pow.C >> >> /bin/sh ../../../libtool --mode=link g++ -I/Users/yqiang/Software/ >> sage-2.4/local/include -I/Users/yqiang/Software/sage-2.4/local/ >> include -I/Users/yqiang/Software/sage-2.4/local/include -fPIC -I"/ >> Users/yqiang/Software/sage-2.4/local/include" -L"/Users/yqiang/ >> Software/sage-2.4/local/lib" -I/Users/yqiang/Software/sage-2.4/spkg/ >> build/linbox-20070328/linbox -I/Users/yqiang/Software/sage-2.4/ >> local/ >> include -I/Users/yqiang/Software/sage-2.4/local/include - >> D__LINBOX_HAVE_CBLAS -o libgmpxx.la gmp++_int_mul.lo gmp+ >> +_int_mod.lo gmp++_int_cstor.lo gmp++_int_add.lo gmp++_int_div.lo >> gmp+ >> +_int_io.lo gmp++_int_pow.lo gmp++_int_gcd.lo gmp++_int_misc.lo gmp+ >> +_int_sub.lo gmp++_int_compare.lo /usr/lib/libcblas.dylib -L/Users/ >> yqiang/Software/sage-2.4/local/lib -lgmp -lgmpxx >> mkdir .libs >> libtool: link: warning: library `/Users/yqiang/Software/sage-2.4/ >> local/lib/libgmp.la' was moved. >> libtool: link: warning: library `/Users/yqiang/Software/sage-2.4/ >> local/lib/libgmpxx.la' was moved. >> grep: /Users/yqiang/Software/sage-2.3/local/lib/libgmp.la: No such >> file or directory >> sed: /Users/yqiang/Software/sage-2.3/local/lib/libgmp.la: No such >> file or directory >> libtool: link: `/Users/yqiang/Software/sage-2.3/local/lib/libgmp.la' >> is not a valid libtool archive >> make[5]: *** [libgmpxx.la] Error 1 >> make[4]: *** [all-recursive] Error 1 >> make[3]: *** [all-recursive] Error 1 >> make[2]: *** [all-recursive] Error 1 >> make[1]: *** [all-recursive-am] Error 2 >> Error building linbox >> Making install in gmp++ >> make[3]: Nothing to be done for `install-exec-am'. >> /bin/sh ../mkinstalldirs /Users/yqiang/Software/sage-2.4/local/ >> include/gmp++ >> /opt/local/bin/ginstall -c -m 644 gmp++_int.h /Users/yqiang/Software/ >> sage-2.4/local/include/gmp++/gmp++_int.h >> /opt/local/bin/ginstall -c -m 644 gmp++_int.inl /Users/yqiang/ >> Software/sage-2.4/local/include/gmp++/gmp++_int.inl >> /opt/local/bin/ginstall -c -m 644 gmp++.h /Users/yqiang/Software/ >> sage-2.4/local/include/gmp++/gmp++.h >> Making install in linbox >> Making install in util >> Making install in gmp++ >> /bin/sh ../../../libtool --mode=link g++ -I/Users/yqiang/Software/ >> sage-2.4/local/include -I/Users/yqiang/Software/sage-2.4/local/ >> include -I/Users/yqiang/Software/sage-2.4/local/include -fPIC -I"/ >> Users/yqiang/Software/sage-2.4/local/include" -L"/Users/yqiang/ >> Software/sage-2.4/local/lib" -I/Users/yqiang/Software/sage-2.4/spkg/ >> build/linbox-20070328/linbox -I/Users/yqiang/Software/sage-2.4/ >> local/ >> include -I/Users/yqiang/Software/sage-2.4/local/include - >> D__LINBOX_HAVE_CBLAS -o libgmpxx.la gmp++_int_mul.lo gmp+ >> +_int_mod.lo gmp++_int_cstor.lo gmp++_int_add.lo gmp++_int_div.lo >> gmp+ >> +_int_io.lo gmp++_int_pow.lo gmp++_int_gcd.lo gmp++_int_misc.lo gmp+ >> +_int_sub.lo gmp++_int_compare.lo /usr/lib/libcblas.dylib -L/Users/ >> yqiang/Software/sage-2.4/local/lib -lgmp -lgmpxx >> libtool: link: warning: library `/Users/yqiang/Software/sage-2.4/ >> local/lib/libgmp.la' was moved. >> libtool: link: warning: library `/Users/yqiang/Software/sage-2.4/ >> local/lib/libgmpxx.la' was moved. >> grep: /Users/yqiang/Software/sage-2.3/local/lib/libgmp.la: No such >> file or directory >> sed: /Users/yqiang/Software/sage-2.3/local/lib/libgmp.la: No such >> file or directory >> libtool: link: `/Users/yqiang/Software/sage-2.3/local/lib/libgmp.la' >> is not a valid libtool archive >> make[4]: *** [libgmpxx.la] Error 1 >> make[3]: *** [install-recursive] Error 1 >> make[2]: *** [install-recursive] Error 1 >> make[1]: *** [install-recursive] Error 1 >> Error installing linbox >> >> real 0m51.303s >> user 0m26.452s >> sys 0m23.118s >> sage: An error occured while installing linbox-20070328 >> >> <snip> >> >> I have no idea why it wants to look in /Users/yqiang/Software/ >> sage-2.3/ since my SAGE installation is in /Users/yqiang/Software/ >> sage-2.4. >> >> I also tried the following tip, suggested by William when this >> problem happened earlier: >> >> 0. cd SAGE_ROOT >> 1. ./sage -f sage_scripts-2.1.4 >> 2. rm local/lib/sage-current-location.txt >> 3. ./sage (then exit) >> 4. ./sage -upgrade >> >> This did not work either. $SAGE_ROOT/local/lib/sage-current- >> location.txt points to the right directory. >> >> >> Cheers, >> Yi >> >> -- >> http://www.yiqiang.net >> >> >> >>> >> > > > -- > William Stein > Associate Professor of Mathematics > University of Washington > http://www.williamstein.org > > > Cheers, Yi -- http://www.yiqiang.net --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---