Hi All,
I have a problem while trying to build Sage version 4.1 from source on
Centos 4.7:
> uname -a
Linux linux27.dom 2.6.9-67.0.22.ELsmp #1 SMP Wed Jul 23 17:24:12 EDT
2008 x86_64 x86_64 x86_64 GNU/Linux
> cat /etc/issue
CentOS release 4.7 (Final)
Kernel \r on an \m
CPU: Intel(R) Core(TM)2 Duo CPU     E6850  @ 3.00GHz

The building process aborts during the compilation of
ratpoints-2.1.2.p with the messages below.
If you need a bigger part of the install.log or anything please ask.
Thanks.

- - -

Successfully installed ecm-6.2.1.p0
Now cleaning up tmp files.
Making Sage/Python scripts relocatable...
Making script relocatable
Finished installing ecm-6.2.1.p0.spkg
sage-spkg ratpoints-2.1.2.p2 2>&1
You must set the SAGE_ROOT environment variable or
run this script from the SAGE_ROOT or
SAGE_ROOT/local/bin/ directory.
ratpoints-2.1.2.p2
Machine:
Linux linux27.dom 2.6.9-67.0.22.ELsmp #1 SMP Wed Jul 23 17:24:12 EDT
2008 x86_64 x86_64 x86_64 GNU/Linux
Deleting directories from past builds of previous/current versions of
ratpoints-2.1.2.p2
Extracting package /shares/h02/homes/raoulv/linux/downloads_netapp/
sage/sage-4.1/spkg/standard/ratpoints-2.1.2.p2.spkg ...
-rw-r-----  1 raoulv compil 206557 Jul 10 00:06 /shares/h02/homes/
raoulv/linux/downloads_netapp/sage/sage-4.1/spkg/standard/
ratpoints-2.1.2.p2.spkg
ratpoints-2.1.2.p2/
ratpoints-2.1.2.p2/.hg/
ratpoints-2.1.2.p2/.hg/00changelog.i
ratpoints-2.1.2.p2/.hg/dirstate
ratpoints-2.1.2.p2/.hg/requires
ratpoints-2.1.2.p2/.hg/store/
ratpoints-2.1.2.p2/.hg/store/00changelog.i
ratpoints-2.1.2.p2/.hg/store/00manifest.i
ratpoints-2.1.2.p2/.hg/store/data/
ratpoints-2.1.2.p2/.hg/store/data/.hgignore.i
ratpoints-2.1.2.p2/.hg/store/data/_s_p_k_g.txt.i
ratpoints-2.1.2.p2/.hg/store/data/spkg-install.i
ratpoints-2.1.2.p2/.hg/store/data/src/
ratpoints-2.1.2.p2/.hg/store/data/src/_makefile.i
ratpoints-2.1.2.p2/.hg/store/fncache
ratpoints-2.1.2.p2/.hg/store/undo
ratpoints-2.1.2.p2/.hg/undo.branch
ratpoints-2.1.2.p2/.hg/undo.dirstate
ratpoints-2.1.2.p2/.hgignore
ratpoints-2.1.2.p2/spkg-install
ratpoints-2.1.2.p2/SPKG.txt
ratpoints-2.1.2.p2/src/
ratpoints-2.1.2.p2/src/find_points.c
ratpoints-2.1.2.p2/src/gen_find_points_h.c
ratpoints-2.1.2.p2/src/gen_init_sieve_h.c
ratpoints-2.1.2.p2/src/gpl-2.0.txt
ratpoints-2.1.2.p2/src/init.c
ratpoints-2.1.2.p2/src/main.c
ratpoints-2.1.2.p2/src/Makefile
ratpoints-2.1.2.p2/src/primes.h
ratpoints-2.1.2.p2/src/ratpoints-doc.pdf
ratpoints-2.1.2.p2/src/ratpoints.h
ratpoints-2.1.2.p2/src/rp-private.h
ratpoints-2.1.2.p2/src/rptest.c
ratpoints-2.1.2.p2/src/sift.c
ratpoints-2.1.2.p2/src/sturm.c
ratpoints-2.1.2.p2/src/testbase
ratpoints-2.1.2.p2/src/testdata.h
Finished extraction
****************************************************
Host system
uname -a:
Linux linux27.dom 2.6.9-67.0.22.ELsmp #1 SMP Wed Jul 23 17:24:12 EDT
2008 x86_64 x86_64 x86_64 GNU/Linux
****************************************************
****************************************************
GCC Version
gcc -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --
infodir=/usr/share/info --enable-shared --enable-threads=posix --
disable-checking --with-system-zlib --enable-__cxa_atexit --disable-
libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-10)
****************************************************
make[2]: Entering directory `/shares/h02/homes/raoulv/linux/
downloads_netapp/sage/sage-4.1/spkg/build/ratpoints-2.1.2.p2/src'
gcc sift.c -c -o sift.o -I/shares/h02/homes/raoulv/linux/
downloads_netapp/sage/sage-4.1/local/include -Wall -O2 -fPIC -
DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -funroll-loops
sift.c: In function `_ratpoints_sift0':
sift.c:229: warning: implicit declaration of function
`__builtin_ia32_vec_ext_v2di'
gcc gen_init_sieve_h.c -o gen_init_sieve_h  -I/shares/h02/homes/raoulv/
linux/downloads_netapp/sage/sage-4.1/local/include -Wall -O2 -fPIC -
DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -L/shares/h02/homes/raoulv/
linux/downloads_netapp/sage/sage-4.1/local/lib -lgmp -lm
./gen_init_sieve_h > init_sieve.h
gcc init.c -c -o init.o -I/shares/h02/homes/raoulv/linux/
downloads_netapp/sage/sage-4.1/local/include -Wall -O2 -fPIC -
DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -funroll-loops -O3
gcc sturm.c -c -o sturm.o -I/shares/h02/homes/raoulv/linux/
downloads_netapp/sage/sage-4.1/local/include -Wall -O2 -fPIC -
DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE
gcc gen_find_points_h.c -o gen_find_points_h  -I/shares/h02/homes/
raoulv/linux/downloads_netapp/sage/sage-4.1/local/include -Wall -O2 -
fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -L/shares/h02/homes/
raoulv/linux/downloads_netapp/sage/sage-4.1/local/lib -lgmp -lm
./gen_find_points_h > find_points.h
gcc find_points.c -c -o find_points.o -I/shares/h02/homes/raoulv/linux/
downloads_netapp/sage/sage-4.1/local/include -Wall -O2 -fPIC -
DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE
find_points.c: In function `find_points_work':
find_points.c:1701: warning: implicit declaration of function
`__builtin_ia32_vec_ext_v2di'
ar rs libratpoints.a sift.o init.o sturm.o find_points.o
ar: creating libratpoints.a
gcc main.c -o ratpoints -I/shares/h02/homes/raoulv/linux/
downloads_netapp/sage/sage-4.1/local/include -Wall -O2 -fPIC -
DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -L/shares/h02/homes/raoulv/
linux/downloads_netapp/sage/sage-4.1/local/lib -lgmp -lm -L. -
lratpoints
./libratpoints.a(find_points.o)(.text+0x2ac8): In function
`find_points_work':
: undefined reference to `__builtin_ia32_vec_ext_v2di'
./libratpoints.a(find_points.o)(.text+0x2e24): In function
`find_points_work':
: undefined reference to `__builtin_ia32_vec_ext_v2di'
./libratpoints.a(find_points.o)(.text+0x3205): In function
`find_points_work':
: undefined reference to `__builtin_ia32_vec_ext_v2di'
./libratpoints.a(find_points.o)(.text+0x33d7): In function
`find_points_work':
: undefined reference to `__builtin_ia32_vec_ext_v2di'
./libratpoints.a(find_points.o)(.text+0x3728): In function
`find_points_work':
: undefined reference to `__builtin_ia32_vec_ext_v2di'
./libratpoints.a(sift.o)(.text+0x633): more undefined references to
`__builtin_ia32_vec_ext_v2di' follow
collect2: ld returned 1 exit status
make[2]: *** [ratpoints] Error 1
make[2]: Leaving directory `/shares/h02/homes/raoulv/linux/
downloads_netapp/sage/sage-4.1/spkg/build/ratpoints-2.1.2.p2/src'
Build failed. Trying without SSE2 instructions.
make[2]: Entering directory `/shares/h02/homes/raoulv/linux/
downloads_netapp/sage/sage-4.1/spkg/build/ratpoints-2.1.2.p2/src'
gcc main.c -o ratpoints -I/shares/h02/homes/raoulv/linux/
downloads_netapp/sage/sage-4.1/local/include -Wall -O2 -fPIC -
DRATPOINTS_MAX_BITS_IN_PRIME=7 -L/shares/h02/homes/raoulv/linux/
downloads_netapp/sage/sage-4.1/local/lib -lgmp -lm -L. -lratpoints
./libratpoints.a(find_points.o)(.text+0x2ac8): In function
`find_points_work':
: undefined reference to `__builtin_ia32_vec_ext_v2di'
./libratpoints.a(find_points.o)(.text+0x2e24): In function
`find_points_work':
: undefined reference to `__builtin_ia32_vec_ext_v2di'
./libratpoints.a(find_points.o)(.text+0x3205): In function
`find_points_work':
: undefined reference to `__builtin_ia32_vec_ext_v2di'
./libratpoints.a(find_points.o)(.text+0x33d7): In function
`find_points_work':
: undefined reference to `__builtin_ia32_vec_ext_v2di'
./libratpoints.a(find_points.o)(.text+0x3728): In function
`find_points_work':
: undefined reference to `__builtin_ia32_vec_ext_v2di'
./libratpoints.a(sift.o)(.text+0x633): more undefined references to
`__builtin_ia32_vec_ext_v2di' follow
collect2: ld returned 1 exit status
make[2]: *** [ratpoints] Error 1
make[2]: Leaving directory `/shares/h02/homes/raoulv/linux/
downloads_netapp/sage/sage-4.1/spkg/build/ratpoints-2.1.2.p2/src'
Error building ratpoints

real    0m1.708s
user    0m1.347s
sys     0m0.161s
sage: An error occurred while installing ratpoints-2.1.2.p2
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /shares/h02/homes/raoulv/linux/downloads_netapp/sage/sage-4.1/
install.log.  Describe your computer, operating system, etc.
If you want to try to fix the problem, yourself *don't* just cd to
/shares/h02/homes/raoulv/linux/downloads_netapp/sage/sage-4.1/spkg/
build/ratpoints-2.1.2.p2 and type 'make'.
Instead type "/shares/h02/homes/raoulv/linux/downloads_netapp/sage/
sage-4.1/sage -sh"
in order to set all environment variables correctly, then cd to
/shares/h02/homes/raoulv/linux/downloads_netapp/sage/sage-4.1/spkg/
build/ratpoints-2.1.2.p2
(When you are done debugging, you can type "exit" to leave the
subshell.)
make[1]: *** [installed/ratpoints-2.1.2.p2] Error 1
make[1]: Leaving directory `/shares/h02/homes/raoulv/linux/
downloads_netapp/sage/sage-4.1/spkg'

real    73m21.732s
user    44m18.923s
sys     7m45.371s
Error building Sage.
2659.390u 466.855s 1:13:22.44 71.0%     0+0k 0+0io 500pf+0w

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

Reply via email to