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


Groups > comp.lang.python > #43799

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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.010
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.06; 'binary': 0.07; 'subject:installation': 0.07; 'deploy': 0.09; 'similar,': 0.09; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'sqlite': 0.16; 'subject: \n ': 0.16; 'thoughts?': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'admin': 0.22; 'compilation': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'work.': 0.31; 'skip:- 30': 0.32; 'could': 0.34; 'subject: (': 0.35; 'received:google.com': 0.35; 'should': 0.36; 'skip:- 20': 0.37; 'two': 0.37; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'to:addr:python.org': 0.39; 'more': 0.64; 'different': 0.65; './configure': 0.84; 'try.': 0.91; '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:content-type; bh=ix5zWHO+82czWAUheT+JMziC8XPTWB4S4ZRWVwZOwmY=; b=Gt2m7HoJOFK6LQOgccudEfHSL86d2y9lEA2uw9OcXujIxohqtyeBVgmsDil4b4XNQw S7IL5+1Se8Atzze5iX+x8C8cBN3vJlw9aS9ZgCRprqKK5NsEb72Pp1uF0McXjLIgAkNO gee36+OrSps2BnJayFOFx2Cm9K5t2FpvyqnZuVhI714EQuqlal8JBP+migQWA99URNz6 drejTz+zHCo7ffD//P0kBm/Bs+nKFDRPYgalOXCXvHrXjknqKKU/YplCmqsN2vI5x7lZ HrF5VX/q/T7Dv4TvvGISRd5vq5IOschl0U6dfLzwyTA6S58mW9PJwgx2MrcYLjBMiXNT pqBA==
MIME-Version 1.0
X-Received by 10.220.88.145 with SMTP id a17mr6736991vcm.66.1366250370027; Wed, 17 Apr 2013 18:59:30 -0700 (PDT)
In-Reply-To <CAD4ivxXeif4-hXq_oRDDrJijwt41oeJB_=tBRfcAKDpQJnrweA@mail.gmail.com>
References <1366122614066-5014440.post@n6.nabble.com> <kkjvqq$18g$1@ger.gmane.org> <CAD4ivxXCe_ZZrrhT5v6Eqkoo_opx2Mx=FsU0qm6z4-ZQuXLRyQ@mail.gmail.com> <CAD4ivxXeif4-hXq_oRDDrJijwt41oeJB_=tBRfcAKDpQJnrweA@mail.gmail.com>
Date Thu, 18 Apr 2013 11:59:29 +1000
Subject Re: Preparing sqlite, dl and tkinter for Python installation (no admin rights)
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
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.750.1366250378.3114.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1366250378 news.xs4all.nl 2239 [2001:888:2000:d::a6]:41057
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:43799

Show key headers only | View raw


On Thu, Apr 18, 2013 at 8:39 AM, James Jong <ribonucleico@gmail.com> wrote:
> 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?

Can you build Python on a different system (to which you have admin
rights), then deploy the binary to the one where you don't? Then you
could do a much more standard compilation process. As long as the two
systems are broadly similar, it should work.

ChrisA

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


Thread

Re: Preparing sqlite, dl and tkinter for Python installation (no admin rights) Chris Angelico <rosuav@gmail.com> - 2013-04-18 11:59 +1000

csiph-web