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


Groups > comp.lang.python > #43783

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

References <1366122614066-5014440.post@n6.nabble.com> <kkjvqq$18g$1@ger.gmane.org> <CAD4ivxXCe_ZZrrhT5v6Eqkoo_opx2Mx=FsU0qm6z4-ZQuXLRyQ@mail.gmail.com>
Date 2013-04-17 18:39 -0400
Subject Re: Preparing sqlite, dl and tkinter for Python installation (no admin rights)
From James Jong <ribonucleico@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.736.1366238357.3114.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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@gmail.com> wrote:

> Thank you Terry, I am working with:
> > cat /proc/version
> Linux version 2.6.18-274.el5xen (brewbuilder@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@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>
>>
>
>

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


Thread

Re: Preparing sqlite, dl and tkinter for Python installation (no admin rights) James Jong <ribonucleico@gmail.com> - 2013-04-17 18:39 -0400

csiph-web