[issue21950] import sqlite3 not running after configure --prefix=/alt/path; make; make install

2018-07-23 Thread Berker Peksag
Berker Peksag added the comment: Closing this for now since we couldn't reproduce the problem and haven't heard back from the OP in a while. -- resolution: -> works for me stage: -> resolved status: open -> closed type: -> behavior ___ Python

[issue21950] import sqlite3 not running after configure --prefix=/alt/path; make; make install

2014-07-18 Thread Alejandro
Alejandro added the comment: Here you have make_install.log Thanks -- Added file: http://bugs.python.org/file35989/make_install.log ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21950 ___

[issue21950] import sqlite3 not running after configure --prefix=/alt/path; make; make install

2014-07-18 Thread R. David Murray
R. David Murray added the comment: The install log shows the file being copied into place: copying build/lib.linux-x86_64-3.4/_sqlite3.cpython-34m.so - /soft/pyt341/lib/python3.4/lib-dynload This does not line up with the fact that you said the file did not exist after the install.

[issue21950] import sqlite3 not running after configure --prefix=/alt/path; make; make install

2014-07-18 Thread R. David Murray
R. David Murray added the comment: configure with a prefix followed by make/make install works fine for me, by the way (on a Gentoo system). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21950

[issue21950] import sqlite3 not running after configure --prefix=/alt/path; make; make install

2014-07-17 Thread R. David Murray
R. David Murray added the comment: If the headers are missing, you will get a complaint at the end of the make process that it couldn't build the _sqlite module. It should also have tried to import the sqlite3 module and complained if there was an error. So, pre-install, everything looked

[issue21950] import sqlite3 not running

2014-07-11 Thread David
David added the comment: Hi, I've the same problem. I've already tested (from source, Python-3.4.1.tgz) under OpenSUSE 12.3 and Debian 7.5 with the same issue. I've compiled it in standard way (./configure; make; make install) although the output (error) is the same, after import sqlite3:

[issue21950] import sqlite3 not running

2014-07-11 Thread Berker Peksag
Berker Peksag added the comment: Works for me on Ubuntu 12.04 LTS: $ sudo apt-get install sqlite3 libsqlite3-dev $ ./configure $ make -j3 $ sudo make install $ sqlite3 -version 3.7.9 2011-11-01 00:52:41 c7c6050ef060877ebe77b41d959e9df13f8c9b5e $ python3.4 -V 3.4.1 $

[issue21950] import sqlite3 not running

2014-07-11 Thread Alejandro
Alejandro added the comment: I've downloaded UBUNTU 12.04. I've compiled python3 and I got the same error. Seleccionando el paquete sqlite3 previamente no seleccionado. Desempaquetando sqlite3 (de .../sqlite3_3.7.9-2ubuntu1.1_i386.deb) ... Procesando disparadores para man-db ... Configurando

[issue21950] import sqlite3 not running

2014-07-11 Thread Ismail Donmez
Ismail Donmez added the comment: Chiming in here as a SUSE guy; Can you make sure /usr/local/lib/python3.4/lib-dynload/_sqlite3.cpython-34m.so does exist. If yes run ldd on it ldd /usr/local/lib/python3.4/lib-dynload/_sqlite3.cpython-34m.so And also give output of which python3.4 to make

[issue21950] import sqlite3 not running

2014-07-11 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21950 ___ ___ Python-bugs-list

[issue21950] import sqlite3 not running

2014-07-11 Thread Alejandro
Alejandro added the comment: we have /usr/local/lib/python3.4/lib-dynload/_sqlite3.cpython-34m.so but we didn't have it in /soft/pyt341/lib/python3.4/lib-dynload/ After copying it into /sofy/pyt341 the problem was solved!! ;) /soft/pyt341/bin/python3 -c import

[issue21950] import sqlite3 not running

2014-07-11 Thread David
David added the comment: You're absolute right that file is not in path. However, in my view this a bug, due to the fact libsqlite3-dev package must be installed before Python3.4.1 is compiled (or install it and recompile python) because there is no errors, no warnings... nothing. In any

[issue21950] import sqlite3 not running

2014-07-10 Thread Alejandro
New submission from Alejandro: We have compile python 3.4.1 in Suse Linux Enterprise Server 11 SP2 We have compiled it using --prefix as args : ./configure --prefix=/soft/pyt341 make make install We check python has been properly installed: /soft/pyt341/bin/python3 --version Python 3.4.1

[issue21950] import sqlite3 not running

2014-07-10 Thread Berker Peksag
Berker Peksag added the comment: We have compiled it using --prefix as args : Did you install sqlite3-devel? -- nosy: +berker.peksag type: crash - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21950

[issue21950] import sqlite3 not running

2014-07-10 Thread Alejandro
Alejandro added the comment: Yes. We have these packages installed: rpm -qa | grep sqlite sqlite3-3.7.6.3-1.4.4.1 libsqlite3-0-3.7.6.3-1.4.4.1 sqlite3-devel-3.7.6.3-1.4.4.1 -- ___ Python tracker rep...@bugs.python.org

[issue21950] import sqlite3 not running

2014-07-10 Thread Brett Cannon
Brett Cannon added the comment: The output from running `make` could help by pointing out either a compilation error or lack thereof to deduce that setup.py did not find the headers. -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org

[issue21950] import sqlite3 not running

2014-07-10 Thread Alejandro
Alejandro added the comment: Here you have (attached): make.log Thanks! -- Added file: http://bugs.python.org/file35920/make.log ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21950 ___