Re: [Python-Dev] compiling python2.5 on linux under wine

2009-01-09 Thread Luke Kenneth Casson Leighton
On Thu, Jan 8, 2009 at 9:07 PM, "Martin v. Löwis" wrote: >> i'd just ... much rather be completely independent of proprietary >> software when it comes to building free software. > > I guess my question is then: why do you want to use Windows in the > first place? ha ha :) the same question wa

Re: [Python-Dev] compiling python2.5 on linux under wine

2009-01-08 Thread Martin v. Löwis
> i'd just ... much rather be completely independent of proprietary > software when it comes to building free software. I guess my question is then: why do you want to use Windows in the first place? Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: compiling python2.5 on linux under wine

2009-01-08 Thread lkcl
> ... nd, that means disabling setup.py or hacking it significantly > to support a win32 build, e.g. to build pyexpat, detect which modules > are left, etc. by examining the remaining vcproj files in PCbuild. ok - i started the hacking. the first bit of hacking is this, in distutils/sysconfi

Re: compiling python2.5 on linux under wine

2009-01-08 Thread lkcl
> ... nd, that means disabling setup.py or hacking it significantly > to support a win32 build, e.g. to build pyexpat, detect which modules > are left, etc. by examining the remaining vcproj files in PCbuild. > > ok - i'm done for now. > if anyone wants to play with this further, source

Re: [Python-Dev] compiling python2.5 on linux under wine

2009-01-08 Thread Luke Kenneth Casson Leighton
> next bug: distutils.sysconfig.get_config_var('srcdir') is returning None (!!) ok ... actually, that's correct. oops. sysconfig.get_config_vars() only returns these, on win32: {'EXE': '.exe', 'exec_prefix': 'Z:\\mnt\\src\\python2.5-2.5.2', 'LIBDEST': 'Z:\\mnt\\src\\python2.5-2.5.2\\Lib', 'pr

Re: [Python-Dev] compiling python2.5 on linux under wine

2009-01-08 Thread Luke Kenneth Casson Leighton
> anyway, i'm floundering around a bit and making a bit of a mess of the > code, looking for where LONG_MAX is messing up. fixed with this: PyObject * PyInt_FromSsize_t(Py_ssize_t ival) { if ((long)ival >= (long)LONG_MIN && (long)ival <= (long)LONG_MAX) { return PyInt_FromLong((l

Re: [Python-Dev] compiling python2.5 on linux under wine

2009-01-08 Thread David Cournapeau
On Thu, Jan 8, 2009 at 11:02 PM, Luke Kenneth Casson Leighton wrote: > On Thu, Jan 8, 2009 at 1:11 PM, David Cournapeau wrote: >> On Thu, Jan 8, 2009 at 9:42 PM, Simon Cross >> wrote: >>> On Sat, Jan 3, 2009 at 11:22 PM, Luke Kenneth Casson Leighton >>> wrote: secondly, i want a python25.l

Re: [Python-Dev] compiling python2.5 on linux under wine

2009-01-08 Thread Luke Kenneth Casson Leighton
On Thu, Jan 8, 2009 at 1:11 PM, David Cournapeau wrote: > On Thu, Jan 8, 2009 at 9:42 PM, Simon Cross > wrote: >> On Sat, Jan 3, 2009 at 11:22 PM, Luke Kenneth Casson Leighton >> wrote: >>> secondly, i want a python25.lib which i can use to cross-compile >>> modules for poor windows users _despi

Re: [Python-Dev] compiling python2.5 on linux under wine

2009-01-08 Thread Luke Kenneth Casson Leighton
On Thu, Jan 8, 2009 at 12:42 PM, Simon Cross wrote: > On Sat, Jan 3, 2009 at 11:22 PM, Luke Kenneth Casson Leighton > wrote: >> secondly, i want a python25.lib which i can use to cross-compile >> modules for poor windows users _despite_ sticking to my principles and >> keeping my integrity as a f

Re: [Python-Dev] compiling python2.5 on linux under wine

2009-01-08 Thread David Cournapeau
On Thu, Jan 8, 2009 at 9:42 PM, Simon Cross wrote: > On Sat, Jan 3, 2009 at 11:22 PM, Luke Kenneth Casson Leighton > wrote: >> secondly, i want a python25.lib which i can use to cross-compile >> modules for poor windows users _despite_ sticking to my principles and >> keeping my integrity as a fr

Re: [Python-Dev] compiling python2.5 on linux under wine

2009-01-08 Thread Simon Cross
On Sat, Jan 3, 2009 at 11:22 PM, Luke Kenneth Casson Leighton wrote: > secondly, i want a python25.lib which i can use to cross-compile > modules for poor windows users _despite_ sticking to my principles and > keeping my integrity as a free software developer. If this eventually leads to being a

Re: compiling python2.5 on linux under wine

2009-01-07 Thread Luke Kenneth Casson Leighton
On Sat, Jan 3, 2009 at 9:22 PM, Luke Kenneth Casson Leighton wrote: > hey, has anyone investigated compiling python2.5 using winegcc, under wine? some people might find this kind of thing amusing. it's considered in very obtuse circles to be "progress"... :) l...@gonzalez:/mnt/src/python2.5-2

compiling python2.5 on linux under wine

2009-01-03 Thread Luke Kenneth Casson Leighton
hey, has anyone investigated compiling python2.5 using winegcc, under wine? i'm presently working my way through it, just for kicks, and was wondering if anyone would like to pitch in or stare at the mess under a microscope. it's not as crazed as it sounds. cross-compiling python2.5 for win32 wit