Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.06; 'statically': 0.07; 'subject:installation': 0.07; 'tries': 0.07; 'setup.py': 0.09; 'tcl/tk': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'jan': 0.12; 'thread': 0.14; 'cc:name:python list': 0.16; 'email addr:udel.edu>': 0.16; 'email name:<tjreedy': 0.16; 'library).': 0.16; 'presume': 0.16; 'reedy': 0.16; 'sqlite': 0.16; 'subject: \n ': 0.16; 'suite.': 0.16; 'tcl': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'tests': 0.22; 'cc:addr:python.org': 0.22; 'load': 0.23; 'certainly': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'respective': 0.29; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'libraries': 0.31; 'run': 0.32; 'url:python': 0.33; 'could': 0.34; 'subject: (': 0.35; 'something': 0.35; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'opposed': 0.36; 'url:listinfo': 0.36; "didn't": 0.36; 'shows': 0.36; 'thanks': 0.36; 'similar': 0.36; 'url:org': 0.36; 'files': 0.38; 'pm,': 0.38; 'that,': 0.38; 'received:74.125': 0.39; 'does': 0.39; 'skip:p 20': 0.39; 'url:mail': 0.40; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=XEOzUeLdyFqTRN3QNBZd7Sotb/HN/YjnQY/bO2dhA04=; b=tNIzjQat7OhEjf8fLDosPwx1noulpQECLAAoamrFEU/3SFWY793jf77DKv6YqBOclN nSPiT88WtTKgi+rmxGunq97mmd+1icL9+oIs6NrTjz5gXePthJnl71GDk7gxvwrNXywS Dzpi2L12QH8u/XQgOS4iNvUsvSm2bWSbMmI8VvpqHpSEb9UcScSqHuHvcUbh195ppKRs SnqjgPCTe9QgGaSYrTW9MDgccy+x+4A+8YAWLGqDAp3d+9kIRChk91EqBAAlOGHQjquU xvHTQ8QIOajlHEAblye8vYz+tNQsrelgVu/YnHYTTTA3mzrJg+JW2VURjMkEZ+NrR9/q RS7w== X-Received: by 10.14.89.69 with SMTP id b45mr33220091eef.10.1366312931509; Thu, 18 Apr 2013 12:22:11 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1366122614066-5014440.post@n6.nabble.com> From: James Jong Date: Thu, 18 Apr 2013 15:21:51 -0400 Subject: Re: Preparing sqlite, dl and tkinter for Python installation (no admin rights) To: Terry Jan Reedy Content-Type: multipart/alternative; boundary=001a11c1b0c0ef771104daa784e6 Cc: python list X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 82 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1366312938 news.xs4all.nl 2280 [2001:888:2000:d::a6]:45277 X-Complaints-To: abuse@xs4all.nl Path: csiph.com!usenet.pasdenom.info!news.franciliens.net!feed.ac-versailles.fr!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Xref: csiph.com comp.lang.python:43855 --001a11c1b0c0ef771104daa784e6 Content-Type: text/plain; charset=ISO-8859-1 Thanks Terry. I run the tcl tests and passed them all. There was only one tk test that I think I didn't pass. One thing I don't understand is that I thought that Python would statically link against sqlite and tcl/tk (I presume that this is the reason why you said I could build it in a similar system and copy it to the supercomputer). But this thread shows that, at least, setup.py tries to load libtk.so (a dynamic shared library). Does Python then load dynamic libraries from sqlite, tcl, tk when using the respective modules? James On Thu, Apr 18, 2013 at 3:10 PM, Terry Jan Reedy wrote: > On 4/18/2013 12:24 PM, James Jong wrote: > > After compiling, you might want to run the test suite. > > libtk8.6.so >> > > I do not know that Python/_tkinter/tkinter has been very well tested, > certainly not on all systems, with the newish tcl/tk 8.6, as opposed to > 8.5.z used for several years. There are 4 test/test_xxx files to be > concerned about: something like test_tcl, test_tkinter, test_ttkxxx. > > -- > http://mail.python.org/**mailman/listinfo/python-list > --001a11c1b0c0ef771104daa784e6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks Terry. I run the tcl tests and passed them all. The= re was only one tk test that I think I didn't =A0pass.

One thing I don't understand is that I thought that Python would sta= tically link against sqlite and tcl/tk (I presume that this is the reason w= hy you said I could build it in a similar system and copy it to the superco= mputer). But this thread shows that, at least, setup.py tries to load libtk= .so (a dynamic shared library).

Does Python then load dynamic libraries from sqlite, tc= l, tk when using the respective modules?

Jam= es


On Thu, Apr 18, 2013 at 3:10 PM, Terry Jan Reedy <tjreedy@udel.edu><= /span> wrote:
On 4/18/2013 12:24 PM, James Jong wrote:

After compiling, you might want to run the test suite.

libtk8.6.so <http://libtk8.6.so>

I do not know that Python/_tkinter/tkinter has been very well tested, certa= inly not on all systems, with the newish tcl/tk 8.6, as opposed to 8.5.z us= ed for several years. There are 4 test/test_xxx files to be concerned about= : something like test_tcl, test_tkinter, test_ttkxxx.

--
http://mail.python.org/mailman/listinfo/python-list

--001a11c1b0c0ef771104daa784e6--