Re: [ptxdist] [PATCH 2/2] add some default pathes to lib_dris and inc_dirs

2011-03-18 Thread Daniel Kriesten
I'v checked this again. setup.py seems to see different CPP/LD flags the the ones in the environment - and I don't know why, yet. The attached logs show this. I removed the patch and modified Makefile.pre.in as follows diff --git a/Makefile.pre.in b/Makefile.pre.in index 99ca8be..4ecee1f

Re: [ptxdist] [PATCH 2/2] add some default pathes to lib_dris and inc_dirs

2011-03-18 Thread Daniel Kriesten
Ok, so here is the answer to my question. Actually, the options seen by setup.py (using sysconfig.get_config_var(name) and sysconfig.get_config_vars() are taken from .../platform-myplatform/sysroot-host/bin/python2.6 krid@dsm1 $ strings bin/python2.6 |grep sysroot

Re: [ptxdist] [PATCH 2/2] add some default pathes to lib_dris and inc_dirs

2011-03-13 Thread Michael Olbrich
I've looked at this again. See below. On Mon, Feb 28, 2011 at 10:14:55AM +0100, Daniel Kriesten wrote: Even if we are cross compiling we have some default paths which should be consulted for the modules to be linked against. Signed-off-by: Daniel Kriesten k...@tu-chemnitz.eu ---

[ptxdist] [PATCH 2/2] add some default pathes to lib_dris and inc_dirs

2011-02-28 Thread Daniel Kriesten
Even if we are cross compiling we have some default paths which should be consulted for the modules to be linked against. Signed-off-by: Daniel Kriesten k...@tu-chemnitz.eu --- ...e-default-pathes-to-lib_dris-and-inc_dirs.patch | 33 patches/Python-2.6.6/series

Re: [ptxdist] [PATCH 2/2] add some default pathes to lib_dris and inc_dirs

2011-02-28 Thread Michael Olbrich
Hi, this patch is broken too. Some more comments below. On Mon, Feb 28, 2011 at 10:14:55AM +0100, Daniel Kriesten wrote: Even if we are cross compiling we have some default paths which should be consulted for the modules to be linked against. Signed-off-by: Daniel Kriesten

Re: [ptxdist] [PATCH 2/2] add some default pathes to lib_dris and inc_dirs

2011-02-28 Thread Daniel Kriesten
Hi, Am 28.02.2011 um 23:38 schrieb Michael Olbrich: Hi, this patch is broken too. Some more comments below. Hmm ... On Mon, Feb 28, 2011 at 10:14:55AM +0100, Daniel Kriesten wrote: Even if we are cross compiling we have some default paths which should be consulted for the modules to

Re: [ptxdist] [PATCH 2/2] add some default pathes to lib_dris and inc_dirs

2011-02-28 Thread Michael Olbrich
Hi, On Tue, Mar 01, 2011 at 07:39:46AM +0100, Daniel Kriesten wrote: Can you give an example where this is necessary? Right now I use it to reproducible build _tkinter.so. I tried the official way modifying Setup, Setup.{dist,local} to build _tkinter.so and enable readline support on a