2009/7/15 Dr. David Kirkby <david.kir...@onetel.net>:
>
> Anyone got any idea what this error is?

You posted about this on July 6 on sage-devel and I answered on July 8
on sage-devel with how to do deal with this.


> I get the same error on 't2' (Sun T5240 16 core machine) as I do on my
> own Sun Blade 2000.
>
> It's also strange it can't find my user name:
>
> 'No username found, using 'drkir...@kestrel.drkirkby.co.uk' instead

Are you talking about mercurial?  If so, you need to create a $HOME/.hgrc file.

>
> Anyway, has anytong got any thoughts on this?
>
> BTW, since it is getting to the 'modified sage library code', is that
> anywhere near complete?
>
> Dave
>
> sage-4.1/.hg/hgrc
> sage-4.1/.hg/requires
> sage-4.1/.hg/dirstate
> sage-4.1/.hg/undo.dirstate
> sage-4.1/.hg/undo.branch
> sage-4.1/.hg/branch.cache
> sage-4.1/.hg/00changelog.i
> sage-4.1/export
> sage-4.1/spkg-delauto
> sage-4.1/install
> sage-4.1/README.txt
> sage-4.1/spkg-dist
> sage-4.1/PKG-INFO
> sage-4.1/MANIFEST.in
> Finished extraction
> ****************************************************
> Host system
> uname -a:
> SunOS kestrel 5.10 Generic_139555-08 sun4u sparc SUNW,Sun-Blade-1000
> ****************************************************
> ****************************************************
> GCC Version
> gcc -v
> Using built-in specs.
> Target: sparc-sun-solaris2.10
> Configured with: ../gcc-4.4.0/configure CC=/usr/sfw/bin/gcc
> --prefix=/export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld
> --with-as=/usr/ccs/bin/as --without-gnu-as --with-ld=/usr/ccs/bin/ld
> --without-gnu-ld --enable-languages=c,c++,fortran
> --with-mpfr-include=/export/home/drkirkby/install-mpfr-2.3.1/include
> --with-mpfr-lib=/export/home/drkirkby/install-mpfr-2.3.1/lib
> --with-gmp-include=/export/home/drkirkby/install-gmp-4.3.1/include
> --with-gmp-lib=/export/home/drkirkby/install-gmp-4.3.1/lib
> --with-libiconv-prefix=/usr/local
> Thread model: posix
> gcc version 4.4.0 (GCC)
> ****************************************************
> gcc -o src/convert.pic.o -c -fPIC
> -I/export/home/drkirkby/sage/sage-4.1/local/include
> -I/export/home/drkirkby/sage/sage-4.1/local/include/python2.6
> -I/export/home/drkirkby/sage/sage-4.1/local/include/NTL -Iinclude
> src/convert.c
> gcc -o src/interrupt.pic.o -c -fPIC
> -I/export/home/drkirkby/sage/sage-4.1/local/include
> -I/export/home/drkirkby/sage/sage-4.1/local/include/python2.6
> -I/export/home/drkirkby/sage/sage-4.1/local/include/NTL -Iinclude
> src/interrupt.c
> gcc -o src/mpn_pylong.pic.o -c -fPIC
> -I/export/home/drkirkby/sage/sage-4.1/local/include
> -I/export/home/drkirkby/sage/sage-4.1/local/include/python2.6
> -I/export/home/drkirkby/sage/sage-4.1/local/include/NTL -Iinclude
> src/mpn_pylong.c
> gcc -o src/mpz_pylong.pic.o -c -fPIC
> -I/export/home/drkirkby/sage/sage-4.1/local/include
> -I/export/home/drkirkby/sage/sage-4.1/local/include/python2.6
> -I/export/home/drkirkby/sage/sage-4.1/local/include/NTL -Iinclude
> src/mpz_pylong.c
> gcc -o src/mpz_longlong.pic.o -c -fPIC
> -I/export/home/drkirkby/sage/sage-4.1/local/include
> -I/export/home/drkirkby/sage/sage-4.1/local/include/python2.6
> -I/export/home/drkirkby/sage/sage-4.1/local/include/NTL -Iinclude
> src/mpz_longlong.c
> gcc -o src/stdsage.pic.o -c -fPIC
> -I/export/home/drkirkby/sage/sage-4.1/local/include
> -I/export/home/drkirkby/sage/sage-4.1/local/include/python2.6
> -I/export/home/drkirkby/sage/sage-4.1/local/include/NTL -Iinclude
> src/stdsage.c
> gcc -o src/gmp_globals.pic.o -c -fPIC
> -I/export/home/drkirkby/sage/sage-4.1/local/include
> -I/export/home/drkirkby/sage/sage-4.1/local/include/python2.6
> -I/export/home/drkirkby/sage/sage-4.1/local/include/NTL -Iinclude
> src/gmp_globals.c
> g++ -o src/ZZ_pylong.pic.o -c -fPIC
> -I/export/home/drkirkby/sage/sage-4.1/local/include
> -I/export/home/drkirkby/sage/sage-4.1/local/include/python2.6
> -I/export/home/drkirkby/sage/sage-4.1/local/include/NTL -Iinclude
> src/ZZ_pylong.cpp
> g++ -o src/ntl_wrap.pic.o -c -fPIC
> -I/export/home/drkirkby/sage/sage-4.1/local/include
> -I/export/home/drkirkby/sage/sage-4.1/local/include/python2.6
> -I/export/home/drkirkby/sage/sage-4.1/local/include/NTL -Iinclude
> src/ntl_wrap.cpp
> In file included from
> /export/home/drkirkby/sage/sage-4.1/local/include/python2.6/Python.h:8,
>                  from include/ntl_wrap.h:32,
>                  from src/ntl_wrap.cpp:5:
> /export/home/drkirkby/sage/sage-4.1/local/include/python2.6/pyconfig.h:1004:1:
> warning: "_FILE_OFFSET_BITS" redefined
> In file included from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/include-fixed/wchar.h:20,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/cwchar:47,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/bits/postypes.h:42,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/iosfwd:42,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/ios:39,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/ostream:40,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/iostream:40,
>                  from src/ntl_wrap.cpp:1:
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/include-fixed/sys/feature_tests.h:197:1:
> warning: this is the location of the previous definition
> In file included from
> /export/home/drkirkby/sage/sage-4.1/local/include/python2.6/Python.h:8,
>                  from include/ntl_wrap.h:32,
>                  from src/ntl_wrap.cpp:5:
> /export/home/drkirkby/sage/sage-4.1/local/include/python2.6/pyconfig.h:1019:1:
> warning: "_POSIX_C_SOURCE" redefined
> In file included from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/include-fixed/wchar.h:20,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/cwchar:47,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/bits/postypes.h:42,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/iosfwd:42,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/ios:39,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/ostream:40,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/iostream:40,
>                  from src/ntl_wrap.cpp:1:
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/include-fixed/sys/feature_tests.h:275:1:
> warning: this is the location of the previous definition
> g++ -G -o libcsage.so src/convert.pic.o src/interrupt.pic.o
> src/mpn_pylong.pic.o src/mpz_pylong.pic.o src/mpz_longlong.pic.o
> src/stdsage.pic.o src/gmp_globals.pic.o src/ZZ_pylong.pic.o
> src/ntl_wrap.pic.o -L/export/home/drkirkby/sage/sage-4.1/local/lib -lntl
> -lgmp -lpari
> pulling from /export/home/drkirkby/sage/sage-4.1/spkg/build/sage-4.1
> searching for changes
> no changes found
> abort: can't merge with ancestor
> No username found, using 'drkir...@kestrel.drkirkby.co.uk' instead
> nothing changed
> 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
> Deleting the scons target.
> Removed src/convert.pic.o
> Removed src/interrupt.pic.o
> Removed src/mpn_pylong.pic.o
> Removed src/mpz_pylong.pic.o
> Removed src/mpz_longlong.pic.o
> Removed src/stdsage.pic.o
> Removed src/gmp_globals.pic.o
> Removed src/ZZ_pylong.pic.o
> Removed src/ntl_wrap.pic.o
> Removed libcsage.so
> scons: Reading SConscript files ...
> scons: done reading SConscript files.
> scons: Cleaning targets ...
> scons: done cleaning targets.
>
> ----------------------------------------------------------
> sage: Building and installing modified Sage library files.
>
>
> Installing c_lib
> gcc -o src/convert.pic.o -c -fPIC
> -I/export/home/drkirkby/sage/sage-4.1/local/include
> -I/export/home/drkirkby/sage/sage-4.1/local/include/python2.6
> -I/export/home/drkirkby/sage/sage-4.1/local/include/NTL -Iinclude
> src/convert.c
> gcc -o src/interrupt.pic.o -c -fPIC
> -I/export/home/drkirkby/sage/sage-4.1/local/include
> -I/export/home/drkirkby/sage/sage-4.1/local/include/python2.6
> -I/export/home/drkirkby/sage/sage-4.1/local/include/NTL -Iinclude
> src/interrupt.c
> gcc -o src/mpn_pylong.pic.o -c -fPIC
> -I/export/home/drkirkby/sage/sage-4.1/local/include
> -I/export/home/drkirkby/sage/sage-4.1/local/include/python2.6
> -I/export/home/drkirkby/sage/sage-4.1/local/include/NTL -Iinclude
> src/mpn_pylong.c
> gcc -o src/mpz_pylong.pic.o -c -fPIC
> -I/export/home/drkirkby/sage/sage-4.1/local/include
> -I/export/home/drkirkby/sage/sage-4.1/local/include/python2.6
> -I/export/home/drkirkby/sage/sage-4.1/local/include/NTL -Iinclude
> src/mpz_pylong.c
> gcc -o src/mpz_longlong.pic.o -c -fPIC
> -I/export/home/drkirkby/sage/sage-4.1/local/include
> -I/export/home/drkirkby/sage/sage-4.1/local/include/python2.6
> -I/export/home/drkirkby/sage/sage-4.1/local/include/NTL -Iinclude
> src/mpz_longlong.c
> gcc -o src/stdsage.pic.o -c -fPIC
> -I/export/home/drkirkby/sage/sage-4.1/local/include
> -I/export/home/drkirkby/sage/sage-4.1/local/include/python2.6
> -I/export/home/drkirkby/sage/sage-4.1/local/include/NTL -Iinclude
> src/stdsage.c
> gcc -o src/gmp_globals.pic.o -c -fPIC
> -I/export/home/drkirkby/sage/sage-4.1/local/include
> -I/export/home/drkirkby/sage/sage-4.1/local/include/python2.6
> -I/export/home/drkirkby/sage/sage-4.1/local/include/NTL -Iinclude
> src/gmp_globals.c
> g++ -o src/ZZ_pylong.pic.o -c -fPIC
> -I/export/home/drkirkby/sage/sage-4.1/local/include
> -I/export/home/drkirkby/sage/sage-4.1/local/include/python2.6
> -I/export/home/drkirkby/sage/sage-4.1/local/include/NTL -Iinclude
> src/ZZ_pylong.cpp
> g++ -o src/ntl_wrap.pic.o -c -fPIC
> -I/export/home/drkirkby/sage/sage-4.1/local/include
> -I/export/home/drkirkby/sage/sage-4.1/local/include/python2.6
> -I/export/home/drkirkby/sage/sage-4.1/local/include/NTL -Iinclude
> src/ntl_wrap.cpp
> In file included from
> /export/home/drkirkby/sage/sage-4.1/local/include/python2.6/Python.h:8,
>                  from include/ntl_wrap.h:32,
>                  from src/ntl_wrap.cpp:5:
> /export/home/drkirkby/sage/sage-4.1/local/include/python2.6/pyconfig.h:1004:1:
> warning: "_FILE_OFFSET_BITS" redefined
> In file included from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/include-fixed/wchar.h:20,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/cwchar:47,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/bits/postypes.h:42,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/iosfwd:42,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/ios:39,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/ostream:40,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/iostream:40,
>                  from src/ntl_wrap.cpp:1:
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/include-fixed/sys/feature_tests.h:197:1:
> warning: this is the location of the previous definition
> In file included from
> /export/home/drkirkby/sage/sage-4.1/local/include/python2.6/Python.h:8,
>                  from include/ntl_wrap.h:32,
>                  from src/ntl_wrap.cpp:5:
> /export/home/drkirkby/sage/sage-4.1/local/include/python2.6/pyconfig.h:1019:1:
> warning: "_POSIX_C_SOURCE" redefined
> In file included from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/include-fixed/wchar.h:20,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/cwchar:47,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/bits/postypes.h:42,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/iosfwd:42,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/ios:39,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/ostream:40,
>                  from
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../../include/c++/4.4.0/iostream:40,
>                  from src/ntl_wrap.cpp:1:
> /export/home/drkirkby/install-gcc-4.4.0-Sun-as-ld/lib/gcc/sparc-sun-solaris2.10/4.4.0/include-fixed/sys/feature_tests.h:275:1:
> warning: this is the location of the previous definition
> g++ -G -o libcsage.so src/convert.pic.o src/interrupt.pic.o
> src/mpn_pylong.pic.o src/mpz_pylong.pic.o src/mpz_longlong.pic.o
> src/stdsage.pic.o src/gmp_globals.pic.o src/ZZ_pylong.pic.o
> src/ntl_wrap.pic.o -L/export/home/drkirkby/sage/sage-4.1/local/lib -lntl
> -lgmp -lpari
> No username found, using 'drkir...@kestrel.drkirkby.co.uk' instead
> warning:
> /export/home/drkirkby/sage/sage-4.1/devel/sage-main/sage/symbolic/../libs/ginac/decl.pxi:113:33:
> Function signature does not match previous declaration
> warning:
> /export/home/drkirkby/sage/sage-4.1/devel/sage-main/sage/symbolic/../libs/ginac/decl.pxi:114:29:
> Function signature does not match previous declaration
> warning:
> /export/home/drkirkby/sage/sage-4.1/devel/sage-main/sage/symbolic/../libs/ginac/decl.pxi:115:18:
> Function signature does not match previous declaration
> warning:
> /export/home/drkirkby/sage/sage-4.1/devel/sage-main/sage/symbolic/../libs/ginac/decl.pxi:342:60:
> Function signature does not match previous declaration
> Updating Cython code....
> Building modified file sage/symbolic/constants_c.pyx.
> python `which cython` --embed-positions --incref-local-binop
> -I/export/home/drkirkby/sage/sage-4.1/devel/sage-main -o
> sage/symbolic/constants_c.cpp sage/symbolic/constants_c.pyx
> sage/symbolic/constants_c.pyx -->
> /export/home/drkirkby/sage/sage-4.1/local//lib/python/site-packages//sage/symbolic/constants_c.pyx
> Time to execute 1 commands: 2.56958293915 seconds
> Finished compiling Cython code (time = 4.12907505035 seconds)
> running install
> running build
> running build_py
> copying sage/symbolic/constants.py ->
> build/lib.solaris-2.10-sun4u-2.6/sage/symbolic
> running build_ext
> building 'sage.ext.fast_callable' extension
> creating build/temp.solaris-2.10-sun4u-2.6/sage/ext
> gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
> -Wstrict-prototypes -fPIC
> -I/export/home/drkirkby/sage/sage-4.1/local//include
> -I/export/home/drkirkby/sage/sage-4.1/local//include/csage
> -I/export/home/drkirkby/sage/sage-4.1/devel//sage/sage/ext
> -I/export/home/drkirkby/sage/sage-4.1/local/include/python2.6 -c
> sage/ext/fast_callable.c -o
> build/temp.solaris-2.10-sun4u-2.6/sage/ext/fast_callable.o -w
> In file included from sage/ext/fast_callable.c:141:
> /export/home/drkirkby/sage/sage-4.1/local//include/pari/paripriv.h:258:
> error: expected ';', ',' or ')' before numeric constant
> /export/home/drkirkby/sage/sage-4.1/local//include/pari/paripriv.h:259:
> error: expected ';', ',' or ')' before numeric constant
> In file included from sage/ext/fast_callable.c:141:
> /export/home/drkirkby/sage/sage-4.1/local//include/pari/paripriv.h:428:
> error: expected identifier before numeric constant
> error: command 'gcc' failed with exit status 1
> sage: There was an error installing modified sage library code.
>
>
> real    0m20.396s
> user    0m16.369s
> sys     0m3.463s
> Error building new version of SAGE.
> You might try typing 'sage -ba' or write to sage-support with as much
> information as possible.
>
> real    0m44.635s
> user    0m34.581s
> sys     0m8.624s
> sage: An error occurred while installing sage-4.1
> Please email sage-devel http://groups.google.com/group/sage-devel
> explaining the problem and send the relevant part of
> of /export/home/drkirkby/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
> /export/home/drkirkby/sage/sage-4.1/spkg/build/sage-4.1 and type 'make'.
> Instead type "/export/home/drkirkby/sage/sage-4.1/sage -sh"
>
> >
>



-- 
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 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to