Hi, In compiling sage on a linux debian (stable) I have a problem with "flint-1.0.13.p0".
Some lines of the install.log file are included hereafter. Thanks, Luis make[1]: Entering directory `/home/luis/Desktop/sage-3.2.1/spkg' sage-spkg flint-1.0.13.p0 2>&1 You must set the SAGE_ROOT environment variable or run this script from the SAGE_ROOT or SAGE_ROOT/local/bin/ directory. flint-1.0.13.p0 Machine: Linux urubamba 2.6.18-6-686 #1 SMP Fri Dec 12 16:48:28 UTC 2008 i686 GNU/Linux Deleting directories from past builds of previous/current versions of flint-1.0.13.p0 Extracting package /home/luis/Desktop/sage-3.2.1/spkg/standard/ flint-1.0.13.p0.spkg ... -rw-r--r-- 1 luis luis 496581 2008-11-27 07:28 /home/luis/Desktop/ sage-3.2.1/spkg/standard/flint-1.0.13.p0.spkg flint-1.0.13.p0/ flint-1.0.13.p0/.hg/ flint-1.0.13.p0/.hg/00changelog.i flint-1.0.13.p0/.hg/branch.cache flint-1.0.13.p0/.hg/dirstate flint-1.0.13.p0/.hg/requires ... ... OK ... flint-1.0.13.p0/src/ZmodF_poly-profile.c flint-1.0.13.p0/src/ZmodF_poly-test.c flint-1.0.13.p0/src/ZmodF_poly.c flint-1.0.13.p0/src/ZmodF_poly.h flint-1.0.13.p0/test_gcc_version.pl Finished extraction **************************************************** Host system uname -a: Linux urubamba 2.6.18-6-686 #1 SMP Fri Dec 12 16:48:28 UTC 2008 i686 GNU/Linux **************************************************** **************************************************** GCC Version gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ./configure --prefix=/usr/local --enable-languages=c,c ++ --with-gmp=/usr/local --with-mpfr=/usr/local Thread model: posix gcc version 4.3.2 (GCC) **************************************************** Found gcc 4 or later Deleting old FLINT make[2]: Entering directory `/home/luis/Desktop/sage-3.2.1/spkg/build/ flint-1.0.13.p0/src' gcc -std=c99 -I/home/luis/Desktop/sage-3.2.1/local/include/ -I/home/ luis/Desktop/sage-3.2.1/local/include -fPIC -funroll-loops -O3 -c mpn_extras.c -o mpn_extras.o gcc -std=c99 -I/home/luis/Desktop/sage-3.2.1/local/include/ -I/home/ luis/Desktop/sage-3.2.1/local/include -fPIC -funroll-loops -O3 -c mpz_extras.c -o mpz_extras.o gcc -std=c99 -I/home/luis/Desktop/sage-3.2.1/local/include/ -I/home/ luis/Desktop/sage-3.2.1/local/include -fPIC -funroll-loops -O3 -c memory-manager.c -o memory-manager.o gcc -std=c99 -I/home/luis/Desktop/sage-3.2.1/local/include/ -I/home/ luis/Desktop/sage-3.2.1/local/include -fPIC -funroll-loops -O3 -c ZmodF.c -o ZmodF.o gcc -std=c99 -I/home/luis/Desktop/sage-3.2.1/local/include/ -I/home/ luis/Desktop/sage-3.2.1/local/include -fPIC -funroll-loops -O3 -c ZmodF_mul.c -o ZmodF_mul.o gcc -std=c99 -I/home/luis/Desktop/sage-3.2.1/local/include/ -I/home/ luis/Desktop/sage-3.2.1/local/include -fPIC -funroll-loops -O3 -c ZmodF_mul-tuning.c -o ZmodF_mul-tuning.o gcc -std=c99 -I/home/luis/Desktop/sage-3.2.1/local/include/ -I/home/ luis/Desktop/sage-3.2.1/local/include -fPIC -funroll-loops -O3 -c fmpz.c -o fmpz.o gcc -std=c99 -I/home/luis/Desktop/sage-3.2.1/local/include/ -I/home/ luis/Desktop/sage-3.2.1/local/include -fPIC -funroll-loops -O3 -c fmpz_poly.c -o fmpz_poly.o gcc -std=c99 -I/home/luis/Desktop/sage-3.2.1/local/include/ -I/home/ luis/Desktop/sage-3.2.1/local/include -fPIC -funroll-loops -O3 -c mpz_poly-tuning.c -o mpz_poly-tuning.o gcc -std=c99 -I/home/luis/Desktop/sage-3.2.1/local/include/ -I/home/ luis/Desktop/sage-3.2.1/local/include -fPIC -funroll-loops -O3 -c mpz_poly.c -o mpz_poly.o gcc -std=c99 -I/home/luis/Desktop/sage-3.2.1/local/include/ -I/home/ luis/Desktop/sage-3.2.1/local/include -fPIC -funroll-loops -O3 -c ZmodF_poly.c -o ZmodF_poly.o gcc -std=c99 -I/home/luis/Desktop/sage-3.2.1/local/include/ -I/home/ luis/Desktop/sage-3.2.1/local/include -fPIC -funroll-loops -O3 -c long_extras.c -o long_extras.o gcc -std=c99 -I/home/luis/Desktop/sage-3.2.1/local/include/ -I/home/ luis/Desktop/sage-3.2.1/local/include -fPIC -funroll-loops -O3 -c zmod_poly.c -o zmod_poly.o g++ -I/home/luis/Desktop/sage-3.2.1/local/include/ -I/home/luis/ Desktop/sage-3.2.1/local/include -fPIC -funroll-loops -O3 -c NTL- interface.cpp -o NTL-interface.o gcc -std=c99 -fPIC -shared -Wl,-soname,lib`cat DIRNAME`.so -o lib`cat DIRNAME`.so mpn_extras.o mpz_extras.o memory-manager.o ZmodF.o ZmodF_mul.o ZmodF_mul-tuning.o fmpz.o fmpz_poly.o mpz_poly-tuning.o mpz_poly.o ZmodF_poly.o long_extras.o zmod_poly.o NTL-interface.o -L/ home/luis/Desktop/sage-3.2.1/local/lib/ -L/home/luis/Desktop/ sage-3.2.1/local/lib/ -lgmp -lpthread -lntl -lm -lstdc++ mpz_extras.o: In function `__strcspn_c1': mpz_extras.c:(.text+0x0): multiple definition of `__strcspn_c1' mpn_extras.o:mpn_extras.c:(.text+0x0): first defined here mpz_extras.o: In function `__strcspn_c2': mpz_extras.c:(.text+0x40): multiple definition of `__strcspn_c2' mpn_extras.o:mpn_extras.c:(.text+0x40): first defined here mpz_extras.o: In function `__strcspn_c3': ... ... ... memory-manager.c:(.text+0xec0): multiple definition of `strtof' mpn_extras.o:mpn_extras.c:(.text+0x3ec0): first defined here memory-manager.o: In function `strtoul': memory-manager.c:(.text+0xf00): multiple definition of `strtoul' mpn_extras.o:mpn_extras.c:(.text+0x3f00): first defined here memory-manager.o: In function `strtol': memory-manager.c:(.text+0xf40): multiple definition of `strtol' ... ... ... mpn_extras.o:mpn_extras.c:(.text+0x3f0): first defined here ZmodF_mul.o: In function `__signbitl': ZmodF_mul.c:(.text+0x30): multiple definition of `__signbitl' mpn_extras.o:mpn_extras.c:(.text+0x410): first defined here mpn_extras.o:mpn_extras.c:(.text+0x4040): first defined here ... ... ... long_extras.o: In function `__strcspn_c1': long_extras.c:(.text+0x0): multiple definition of `__strcspn_c1' mpn_extras.o:mpn_extras.c:(.text+0x0): first defined here long_extras.o: In function `__strcspn_c2': ... ... ... zmod_poly.o: In function `atof': zmod_poly.c:(.text+0x3a40): multiple definition of `atof' mpn_extras.o:mpn_extras.c:(.text+0x4040): first defined here zmod_poly.o: In function `getchar': zmod_poly.c:(.text+0x3ab0): multiple definition of `getchar' mpn_extras.o:mpn_extras.c:(.text+0x3cf0): first defined here zmod_poly.o: In function `vprintf': zmod_poly.c:(.text+0x3ae0): multiple definition of `vprintf' mpn_extras.o:mpn_extras.c:(.text+0x3d20): first defined here mpn_extras.o:mpn_extras.c:(.text+0x3d20): first defined here collect2: ld returned 1 exit status make[2]: *** [libflint.so] Error 1 make[2]: Leaving directory `/home/luis/Desktop/sage-3.2.1/spkg/build/ flint-1.0.13.p0/src' Error building flint shared library. real 0m23.223s user 0m20.685s sys 0m0.580s sage: An error occurred while installing flint-1.0.13.p0 Please email sage-devel http://groups.google.com/group/sage-devel explaining the problem and send the relevant part of of /home/luis/Desktop/sage-3.2.1/install.log. Describe your computer, operating system, etc. If you want to try to fix the problem, yourself *don't* just cd to /home/luis/Desktop/sage-3.2.1/spkg/build/flint-1.0.13.p0 and type 'make'. Instead type "/home/luis/Desktop/sage-3.2.1/sage -sh" in order to set all environment variables correctly, then cd to /home/luis/Desktop/sage-3.2.1/spkg/build/flint-1.0.13.p0 (When you are done debugging, you can type "exit" to leave the subshell.) make[1]: *** [installed/flint-1.0.13.p0] Error 1 make[1]: Leaving directory `/home/luis/Desktop/sage-3.2.1/spkg' real 0m23.802s user 0m21.065s sys 0m0.644s --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---