Dear sage-developers,
I'm trying to compile sage on Scientific Linux 5.5. The system has gcc
4.6.0 installed, which prompts Sage to install its own spkg of the compiler
because of some bugs. Unfortunately, this doesn't work. From the build log,
I gather that there is a conflict because both a system copy and a sage
copy of the library libgmp are linked (see the snippet below).
Has anyone seen this before? Is there a workaround?
Thanks and best regards,
Timo Kluck
--
gcc -O0 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -W
missing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-vari
adic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat
-fno-com
mon -DHAVE_CONFIG_H -o cc1 c-lang.o c-family/stub-objc.o attribs.o
c-errors.o
c-decl.o c-typeck.o c-convert.o c-aux-info.o c-objc-common.o c-parser.o
tree-mud
flap.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o
c-family/c-
format.o c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o
c-family/c-opts
.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o
c-family/c-pretty-
print.o c-family/c-semantics.o c-family/c-ada-spec.o i386-c.o \
cc1-checksum.o main.o tree-browser.o libbackend.a
../libcpp/libcpp.a .
./libdecnumber/libdecnumber.a ../libcpp/libcpp.a ../libiberty/libiberty.a
../l
ibdecnumber/libdecnumber.a -lppl_c -lppl -lpwl -lgmpxx
-L/tmp/sage-5.3/local/l
ib -L/tmp/sage-5.3/local/lib -L/tmp/sage-5.3/local/lib -lmpc -lmpfr -lgmp
-rdyna
mic -ldl -lz
/usr/bin/ld: warning: libgmp.so.3, needed by /usr/local/lib/libppl_c.so,
may con
flict with libgmp.so.7
/usr/lib/../lib64/libgmpxx.so: undefined reference to `__gmp_doprnt_mpf'
collect2: ld gaf exit-status 1 terug
make[5]: *** [lto1] Fout 1
---
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/sage-devel?hl=en.