On Sat, Jul 5, 2008 at 7:38 AM, Shing <[EMAIL PROTECTED]> wrote:
>
> Hi,
>  When I try to complile sage 3.0.3, I have an error installing
> flint-1.06.p3. Below
> is the intallation.log. I am compiling on a PC running opensuse 11 and
> with a Athlon 1700 CPU. From the log, sage seems to think I have gcc
> 3.4.

It says in the log:
"WARNING: gcc version less than 3.4.0
GCC version less than 3.4.0
Flint will not be able to compile successfully"

You need to install a gcc version > 3.4.0.

William

>
>
> Thanks in advance for any assistance!
> Shing
>
>
>
>
> Now cleaning up tmp files.
> Making SAGE/Python scripts relocatable...
> Making script relocatable
> Finished installing extcode-3.0.3.spkg
> sage-spkg flint-1.06.p3 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.06.p3
> Machine:
> Linux hilbert 2.6.25.5-1.1-pae #1 SMP 2008-06-07 01:55:22 +0200 i686
> athlon i386 GNU/Linux
> Deleting directories from past builds of previous/current versions of
> flint-1.06.p3
> Extracting package /usr/local/lib/sage-3.0.3/spkg/standard/
> flint-1.06.p3.spkg ...
> -rw-r--r-- 1 1003 1003 404737 2008-05-28 09:17 /usr/local/lib/
> sage-3.0.3/spkg/standard/flint-1.06.p3.spkg
> flint-1.06.p3/
> flint-1.06.p3/.hgignore
> flint-1.06.p3/spkg-install
> flint-1.06.p3/SPKG.txt
> flint-1.06.p3/spkg-check
> flint-1.06.p3/dist/
> flint-1.06.p3/dist/debian/
> flint-1.06.p3/dist/debian/rules
> flint-1.06.p3/dist/debian/changelog
> flint-1.06.p3/dist/debian/patches/
> flint-1.06.p3/dist/debian/patches/flint-soname.patch
> flint-1.06.p3/dist/debian/patches/series
> flint-1.06.p3/dist/debian/control
> flint-1.06.p3/dist/debian/control.in
> flint-1.06.p3/dist/debian/compat
> flint-1.06.p3/dist/debian/libflint-dev.install
> flint-1.06.p3/dist/debian/copyright
> flint-1.06.p3/dist/debian/libflint-1.06.install
> flint-1.06.p3/.hg/
> flint-1.06.p3/.hg/requires
> flint-1.06.p3/.hg/00changelog.i
> flint-1.06.p3/.hg/branch.cache
> flint-1.06.p3/.hg/store/
> flint-1.06.p3/.hg/store/00changelog.i
> flint-1.06.p3/.hg/store/data/
> flint-1.06.p3/.hg/store/data/spkg-check.i
> flint-1.06.p3/.hg/store/data/_s_p_k_g.txt.i
> flint-1.06.p3/.hg/store/data/spkg-install.i
> flint-1.06.p3/.hg/store/data/.hgignore.i
> flint-1.06.p3/.hg/store/data/dist/
> flint-1.06.p3/.hg/store/data/dist/debian/
> flint-1.06.p3/.hg/store/data/dist/debian/libflint0.install.i
> flint-1.06.p3/.hg/store/data/dist/debian/compat.i
> flint-1.06.p3/.hg/store/data/dist/debian/control.i
> flint-1.06.p3/.hg/store/data/dist/debian/libflint-dev.install.i
> flint-1.06.p3/.hg/store/data/dist/debian/changelog.i
> flint-1.06.p3/.hg/store/data/dist/debian/rules.i
> flint-1.06.p3/.hg/store/data/dist/debian/control.in.i
> flint-1.06.p3/.hg/store/data/dist/debian/copyright.i
> flint-1.06.p3/.hg/store/data/dist/debian/libflint-1.06.install.i
> flint-1.06.p3/.hg/store/data/dist/debian/patches/
> flint-1.06.p3/.hg/store/data/dist/debian/patches/flint-soname.patch.i
> flint-1.06.p3/.hg/store/data/dist/debian/patches/series.i
> flint-1.06.p3/.hg/store/data/patches/
> flint-1.06.p3/.hg/store/data/patches/lib__makefile.i
> flint-1.06.p3/.hg/store/data/patches/makefile.i
> flint-1.06.p3/.hg/store/data/patches/_d_i_r_n_a_m_e.i
> flint-1.06.p3/.hg/store/data/patches/flint-soname.patch.i
> flint-1.06.p3/.hg/store/data/test__gcc__version.pl.i
> flint-1.06.p3/.hg/store/undo
> flint-1.06.p3/.hg/store/00manifest.i
> flint-1.06.p3/.hg/dirstate
> flint-1.06.p3/.hg/undo.dirstate
> flint-1.06.p3/test_gcc_version.pl
> flint-1.06.p3/src/
> flint-1.06.p3/src/longlong.h
> flint-1.06.p3/src/fmpz_poly-test.c
> flint-1.06.p3/src/fmpz_poly.c
> flint-1.06.p3/src/pari-profiles/
> flint-1.06.p3/src/pari-profiles/pari-profile.p
> flint-1.06.p3/src/mpz_poly-test.c
> flint-1.06.p3/src/bernoulli-profile.c
> flint-1.06.p3/src/fmpz.c
> flint-1.06.p3/src/zmod_poly-profile.c
> flint-1.06.p3/src/memory-manager.h
> flint-1.06.p3/src/test-support.c
> flint-1.06.p3/src/long_extras.h
> flint-1.06.p3/src/mpz_poly-tune.c
> flint-1.06.p3/src/zmod_poly-test.c
> flint-1.06.p3/src/delta_qexp.c
> flint-1.06.p3/src/NTL-profile.c
> flint-1.06.p3/src/memory-manager.c
> flint-1.06.p3/src/graphing/
> flint-1.06.p3/src/graphing/compare2d_config.py
> flint-1.06.p3/src/graphing/compare2d.py
> flint-1.06.p3/src/graphing/compare1d.py
> flint-1.06.p3/src/graphing/compare1d_config.py
> flint-1.06.p3/src/ZmodF_mul.h
> flint-1.06.p3/src/bernoulli_fmpz.c
> flint-1.06.p3/src/mpz_poly-profile.c
> flint-1.06.p3/src/magma-profiles/
> flint-1.06.p3/src/magma-profiles/poly-mult.m
> flint-1.06.p3/src/magma-profiles/template.m
> flint-1.06.p3/src/magma-profiles/poly-div.m
> flint-1.06.p3/src/expmod.c
> flint-1.06.p3/src/QS/
> flint-1.06.p3/src/QS/mp_factor_base.h
> flint-1.06.p3/src/QS/tinyQS.c
> flint-1.06.p3/src/QS/block_lanczos.h
> flint-1.06.p3/src/QS/factor_base.c
> flint-1.06.p3/src/QS/sieve.h
> flint-1.06.p3/src/QS/mp_lprels.c
> flint-1.06.p3/src/QS/poly.c
> flint-1.06.p3/src/QS/mpQS.h
> flint-1.06.p3/src/QS/factor_base.h
> flint-1.06.p3/src/QS/mp_poly.h
> flint-1.06.p3/src/QS/mp_factor_base.c
> flint-1.06.p3/src/QS/mp_lprels.h
> flint-1.06.p3/src/QS/mp_linear_algebra.c
> flint-1.06.p3/src/QS/poly.h
> flint-1.06.p3/src/QS/mp_sieve.h
> flint-1.06.p3/src/QS/mp_linear_algebra.h
> flint-1.06.p3/src/QS/mpQS.c
> flint-1.06.p3/src/QS/common.h
> flint-1.06.p3/src/QS/tinyQS.h
> flint-1.06.p3/src/QS/sieve.c
> flint-1.06.p3/src/QS/linear_algebra.h
> flint-1.06.p3/src/QS/linear_algebra.c
> flint-1.06.p3/src/QS/mp_sieve.c
> flint-1.06.p3/src/QS/block_lanczos.c
> flint-1.06.p3/src/QS/mp_poly.c
> flint-1.06.p3/src/F_mpn_mul-tuning.h
> flint-1.06.p3/src/make-profile-tables.py
> flint-1.06.p3/src/mpz_extras.c
> flint-1.06.p3/src/profiler.h
> flint-1.06.p3/src/mpz_extras.h
> flint-1.06.p3/src/doc/
> flint-1.06.p3/src/doc/flint-roadmap.tex
> flint-1.06.p3/src/doc/flint-1.0.6.pdf
> flint-1.06.p3/src/doc/mpz_poly.tex
> flint-1.06.p3/src/doc/flint-1.0.6.tex
> flint-1.06.p3/src/profiler-main.c
> flint-1.06.p3/src/ZmodF_poly.h
> flint-1.06.p3/src/mpn_extras-test.c
> flint-1.06.p3/src/gpl-2.0.txt
> flint-1.06.p3/src/fmpz.h
> flint-1.06.p3/src/long_extras.c
> flint-1.06.p3/src/mpz_poly-tuning.h
> flint-1.06.p3/src/flint_env
> flint-1.06.p3/src/CHANGES.txt
> flint-1.06.p3/src/ZmodF_poly-profile.c
> flint-1.06.p3/src/ZmodF.c
> flint-1.06.p3/src/ZmodF-test.c
> flint-1.06.p3/src/fmpz-test.c
> flint-1.06.p3/src/fmpz_poly.h
> flint-1.06.p3/src/BPTJCubes.c
> flint-1.06.p3/src/ZmodF_mul.c
> flint-1.06.p3/src/profiler.c
> flint-1.06.p3/src/mpz_poly-tuning.c
> flint-1.06.p3/src/bernoulli_zmod.c
> flint-1.06.p3/src/bernoulli.c
> flint-1.06.p3/src/ZmodF_poly.c
> flint-1.06.p3/src/mpz_poly.h
> flint-1.06.p3/src/longlong_wrapper.h
> flint-1.06.p3/src/zmod_poly.h
> flint-1.06.p3/src/ZmodF.h
> flint-1.06.p3/src/ZmodF_mul-tuning.h
> flint-1.06.p3/src/profiler-main.h
> flint-1.06.p3/src/flint.h
> flint-1.06.p3/src/mpn_extras.h
> flint-1.06.p3/src/test-support.h
> flint-1.06.p3/src/ZmodF_mul-tune.c
> flint-1.06.p3/src/ZmodF_mul-profile.c
> flint-1.06.p3/src/todo.txt
> flint-1.06.p3/src/mpz_poly.c
> flint-1.06.p3/src/long_extras-test.c
> flint-1.06.p3/src/makefile
> flint-1.06.p3/src/fmpz_poly-profile.c
> flint-1.06.p3/src/ZmodF_mul-tuning.c
> flint-1.06.p3/src/F_mpz_mul-timing.c
> flint-1.06.p3/src/ZmodF_mul-test.c
> flint-1.06.p3/src/kara-profile.c
> flint-1.06.p3/src/mpn_extras.c
> flint-1.06.p3/src/ZmodF_poly-test.c
> flint-1.06.p3/src/zmod_poly.c
> flint-1.06.p3/patches/
> flint-1.06.p3/patches/DIRNAME
> flint-1.06.p3/patches/flint-soname.patch
> flint-1.06.p3/patches/makefile
> Finished extraction
> ****************************************************
> Host system
> uname -a:
> Linux hilbert 2.6.25.5-1.1-pae #1 SMP 2008-06-07 01:55:22 +0200 i686
> athlon i386 GNU/Linux
> ****************************************************
> ****************************************************
> GCC Version
> gcc -v
> Using built-in specs.
> Target: i586-suse-linux
> Configured with: ../configure --prefix=/usr --with-local-prefix=/usr/
> local --infodir=/usr/share/info --mandir=/us
> r/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-
> languages=c,c++,objc,fortran,obj-c++,java,ada --enab
> le-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --
> enable-ssp --disable-libssp --with-bugurl=http:
> //bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --
> with-slibdir=/lib --with-system-zlib --ena
> ble-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-
> pch --program-suffix=-4.3 --enable-version-
> specific-runtime-libs --enable-linux-futex --without-system-libunwind
> --with-cpu=generic --build=i586-suse-linux
> Thread model: posix
> gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision
> 135036] (SUSE Linux)
> ****************************************************
> WARNING: gcc version less than 3.4.0
> GCC version less than 3.4.0
> Flint will not be able to compile successfully
>
> real    0m0.347s
> user    0m0.020s
> sys     0m0.024s
> sage: An error occurred while installing flint-1.06.p3
> Please email sage-devel http://groups.google.com/group/sage-devel
> explaining the problem and send the relevant part of
> of /usr/local/lib/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
> /usr/local/lib/sage-3.0.3/spkg/build/flint-1.06.p3 and type 'make'.
> Instead type "/usr/local/lib/sage-3.0.3/sage -sh"
> in order to set all environment variables correctly, then cd to
> /usr/local/lib/sage-3.0.3/spkg/build/flint-1.06.p3
> (When you are done debugging, you can type "exit" to leave the
> subshell.)
> make[1]: *** [installed/flint-1.06.p3] Error 1
> make[1]: Leaving directory `/usr/local/lib/sage-3.0.3/spkg'
>
> real    36m17.513s
> user    28m7.853s
> sys     3m11.360s
> hilbert:/usr/local/lib/sage # gcc -v
> Using built-in specs.
> Target: i586-suse-linux
> Configured with: ../configure --prefix=/usr --with-local-prefix=/usr/
> local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/
> lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c+
> +,java,ada --enable-checking=release --with-gxx-include-dir=/usr/
> include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://
> bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --
> with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-
> libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.3
> --enable-version-specific-runtime-libs --enable-linux-futex --without-
> system-libunwind --with-cpu=generic --build=i586-suse-linux
> Thread model: posix
> gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision
> 135036] (SUSE Linux)
> ****************************************************
> WARNING: gcc version less than 3.4.0
> GCC version less than 3.4.0
> Flint will not be able to compile successfully
>
> real    0m0.347s
> user    0m0.020s
> sys     0m0.024s
> sage: An error occurred while installing flint-1.06.p3
> Please email sage-devel http://groups.google.com/group/sage-devel
> explaining the problem and send the relevant part of
> of /usr/local/lib/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
> /usr/local/lib/sage-3.0.3/spkg/build/flint-1.06.p3 and type 'make'.
> Instead type "/usr/local/lib/sage-3.0.3/sage -sh"
> in order to set all environment variables correctly, then cd to
> /usr/local/lib/sage-3.0.3/spkg/build/flint-1.06.p3
> (When you are done debugging, you can type "exit" to leave the
> subshell.)
> make[1]: *** [installed/flint-1.06.p3] Error 1
> make[1]: Leaving directory `/usr/local/lib/sage-3.0.3/spkg'
>
> real    36m17.513s
> user    28m7.853s
> sys     3m11.360s
>
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

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