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: 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>': 0.16; 'email name:<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>': 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; '>': 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: References: <1366122614066-5014440.post@n6.nabble.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 To: Terry Jan Reedy 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 --001a11c37f3cdeb81f04da962736 Content-Type: text/plain; charset=ISO-8859-1 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 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 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 >> > > --001a11c37f3cdeb81f04da962736 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I managed to compile sqlite with:

CPPFLAGS=3D'-I/path_to_sqlite-3.7.16.2/include -I/pa=
th_to_tk8.6.0/include'=20

DFLAGS=3D=
'-L/path_to_sqlite-3.7.16.2/lib -L/path_to_tk8.6.0/lib/'=20

./configure --prefix=3D/path_to_python-2.7.4 --<=
span class=3D"" style=3D"margin:0px;padding:0px;border:0px;font-size:14px;v=
ertical-align:baseline;background-color:transparent">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@gm= ail.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-specif= ic tar balls for tck/tk, sqlite or dl on the Scientific=A0 Linux website, b= ut maybe I am not looking in the right place. Do you know how I can find wh= ich tarballs I need?

James






<= br>
On Tue, Apr 16, 2013 at 12:55 PM, Terry J= an Reedy <tjreedy@udel.edu> wrote:
On 4/16/2013 10:30 AM, rosoloum wrote:<= br>
I do not have admin rights on my machine

The answer to your question may depend on the OS (linux), distribution (man= y), and version.


What about `_tkinter` and =A0`dl`? How can I have them ready for the Python=
installer?

Building _tkinter (a Python C-coded module) requires tcl/tk and header file= s. Some distros have a separate python sdk kit with the headers not include= d with tcl/tk.


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


--001a11c37f3cdeb81f04da962736--