Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'interpreter': 0.04; 'compiler': 0.05; 'cpython': 0.05; 'installed.': 0.05; 'expat': 0.07; 'python': 0.09; 'filesystem': 0.09; 'libffi': 0.09; 'runtime': 0.09; 'sqlite': 0.09; 'subject:dependencies': 0.09; 'cc:addr:python-list': 0.10; 'extension': 0.13; '(the': 0.15; 'server,': 0.15; 'modules,': 0.16; 'openssl': 0.16; 'scratch': 0.16; 'sqlite3': 0.16; 'ssh,': 0.16; 'valgrind': 0.16; 'zlib': 0.16; 'headers': 0.17; 'module': 0.19; 'fairly': 0.21; 'libraries': 0.22; 'machine.': 0.22; 'message-id:@163.com': 0.22; 'received:192.168.1.100': 0.22; 'cc:2**0': 0.23; 'installed': 0.23; 'cc:no real name:2**0': 0.24; 'second': 0.24; 'linux': 0.24; 'machine': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; 'header:User-Agent:1': 0.26; 'core': 0.27; 'run': 0.28; 'built.': 0.29; 'readline': 0.29; "i'm": 0.29; 'install': 0.29; 'related': 0.30; 'minimal': 0.30; 'thanks': 0.34; 'server': 0.35; 'list': 0.35; 'needed': 0.35; 'machines': 0.35; 'there': 0.35; 'anything': 0.36; 'client': 0.36; 'too': 0.36; 'two': 0.37; 'why': 0.37; 'subject:: ': 0.38; 'mean': 0.38; 'some': 0.38; 'received:192': 0.39; 'build': 0.39; 'received:192.168': 0.40; 'think': 0.40; 'your': 0.60; 'skip:u 10': 0.60; 'first': 0.61; 'information,': 0.63; 'here': 0.65; 'else.': 0.65; 'subject:Build': 0.65; 'nfs': 0.84; 'reside': 0.91; 'silver': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Received:Message-ID:Date:From:User-Agent: MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type; bh=bWlYTmAs5sD4A5lrGQREQ3t58hxxkwWV/1IZMMUj1V0=; b=aFStb1JhQDgZL lRHA0Avr+8NsLjOL9B+7aGttMo4w/IyWCkvsC+kh4OIUd4d97wz20YW0sIT8e/q4 JYD9XeDXgmsSCyorq+5VGLaBQP2F7xktfh43d0x31cLO0Wp73W1J3TFjKSADysVH uGqWNkznsI1LRUCqw/roo5sCTNmfTE= Date: Fri, 21 Dec 2012 22:40:43 +0800 From: Chen Qi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Jack Silver Subject: Re: Build and runtime dependencies References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------070306020201070308090807" X-CM-TRANSID: C9GowAB3JDrrdNRQyK0hAw--.2838S3 X-Coremail-Antispam: 1Uf129KBjvJXoW7uF45KrW3ur4xCw1kCF4xXrb_yoW8Wr1fpF 4ag345XF1DXF1rC3s2y3yxXr1ruFs3tayUAa4DJr9rZFs8GryIgF1avayj9a47Zr4Igr4j gr4Ut34jvaykZ3DanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jOxhdUUUUU= X-CM-SenderInfo: xfkh0srtqxqiywtou0bp/xtbBUQyMcE9otVz-IwAAsz 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: 151 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1356100866 news.xs4all.nl 6881 [2001:888:2000:d::a6]:41756 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35294 This is a multi-part message in MIME format. --------------070306020201070308090807 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit ? 2012?12?21? 06:11, Jack Silver ??: > I have two Linux From Scratch machine. > > On the first one (the server), I want to build install python 3.3.0 in > a shared filesystem and access it from the second one (the client). > These machines are fairly minimal in term of the number of software > installed. I just want to install python on this filesystem and > anything else. > > I would like to know what are the build and runtime dependencies that > are needed on both machine. > > My understanding is that the core CPython interpreter only needs a C > compiler to be built. For the extension modules, I think that only the > development headers of some additional libraries are needed on the > server machine. Hence, I do not need to install all those libraries on > the client machine. Right ? I'm somewhat confused by this server-client-python thing. Do you mean that you want all python related pkgs to be installed on server and you clients only contain your own python projects? > > I would like to build as much module I can, so I have a complete > python installation. Here is the list of dependecies I think I need to > install on the server machine : > > expat > bzip2 > gdbm > openssl > libffi > zlib > tk > sqlite > valgrind > bluez > Four your information, here's a list of packages needed to build python2.7. bzip2 db gdbm openssl readline sqlite3 zlib > anything ? Is there anything I need to install on the client too ? If you can access server via ssh, why is anything needed to be installed on client? If you want your python projects to reside on your client and to run them on server, or vice versa, try an nfs mount. > > Thanks > > Jack > > --------------070306020201070308090807 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 于 2012年12月21日 06:11, Jack Silver 写道:
I have two Linux From Scratch machine.

On the first one (the server), I want to build install python 3.3.0 in a shared filesystem and access it from the second one (the client). These machines are fairly minimal in term of the number of software installed. I just want to install python on this filesystem and anything else.

I would like to know what are the build and runtime dependencies that are needed on both machine.

My understanding is that the core CPython interpreter only needs a C compiler to be built. For the extension modules, I think that only the development headers of some additional libraries are needed on the server machine. Hence, I do not need to install all those libraries on the client machine. Right ?
I'm somewhat confused by this server-client-python thing. Do you mean that you want all python related pkgs to be installed on server and you clients only contain your own python projects?


I would like to build as much module I can, so I have a complete python installation. Here is the list of dependecies I think I need to install on the server machine :

expat
bzip2
gdbm
openssl
libffi
zlib
tk
sqlite
valgrind
bluez

Four your information, here's a list of packages needed to build python2.7.
bzip2 db gdbm openssl readline sqlite3 zlib

anything ? Is there anything I need to install on the client too ?
If you can access server via ssh, why is anything needed to be installed on client?

If you want your python projects to reside on your client and to run them on server, or vice versa, try an nfs mount.

Thanks

Jack



--------------070306020201070308090807--