Hi,

First of all, thanks for developing this great package. I am trying to
build the sage from source on my machine at work and it seems that
there is some problem with "gmp" installation. I'm installing it on my
home machine which is going well so far. Any feedback is welcome.

Best Regards
Amir

Here is the last part of the install.log file:

...
gmp-4.2.2/src/version.c
Finished extraction
****************************************************
Host system
uname -a:
Linux therion 2.6.24-19-generic #1 SMP Wed Jun 4 15:10:52 UTC 2008
x86_64 GNU/Linux
****************************************************
****************************************************
GCC Version
gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c+
+,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-
system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-
threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2
--program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --
enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-
linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
****************************************************
Patching gmp-h.in (fixes OSX 10.5 issues and gcc 4.3 problems)
Do we have a Core2 CPU?... No
[: 220: ==: unexpected operator
Moving .asm files that are to be replaced to .asm.disabled ...
Copying new .asm and x86_64-defs.m4 files ...
Copying new gmp-mparam.h...
Done.
You can now go to /home/amir/programs/sage-3.0.3/spkg/build/gmp-4.2.2/
src and configure/make/make_check as usual.
Fast gcd patch:
Moving files that are to be replaced to *.orig ...
Copying new files across...
Done.
checking build system type... pentium4-unknown-linux-gnu
checking host system type... pentium4-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of
Makefiles... no
checking ABI=32
checking compiler gcc -m32 -O2 -fomit-frame-pointer ... no
checking compiler gcc -O2 -fomit-frame-pointer ... yes
checking compiler gcc -O2 -fomit-frame-pointer has sizeof(long)==4...
no
configure: error: could not find a working compiler, see config.log
for details
Failed to configure.

real    0m3.091s
user    0m1.152s
sys     0m0.944s
sage: An error occurred while installing gmp-4.2.2
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /home/amir/programs/sage-3.0.3/install.log.  Describe your
computer, operating system, etc.
If you want to try to fix the problem, yourself *don't* just cd to
/home/amir/programs/sage-3.0.3/spkg/build/gmp-4.2.2 and type 'make'.
Instead type "/home/amir/programs/sage-3.0.3/sage -sh"
in order to set all environment variables correctly, then cd to
/home/amir/programs/sage-3.0.3/spkg/build/gmp-4.2.2
(When you are done debugging, you can type "exit" to leave the
subshell.)
make[1]: *** [installed/gmp-4.2.2] Error 1
make[1]: Leaving directory `/home/amir/programs/sage-3.0.3/spkg'
Command exited with non-zero status 2
6.42user 2.43system 0:09.88elapsed 89%CPU (0avgtext+0avgdata
0maxresident)k
16inputs+58720outputs (0major+570873minor)pagefaults 0swaps


[EMAIL PROTECTED]:~/programs/sage-3.0.3$ gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c+
+,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-
system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-
threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2
--program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --
enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-
linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)


[EMAIL PROTECTED]:~/programs/sage-3.0.3$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      :               Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping        : 3
cpu MHz         : 2800.000
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
lm constant_tsc pebs bts sync_rdtsc pni monitor ds_cpl est cid cx16
xtpr
bogomips        : 5986.35
clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      :               Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping        : 3
cpu MHz         : 2800.000
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
lm constant_tsc pebs bts sync_rdtsc pni monitor ds_cpl est cid cx16
xtpr
bogomips        : 5980.77
clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 48 bits virtual
power management:

[EMAIL PROTECTED]:~/programs/sage-3.0.3$


--~--~---------~--~----~------------~-------~--~----~
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