[Tutor] Installing python via ftp in virtual domain

2009-02-02 Thread Tim Johnson
I have a client who is hosting under virtual domain services that do not
provide python. 
He has unlimited disk space available ( or so the hoster says) and they
would allow installation of binaries in the virtual domain via ftp.

It's a linux 'box' with a /private folder under the domain root. given
that I have python 2.5 installed on my own desktop, which is also linux,
could I expect to be able to install python and all libraries via FTP?

If so, I'd welcome pointers, caveats and potentially issues. If it does
not appear workable, I have alternatives, but the client wants me to
try this initially.

Thanks
tim
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Installing python via ftp in virtual domain

2009-02-02 Thread John Fouhy
2009/2/3 Tim Johnson t...@johnsons-web.com:
 I have a client who is hosting under virtual domain services that do not
 provide python.
 He has unlimited disk space available ( or so the hoster says) and they
 would allow installation of binaries in the virtual domain via ftp.

 It's a linux 'box' with a /private folder under the domain root. given
 that I have python 2.5 installed on my own desktop, which is also linux,
 could I expect to be able to install python and all libraries via FTP?

I guess the issues you'd face are:
 - different architecture (could be 64bit?)
 - wrong libraries

It might be easier if you can build a statically-linked version of
python -- although it appears that can have issues:
http://bytes.com/groups/python/23235-build-static-python-executable-linux

Or upload the python sources and build it there (do they provide gcc?).

-- 
John.
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Installing python via ftp in virtual domain

2009-02-02 Thread Tim Johnson
On Monday 02 February 2009, John Fouhy wrote:
 2009/2/3 Tim Johnson t...@johnsons-web.com:
  I have a client who is hosting under virtual domain services that do not
  provide python.
  He has unlimited disk space available ( or so the hoster says) and they
  would allow installation of binaries in the virtual domain via ftp.
 
  It's a linux 'box' with a /private folder under the domain root. given
  that I have python 2.5 installed on my own desktop, which is also linux,
  could I expect to be able to install python and all libraries via FTP?

 I guess the issues you'd face are:
  - different architecture (could be 64bit?)
  Let's say that they are using 32-bit architecture, then
  - wrong libraries
  how do we resolve paths to libraries?
  tim - :-) who has other alternatives.
 
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Installing python via ftp in virtual domain

2009-02-02 Thread John Fouhy
2009/2/3 Tim Johnson t...@johnsons-web.com:
  - wrong libraries
  how do we resolve paths to libraries?

Well, like I suggested, you could try building a staticly-linked
version.  Then it doesn't matter.

Otherwise, I'm not sure.  Maybe you could figure out what libraries
you need, upload them, and play around with LD_LIBRARY_PATH.  This is
really a linux question, rather than a python question, though, so
this may not be the best place to ask.

(but see: http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html
 and  http://blogs.sun.com/ali/entry/avoiding_ld_library_path_the )

-- 
John.
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor