Whats in your sqlite and python compile log (in $SAGE_ROOT/logs/pkgs)?

Do you have another conflicting sqlite install in /usr/local, e.g. homebrew 
and friends?



On Tuesday, March 31, 2015 at 7:51:58 PM UTC+2, David Einstein wrote:
>
> When attempting to compile sage from source on my laptop it dies 
> attempting to compile conway polynomials
> I've attached the log file.
> This appears connected to ticket #15433, but AFAICT that code has been 
> merged into master.
>
>
> Found local metadata for conway_polynomials-0.4.p0
> Attempting to download package conway_polynomials-0.4.p0
> >>> Trying to download 
> http://www.sagemath.org/packages/upstream/conway_polynomials/conway_polynomials-0.4.tar.bz2
> [...........................]
> Checksum: 25b7abe5c935d20c3ebcde943308652c412d14dc vs 
> 25b7abe5c935d20c3ebcde943308652c412d14dc
> conway_polynomials-0.4.p0
> ====================================================
> Setting up build directory for conway_polynomials-0.4.p0
> Finished set up
> ****************************************************
> Host system:
> Darwin Davids-MacBook-Pro-2.local 13.4.0 Darwin Kernel Version 13.4.0: Wed 
> Dec 17 19:05:52 PST 2014; root:xnu-2422.115.10~1/RELEASE_X86_64 x86_64
> ****************************************************
> C compiler: gcc
> C compiler version:
> Using built-in specs.
> COLLECT_GCC=gcc
>
> COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/4.8.2_1/libexec/gcc/x86_64-apple-darwin13.2.0/4.8.2/lto-wrapper
> Target: x86_64-apple-darwin13.2.0
> Configured with: ../configure --build=x86_64-apple-darwin13.2.0 
> --prefix=/usr/local/Cellar/gcc/4.8.2_1 
> --enable-languages=c,c++,objc,obj-c++,fortran --with-gmp=/usr/local/opt/gmp 
> --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc 
> --with-cloog=/usr/local/opt/cloog --with-isl=/usr/local/opt/isl 
> --with-system-zlib --enable-version-specific-runtime-libs 
> --enable-libstdcxx-time=yes --enable-stage1-checking 
> --enable-checking=release --enable-lto --disable-werror --enable-plugin 
> --disable-nls --enable-multilib 
> --with-native-system-header-dir=/usr/include 
> --with-sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
> Thread model: posix
> gcc version 4.8.2 (GCC) 
> ****************************************************
> Traceback (most recent call last):
>   File "./spkg-install", line 4, in <module>
>     from sage.all import save
>   File 
> "/Users/davideinstein/projects/sage-git/local/lib/python2.7/site-packages/sage/all.py",
>  
> line 110, in <module>
>     from sage.modular.all    import *
>   File 
> "/Users/davideinstein/projects/sage-git/local/lib/python2.7/site-packages/sage/modular/all.py",
>  
> line 9, in <module>
>     from abvar.all import *
>   File 
> "/Users/davideinstein/projects/sage-git/local/lib/python2.7/site-packages/sage/modular/abvar/__init__.py",
>  
> line 1, in <module>
>     import all
>   File 
> "/Users/davideinstein/projects/sage-git/local/lib/python2.7/site-packages/sage/modular/abvar/all.py",
>  
> line 7, in <module>
>     from constructor import J0, J1, JH, AbelianVariety
>   File 
> "/Users/davideinstein/projects/sage-git/local/lib/python2.7/site-packages/sage/modular/abvar/constructor.py",
>  
> line 21, in <module>
>     from abvar_newform import ModularAbelianVariety_newform
>   File 
> "/Users/davideinstein/projects/sage-git/local/lib/python2.7/site-packages/sage/modular/abvar/abvar_newform.py",
>  
> line 18, in <module>
>     from sage.databases.cremona import cremona_letter_code
>   File 
> "/Users/davideinstein/projects/sage-git/local/lib/python2.7/site-packages/sage/databases/cremona.py",
>  
> line 54, in <module>
>     from sql_db import SQLDatabase, verify_column
>   File 
> "/Users/davideinstein/projects/sage-git/local/lib/python2.7/site-packages/sage/databases/sql_db.py",
>  
> line 80, in <module>
>     import sqlite3 as sqlite
>   File 
> "/Users/davideinstein/projects/sage-git/local/lib/python/sqlite3/__init__.py",
>  
> line 24, in <module>
>     from dbapi2 import *
>   File 
> "/Users/davideinstein/projects/sage-git/local/lib/python/sqlite3/dbapi2.py", 
> line 28, in <module>
>     from _sqlite3 import *
> ImportError: No module named _sqlite3
>
> real 0m14.950s
> user 0m1.160s
> sys 0m0.874s
> ************************************************************************
> Error installing package conway_polynomials-0.4.p0
> ************************************************************************
> Please email sage-devel (http://groups.google.com/group/sage-devel)
> explaining the problem and including the relevant part of the log file
>   
> /Users/davideinstein/projects/sage-git/logs/pkgs/conway_polynomials-0.4.p0.log
> Describe your computer, operating system, etc.
> If you want to try to fix the problem yourself, *don't* just cd to
> /Users/davideinstein/projects/sage-git/local/var/tmp/sage/build/conway_polynomials-0.4.p0
>  
> and type 'make' or whatever is appropriate.
> Instead, the following commands setup all environment variables
> correctly and load a subshell for you to debug the error:
>   (cd 
> '/Users/davideinstein/projects/sage-git/local/var/tmp/sage/build/conway_polynomials-0.4.p0'
>  
> && '/Users/davideinstein/projects/sage-git/sage' --sh)
> When you are done debugging, you can type "exit" to leave the subshell.
> ************************************************************************
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to