Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #43669

Preparing sqlite, dl and tkinter for Python installation (no admin rights)

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ribonucleico@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.06; 'finished,': 0.07; 'skip:` 10': 0.07; 'subject:installation': 0.07; 'bits': 0.09; 'deprecated': 0.09; 'setup.py': 0.09; 'python': 0.11; 'archive': 0.14; 'thread': 0.14; 'context:': 0.16; "module's": 0.16; 'running:': 0.16; 'subject: \n ': 0.16; 'url:gz': 0.16; 'url:sqlite': 0.16; 'url:tar': 0.16; 'fix': 0.17; 'code.': 0.18; 'trying': 0.19; 'machine': 0.22; 'admin': 0.22; 'skip:` 20': 0.24; 'versions': 0.24; 'source': 0.25; 'downloaded': 0.26; 'file:': 0.31; 'run': 0.32; 'url:python': 0.33; 'subject: (': 0.35; 'but': 0.35; 'charset:us-ascii': 0.36; 'url:org': 0.36; 'skip:- 20': 0.37; 'list': 0.37; 'audio': 0.38; 'to:addr:python- list': 0.38; 'skip:- 10': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'enough': 0.39; 'mailing': 0.39; 'how': 0.40; 'read': 0.60; 'above,': 0.60; 'finally': 0.65; 'note:': 0.66; './configure': 0.84; 'url:2013': 0.84; 'why?': 0.91
Date Tue, 16 Apr 2013 07:30:14 -0700 (PDT)
From rosoloum <ribonucleico@gmail.com>
To python-list@python.org
Subject Preparing sqlite, dl and tkinter for Python installation (no admin rights)
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.663.1366122616.3114.python-list@python.org> (permalink)
Lines 48
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1366122616 news.xs4all.nl 2637 [2001:888:2000:d::a6]:59173
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:43669

Show key headers only | View raw


I do not have admin rights on my machine and I am trying to build Python
directly from source code. After running:

    ./configure --prefix=/some/path --enable-shared

and then 

    make

I get the following:

>     Python build finished, but the necessary bits to build these modules
>     were not found:
>     
>     _tkinter           bsddb185           dl    imageop           
> sunaudiodev 
>     
>     To find the necessary bits, look in setup.py in
>     detect_modules() for the module's name.
>      
>     Failed to build these modules:
>     _sqlite3

I read that `imageop` was deprecated in recent versions of Python and that
`sunaudiodev` is for Sun audio hardware, which I don't need/have.

##sqlite3:

To fix the above, for `sqlite3` I downloaded this file:
http://www.sqlite.org/2013/sqlite-autoconf-3071602.tar.gz
and then run `./configure --prefix=/path/to/sqlite`, `make` and finally
`make install`, and added `/path/to/sqlite/lib` to `LD_LIBRARY_PATH`. 

Still this was not enough (I get the same error) Why?

##tkinter and dl:
What about `_tkinter` and  `dl`? How can I have them ready for the Python
installer?

Note: I left a copy of  this thread
<http://stackoverflow.com/questions/16026348/preparing-sqlite-dl-and-tkinter-for-python-installation-no-admin-rights> 
on StackOverflow:.



--
View this message in context: http://python.6.x6.nabble.com/Preparing-sqlite-dl-and-tkinter-for-Python-installation-no-admin-rights-tp5014440.html
Sent from the Python - python-list mailing list archive at Nabble.com.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Preparing sqlite, dl and tkinter for Python installation (no admin rights) rosoloum <ribonucleico@gmail.com> - 2013-04-16 07:30 -0700

csiph-web