On Feb 5, 2008 6:24 AM, gordyt <[EMAIL PROTECTED]> wrote:
>
> Greetings All!
>
> I tried to update my existing sage installation via sage -upgrade.
> Everything seemed to go smoothly until near the end when I received
> the error shown below.

Could you try forcing a rebuild of gmp, then restart the upgrade after the gmp
build finishes?

   sage -f gmp-4.2.1.p12

where I got the name of the gmp package from SAGE_ROOT/spkg/standard/

 -- William

> One thing caught my eye:
>
> ----------
> libtool: link: cannot find the library `/Users/was/build/sage-2.10/
> local/lib/libgmp.la' or unhandled argument `/Users/was/build/sage-2.10/
> local/lib/libgmp.la'
> ----------
>
> The "/Users/was/" part of the path is bogus, as there is no "was"
> user.
>
> --gordy
>
>
> ---------- cut here ----------
> test -z "/Users/gordy/Applications/sage/local/include" || /bin/sh ../
> mkinstalldirs "/Users/gordy/Applications/sage/local/include"
>  /usr/bin/install -c -m 644 'mpfi.h' '/Users/gordy/Applications/sage/
> local/include/mpfi.h'
>  /usr/bin/install -c -m 644 'mpfi_io.h' '/Users/gordy/Applications/
> sage/local/include/mpfi_io.h'
> Making install in tests
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../src   -I/Users/gordy/
> Applications/sage/local/include -I/Users/gordy/Applications/sage/local/
> include  -fPIC -MT test_mpfi.o -MD -MP -MF ".deps/test_mpfi.Tpo" -c -o
> test_mpfi.o test_mpfi.c; \
>         then mv -f ".deps/test_mpfi.Tpo" ".deps/test_mpfi.Po"; else rm -f
> ".deps/test_mpfi.Tpo"; exit 1; fi
> /bin/sh ../libtool --tag=CC --mode=link gcc  -fPIC   -o test_mpfi
> test_mpfi.o ../src/.libs/libmpfi.a  -L/Users/gordy/Applications/sage/
> local/lib -lmpfr -L/Users/gordy/Applications/sage/local/lib -lgmp
> mkdir .libs
> libtool: link: warning: library `/Users/gordy/Applications/sage/local/
> lib/libgmp.la' was moved.
> libtool: link: cannot find the library `/Users/was/build/sage-2.10/
> local/lib/libgmp.la' or unhandled argument `/Users/was/build/sage-2.10/
> local/lib/libgmp.la'
> make[2]: *** [test_mpfi] Error 1
> make[1]: *** [install-recursive] Error 1
> An error occurred while building mpfi.
>
> real    0m11.191s
> user    0m4.049s
> sys     0m5.566s
> sage: An error occurred while installing mpfi-1.3.4-cvs20071125.p5
> Please email sage-devel http://groups.google.com/group/sage-devel
> explaining the problem and send the relevant part of
> of /Users/gordy/Applications/sage/install.log.  Describe your
> computer, operating system, etc.
> If you want to try to fix the problem, yourself *don't* just cd to
> /Users/gordy/Applications/sage/spkg/build/mpfi-1.3.4-cvs20071125.p5
> and type 'make'.
> Instead type "/Users/gordy/Applications/sage/sage -sh"
> in order to set all environment variables correctly, then cd to
> /Users/gordy/Applications/sage/spkg/build/mpfi-1.3.4-cvs20071125.p5
> (When you are done debugging, you can type "exit" to leave the
> subshell.)
> make: *** [installed/mpfi-1.3.4-cvs20071125.p5] Error 1
>
> real    0m12.678s
> user    0m4.644s
> sys     0m6.331s
> ---------- cut here --------
>
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to