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

James Jong ribonucleico at gmail.com
Wed Apr 17 18:39:15 EDT 2013


I managed to compile sqlite with:

CPPFLAGS='-I/path_to_sqlite-3.7.16.2/include -I/path_to_tk8.6.0/include'

DFLAGS='-L/path_to_sqlite-3.7.16.2/lib -L/path_to_tk8.6.0/lib/'
./configure --prefix=/path_to_python-2.7.4 --enable-shared

However, _tkinter is still failing. I don't know what else to try. Any
thoughts?

Thanks,

James



On Tue, Apr 16, 2013 at 1:28 PM, James Jong <ribonucleico at gmail.com> wrote:

> Thank you Terry, I am working with:
> > cat /proc/version
> Linux version 2.6.18-274.el5xen (brewbuilder at norob.fnal.gov) (gcc version
> 4.1.2 20080704 (Red Hat 4.1.2-50)) #1 SMP Thu Jul 21
>
> > cat /etc/redhat-release
> Scientific Linux SL release 5.1 (Boron)
>
> I did not find distribution-specific tar balls for tck/tk, sqlite or dl on
> the Scientific  Linux website, but maybe I am not looking in the right
> place. Do you know how I can find which tarballs I need?
>
> James
>
>
>
>
>
>
>
>
> On Tue, Apr 16, 2013 at 12:55 PM, Terry Jan Reedy <tjreedy at udel.edu>wrote:
>
>> On 4/16/2013 10:30 AM, rosoloum wrote:
>>
>>> I do not have admin rights on my machine
>>>
>>
>> The answer to your question may depend on the OS (linux), distribution
>> (many), and version.
>>
>>
>>  What about `_tkinter` and  `dl`? How can I have them ready for the Python
>>> installer?
>>>
>>
>> Building _tkinter (a Python C-coded module) requires tcl/tk and header
>> files. Some distros have a separate python sdk kit with the headers not
>> included with tcl/tk.
>>
>>
>> --
>> http://mail.python.org/**mailman/listinfo/python-list<http://mail.python.org/mailman/listinfo/python-list>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130417/82255a65/attachment.html>


More information about the Python-list mailing list