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)

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; '16,': 0.03; 'subject:Python': 0.06; 'subject:installation': 0.07; 'module)': 0.09; 'skip:/ 10': 0.09; 'tcl/tk': 0.09; 'thu': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'jan': 0.12; 'balls': 0.16; 'email addr:udel.edu&gt;': 0.16; 'email name:&lt;tjreedy': 0.16; 'reedy': 0.16; 'skip:n 90': 0.16; 'sqlite': 0.16; 'subject: \n ': 0.16; 'thoughts?': 0.16; 'files.': 0.16; 'thanks,': 0.17; 'wrote:': 0.18; 'version.': 0.19; 'machine': 0.22; '>>>': 0.22; 'admin': 0.22; 'email addr:gmail.com&gt;': 0.22; 'separate': 0.22; 'cc:addr:python.org': 0.22; 'headers': 0.24; 'header': 0.24; 'question': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; '&gt;': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'included': 0.31; 'skip:- 30': 0.32; 'linux': 0.33; 'url:python': 0.33; 'maybe': 0.34; 'skip:d 20': 0.34; 'subject: (': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'building': 0.35; 'version': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'skip:- 20': 0.37; 'thank': 0.38; 'hat': 0.38; 'skip:- 10': 0.38; 'pm,': 0.38; 'received:74.125': 0.39; 'release': 0.40; 'url:mail': 0.40; 'how': 0.40; 'jul': 0.74; '../configure': 0.84; './configure': 0.84; 'try.': 0.91; 'kit': 0.97; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=Ah9jKy9Oa20qX1AuDwg/3AaTc7fPeBYqvGaOvWnYJd0=; b=jM0QR1TFiVRkuSxf08eFR5uZAcLchfwXMVMvpZ020jwcMev0A4ZRkiJK7WQ6BXUUeR cFNbCj07HIgatTthiCjvponqyFcbdGz9FDlsOIWHna2XeREJ+JKT4DOB9l9HQuwM7dXf DlaQUTu00mGw8WHAen03Hte13e2nHry94Av7m2LsRPIbNTQquE76aofduOO1uw0z4yr0 yvZMjla40Cy9VMbEDiyyXtwjd6OBZ7K0HqsP7GI1VMpXzHsLWVrO18p+/wHbDt8Rv6/D p0+cK3QoGtlHZmTQxER+pr+bvQrVvuQgK17gzNjyrLjXDjVYyeAbrRXDoihppaELzQYK 7EsA==
MIME-Version 1.0
X-Received by 10.15.76.132 with SMTP id n4mr22879631eey.16.1366238355689; Wed, 17 Apr 2013 15:39:15 -0700 (PDT)
In-Reply-To <CAD4ivxXCe_ZZrrhT5v6Eqkoo_opx2Mx=FsU0qm6z4-ZQuXLRyQ@mail.gmail.com>
References <1366122614066-5014440.post@n6.nabble.com> <kkjvqq$18g$1@ger.gmane.org> <CAD4ivxXCe_ZZrrhT5v6Eqkoo_opx2Mx=FsU0qm6z4-ZQuXLRyQ@mail.gmail.com>
Date Wed, 17 Apr 2013 18:39:15 -0400
Subject Re: Preparing sqlite, dl and tkinter for Python installation (no admin rights)
From James Jong <ribonucleico@gmail.com>
To Terry Jan Reedy <tjreedy@udel.edu>
Content-Type multipart/alternative; boundary=001a11c37f3cdeb81f04da962736
Cc python-list@python.org
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.736.1366238357.3114.python-list@python.org> (permalink)
Lines 188
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1366238357 news.xs4all.nl 2257 [2001:888:2000:d::a6]:59906
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:43783

Show key headers only | 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