water wrote:

Hi,

> I install sage using source.how to fix it ? thanks
> this is log file:

<SNIP>

>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -
> DOPERATION_random -m32 -O2 -fomit-frame-pointer -mtune=pentium3 -
> march=pentium3 -c random.c  -fPIC -DPIC -o .libs/random.o
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -
> D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo random2 | sed 's/_$//'`    -
> m32 -O2 -fomit-frame-pointer -mtune=pentium3 -march=pentium3 -c -o
> random2.lo random2.c
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -
> DOPERATION_random2 -m32 -O2 -fomit-frame-pointer -mtune=pentium3 -
> march=pentium3 -c random2.c  -fPIC -DPIC -o .libs/random2.o

This failure is truly bizarre. Other than lack of space I could not
imagine what is wrong here. The compiler neither fails internally nor
does it print an error message. What file system are you compiling on?
Are you running any fancy kernel extensions or security features?

Cheers,

Michael

> make[4]: *** [random2.lo] Error 1
> make[4]: Leaving directory `/home/huxpeng/sage-3.1.4/spkg/build/
> gmp-4.2.2.p1.fake/src/mpn'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/huxpeng/sage-3.1.4/spkg/build/
> gmp-4.2.2.p1.fake/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/huxpeng/sage-3.1.4/spkg/build/
> gmp-4.2.2.p1.fake/src'
> Error building GMP.
>
> real  0m38.324s
> user  0m18.857s
> sys   0m7.396s
> sage: An error occurred while installing gmp-4.2.2.p1.fake
> Please email sage-devel http://groups.google.com/group/sage-devel
> explaining the problem and send the relevant part of
> of /home/huxpeng/sage-3.1.4/install.log.  Describe your computer,
> operating system, etc.
> If you want to try to fix the problem, yourself *don't* just cd to
> /home/huxpeng/sage-3.1.4/spkg/build/gmp-4.2.2.p1.fake and type 'make'.
> Instead type "/home/huxpeng/sage-3.1.4/sage -sh"
> in order to set all environment variables correctly, then cd to
> /home/huxpeng/sage-3.1.4/spkg/build/gmp-4.2.2.p1.fake
> (When you are done debugging, you can type "exit" to leave the
> subshell.)
> make[1]: *** [installed/gmp-4.2.2.p1.fake] Error 1
> make[1]: Leaving directory `/home/huxpeng/sage-3.1.4/spkg'
>
> real  0m54.161s
> user  0m24.390s
> sys   0m8.445s
--~--~---------~--~----~------------~-------~--~----~
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