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

2013-04-22 Thread Serhiy Storchaka
On 21.04.13 23:31, James Jong wrote: I see, just to be clear, do you mean that Python 2.7.4 (stable) is incompatible with Tk 8.6 (stable)? Yes. -- http://mail.python.org/mailman/listinfo/python-list

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

2013-04-21 Thread James Jong
I see, just to be clear, do you mean that Python 2.7.4 (stable) is incompatible with Tk 8.6 (stable)? James On Fri, Apr 19, 2013 at 12:27 PM, Serhiy Storchaka wrote: > 18.04.13 19:24, James Jong написав(ла): > >> The file libtk8.6.so has 1.5M and is definitely >> there. >>

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

2013-04-19 Thread Serhiy Storchaka
18.04.13 19:24, James Jong написав(ла): The file libtk8.6.so has 1.5M and is definitely there. So why did that compilation fail? LD_LIBRARY_PATH=/path_to_libtk However be careful. For now Python doesn't support Tk 8.6 (results of some functions changed in 8.6), this is

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

2013-04-18 Thread Chris Angelico
On Fri, Apr 19, 2013 at 6:34 AM, Terry Reedy wrote: > On 4/18/2013 3:21 PM, James Jong wrote: >> >> 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

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

2013-04-18 Thread Terry Reedy
On 4/18/2013 3:21 PM, James Jong wrote: 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

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

2013-04-18 Thread James Jong
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 sy

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

2013-04-18 Thread Terry Jan Reedy
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 sever

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

2013-04-18 Thread James Jong
All I finally solved the problem. The problem was that setup.py tests loading the dynamic library libtk (this I don't understand, since I though Python would statically link against TCL, TK and SQLITE. Either way, I have updated the thread at StackOverflow with the answer: http://stackoverflow.co

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

2013-04-18 Thread James Jong
Thanks Jason. I have pinpointed the location of the error to a very specific gcc line. I am reproducing the error below (very easy to read): I run: == export CPPFLAGS='-I/opt/sqlite-3.7.16.2/include -I/opt/tk8.6.0/include -I/opt/tcl

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

2013-04-18 Thread Jason Swails
On Thu, Apr 18, 2013 at 10:37 AM, James Jong wrote: > Thanks so much Chris. This is part of a super computer and I am afraid I > don't have access to a machine with sudo permissions and similar > architecture & OS. > > Is there any way to active higher level of verbosity during the build > proces

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

2013-04-18 Thread Chris Angelico
On Fri, Apr 19, 2013 at 12:37 AM, James Jong wrote: > Thanks so much Chris. This is part of a super computer and I am afraid I > don't have access to a machine with sudo permissions and similar > architecture & OS. Do you know what the OS is, at least? Can you, for instance, create a virtual mach

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

2013-04-18 Thread James Jong
Thanks so much Chris. This is part of a super computer and I am afraid I don't have access to a machine with sudo permissions and similar architecture & OS. Is there any way to active higher level of verbosity during the build process to identify what is failing? Or anything specifically I should

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

2013-04-17 Thread Chris Angelico
On Thu, Apr 18, 2013 at 8:39 AM, James Jong 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 > >

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

2013-04-17 Thread James Jong
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.

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

2013-04-16 Thread James Jong
Thank you Terry, I am working with: > cat /proc/version Linux version 2.6.18-274.el5xen (brewbuil...@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 f

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

2013-04-16 Thread Terry Jan Reedy
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-co

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

2013-04-16 Thread rosoloum
Note: I left a copy of this thread <http://stackoverflow.com/questions/16026348/preparing-sqlite-dl-and-tkinter-for-python-installation-no-admin-rights> on StackOverflow:. -- View this message in context: http://python.6.x6.nabble.com/Preparing-sqlite-dl-and-tkinter-for-Python-installation-no-admin-ri