I just tried to compile from source to get a 32-bit version running on
my laptop.

I have:

$gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5646.1~2/src/configure --disable-
checking --enable-werror --prefix=/usr --mandir=/usr/share/man --
enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg]
[^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10
--with-gxx-include-dir=/usr/include/c++/4.2.1 --host=i686-apple-
darwin10 --target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)


$uname -a
Darwin macwireless.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov
3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386

Xcode 3.2.1 for Mac OS X 10.6 Snow Leopard
and a 32-bit CPU intel core duo

when I run make
I get this



 ../mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -
fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro -
D__GMP_WITHIN_GMP -I.. -DOPERATION_rshift -I. -I. -I.. rshift.asm  -
fno-common -DPIC -o .libs/rshift.o
m4  -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_rshift -DPIC
rshift.asm >tmp-rshift.s
 gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer -
mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. -
DOPERATION_rshift -I. -I. -I.. tmp-rshift.s -fno-common -DPIC -o .libs/
rshift.o
/bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4"
gcc -std=gnu99 -c -DHAVE_CONFIG_H    -m32 -O2 -fomit-frame-pointer -
mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. -
DOPERATION_`echo dive_1 | sed 's/_$//'` -I. -I. -I..  `test -f
'dive_1.asm' || echo './'`dive_1.asm
 ../mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -
fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro -
D__GMP_WITHIN_GMP -I.. -DOPERATION_dive_1 -I. -I. -I.. dive_1.asm  -
fno-common -DPIC -o .libs/dive_1.o
m4  -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_dive_1 -DPIC
dive_1.asm >tmp-dive_1.s
 gcc -std=gnu99 -c -DHAVE_CONFIG_H -m32 -O2 -fomit-frame-pointer -
mtune=pentiumpro -march=pentiumpro -D__GMP_WITHIN_GMP -I.. -
DOPERATION_dive_1 -I. -I. -I.. tmp-dive_1.s -fno-common -DPIC -o .libs/
dive_1.o
tmp-dive_1.s:108:junk `...@got' after expression
make[4]: *** [dive_1.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
Error building MPIR.

real    2m9.983s
user    0m45.948s
sys     0m30.516s
sage: An error occurred while installing mpir-1.2.2.p0
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /Users/asd1815/Downloads/sage-4.3.1/install.log.  Describe your
computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Users/asd1815/Downloads/sage-4.3.1/spkg/build/mpir-1.2.2.p0 and type
'make check' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/Users/asd1815/Downloads/sage-4.3.1/spkg/build/mpir-1.2.2.p0' &&
'/Users/asd1815/Downloads/sage-4.3.1/sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.
make[1]: *** [installed/mpir-1.2.2.p0] Error 1

real    2m16.394s
user    0m48.154s
sys     0m31.777s
Error building Sage.

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

Reply via email to