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)

Date 2013-04-16 07:30 -0700
From rosoloum <ribonucleico@gmail.com>
Subject Preparing sqlite, dl and tkinter for Python installation (no admin rights)
Newsgroups comp.lang.python
Message-ID <mailman.663.1366122616.3114.python-list@python.org> (permalink)

Show all headers | 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