Re: Compiling python on windows with vs

2023-06-15 Thread Eryk Sun via Python-list
On 6/15/23, Thomas Schweikle via Python-list wrote: > > No. This flag is not inherited. Someone has to set it for created > directories. It is easy to confirm: take a directory not under MSYS or > cygwin control (because it is mounted by MSYS or cygwin), set the flag, > then create directories. Th

Re: Compiling python on windows with vs

2023-06-15 Thread Thomas Schweikle via Python-list
Am Do., 15.Juni.2023 um 16:28:21 schrieb Eryk Sun: On 6/15/23, Thomas Schweikle via Python-list wrote: In this case: not sure what is going on. Possibly you have a setting configured that affects the behavior of Git via the MinGW-w64 runtime, such that calling mkdir() ends up calling NtSet

Re: Compiling python on windows with vs

2023-06-15 Thread Thomas Schweikle via Python-list
Am Do., 15.Juni.2023 um 15:44:42 schrieb Inada Naoki: Then, git doesn't enable Windows NTFS case sensitivity. You enabled NTFS case sensitivity on "C:\Users\user\K". And Windows enabled case sensitivity for all new directories under the directory. No. This flag is not inherited. Someone has t

Re: Compiling python on windows with vs

2023-06-15 Thread Eryk Sun via Python-list
On 6/15/23, Thomas Schweikle via Python-list wrote: > > In this case: not sure what is going on. Possibly you have a setting configured that affects the behavior of Git via the MinGW-w64 runtime, such that calling mkdir() ends up calling NtSetInformationFile() to set the FileCaseSensitiveInformat

Re: Compiling python on windows with vs

2023-06-15 Thread Inada Naoki via Python-list
Then, git doesn't enable Windows NTFS case sensitivity. You enabled NTFS case sensitivity on "C:\Users\user\K". And Windows enabled case sensitivity for all new directories under the directory. Since it is not default and minor setting, it is not a bug that current Python doesn't support building

Re: Compiling python on windows with vs

2023-06-15 Thread Thomas Schweikle via Python-list
Am Mi., 14.Juni.2023 um 15:10:50 schrieb Eryk Sun: On 6/14/23, Inada Naoki via Python-list wrote: Since Git enables Windows NTFS case sensitivity while checking out sources I didn't know that. Would you give us a link to this feature? As far as I know, `git config core.ignorecase` doesn't m

Re: Compiling python on windows with vs

2023-06-14 Thread Eryk Sun via Python-list
On 6/14/23, Inada Naoki via Python-list wrote: >> Since Git enables Windows NTFS case sensitivity while checking out sources > > I didn't know that. Would you give us a link to this feature? > As far as I know, `git config core.ignorecase` doesn't mean NTFS case > sensitive. If a repo is cloned i

Re: Compiling python on windows with vs

2023-06-13 Thread Inada Naoki via Python-list
> Since Git enables Windows NTFS case sensitivity while checking out sources I didn't know that. Would you give us a link to this feature? As far as I know, `git config core.ignorecase` doesn't mean NTFS case sensitive. On Wed, Jun 14, 2023 at 1:57 AM Thomas Schweikle via Python-list < python-lis

Re: Compiling python on windows with vs

2023-06-13 Thread Thomas Schweikle via Python-list
Am Di., 13.Juni.2023 um 20:36:17 schrieb Mats Wichmann via Python-list: On 6/13/23 12:12, Thomas Schweikle via Python-list wrote: Am Di., 13.Juni.2023 um 19:20:38 schrieb Jim Schwartz: What version of visual studio are you using? Visual Studio 2022, aka 17.6.2. What version of python?

Re: Compiling python on windows with vs

2023-06-13 Thread Eryk Sun via Python-list
On 6/13/23, Thomas Schweikle via Python-list wrote: > > Since Git enables Windows NTFS case sensitivity while checking out > sources ... is it a bug or a "feature"? And: is there a simple AFAIK the Windows version of Git (you're not using the Linux version of Git via WSL, right?) does not automat

RE: Compiling python on windows with vs

2023-06-13 Thread Jim Schwartz via Python-list
Sent: Tuesday, June 13, 2023 1:12 PM To: Python Cc: Thomas Schweikle Subject: Re: Compiling python on windows with vs Am Di., 13.Juni.2023 um 19:20:38 schrieb Jim Schwartz: > What version of visual studio are you using? Visual Studio 2022, aka 17.6.2. > What version of python? python 3.10.1

Re: Compiling python on windows with vs

2023-06-13 Thread Mats Wichmann via Python-list
On 6/13/23 12:12, Thomas Schweikle via Python-list wrote: Am Di., 13.Juni.2023 um 19:20:38 schrieb Jim Schwartz: What version of visual studio are you using? Visual Studio 2022, aka 17.6.2. What version of python? python 3.10.11 or 3.11.4 I’ve had success with using the cython package i

Re: Compiling python on windows with vs

2023-06-13 Thread Thomas Schweikle via Python-list
Am Di., 13.Juni.2023 um 19:20:38 schrieb Jim Schwartz: What version of visual studio are you using? Visual Studio 2022, aka 17.6.2. What version of python? python 3.10.11 or 3.11.4 I’ve had success with using the cython package in python and cl from visual studio, but I haven’t tried v

Re: Compiling python on windows with vs

2023-06-13 Thread Jim Schwartz via Python-list
What version of visual studio are you using? What version of python? I’ve had success with using the cython package in python and cl from visual studio, but I haven’t tried visual studio alone. Sent from my iPhone > On Jun 13, 2023, at 11:59 AM, Thomas Schweikle via Python-list > wrote: >

Compiling python on windows with vs

2023-06-13 Thread Thomas Schweikle via Python-list
Hi! Trying to compile python on windows leads to following error: _testimportmultiple.vcxproj -> C:\Users\sct-muc\Documents\Projekte\cpython\PCbuild\amd64\_testimportmultiple.pyd _testmultiphase.c Bibliothek "C:\Users\sct-muc\Documents\Projekte\cpython\PCbuild\amd64\_testmultiphase.l

Compiling Python for iOS 11

2017-09-24 Thread Patrick Stinson
Has anyone successfully compiled python for iOS 11? I tried with 3.5.2 and 3.6.2 and got the following errors: turin:Python-3.6.2 patrick$ make Makefile:9845: warning: overriding commands for target `.obj/_pickle.o' Makefile:8855: warning: ignoring old commands for target `.obj/_pickle.o' /Appli

Re: Compiling Python 3.6.1 on macOS 10.12.5

2017-07-11 Thread Pavol Lisy
On 7/10/17, Nigel Palmer wrote: > Hi > > I am trying to compile Python 3.6.1 on macOS 10.12.5 with xcode 8.8.3 using > the instructions at > https://docs.python.org/devguide/setup.html#build-dependencies but I am > getting the error > > ./python.exe -E -S -m sysconfig --generate-posix-vars ;\ >

RE: Compiling Python 3.6.1 on macOS 10.12.5

2017-07-11 Thread Nigel Palmer
@python.org Subject: Re: Compiling Python 3.6.1 on macOS 10.12.5 > Killed: 9 It looks like not segmentation fault. Maybe, RAM shortage? INADA Naoki On Mon, Jul 10, 2017 at 10:24 PM, Nigel Palmer wrote: > Hi > > I am trying to compile Python 3.6.1 on macOS 10.12.5 with xcode 8.8.3

Re: Compiling Python 3.6.1 on macOS 10.12.5

2017-07-11 Thread Viktor Hagström
>Why are you trying to compile Python manually? You should use Homebrew to >install Python in 99% of cases. (The package is python3) I'm not the person you answered, but I can explain why I do things that are not "optimal" or "easy" or "best". I am interested, I want to learn something, I think

RE: Compiling Python 3.6.1 on macOS 10.12.5

2017-07-11 Thread Nigel Palmer
From: Chris Warrick [mailto:kwpol...@gmail.com] Sent: 11 July 2017 07:48 To: Nigel Palmer Cc: python-list@python.org Subject: Re: Compiling Python 3.6.1 on macOS 10.12.5 Why are you trying to compile Python manually? You should use Homebrew to install Python in 99% of cases. (The package is

Re: Compiling Python 3.6.1 on macOS 10.12.5

2017-07-11 Thread Viktor Hagström
>Why are you trying to compile Python manually? You should use Homebrew to >install Python in 99% of cases. (The package is python3) I'm not the person you answered, but I can explain why I do things that are not "optimal" or "easy" or "best". I am interested, I want to learn something, I think

Re: Compiling Python 3.6.1 on macOS 10.12.5

2017-07-11 Thread Viktor Hagström
>Why are you trying to compile Python manually? You should use Homebrew to >install Python in 99% of cases. (The package is python3) I'm not the person you answered, but I can explain why I do things that are not "optimal" or "easy" or "best". I am interested, I want to learn something, I think

Re: Compiling Python 3.6.1 on macOS 10.12.5

2017-07-10 Thread Chris Warrick
Why are you trying to compile Python manually? You should use Homebrew to install Python in 99% of cases. (The package is python3) -- Chris Warrick -- https://mail.python.org/mailman/listinfo/python-list

Re: Compiling Python 3.6.1 on macOS 10.12.5

2017-07-10 Thread INADA Naoki
> Killed: 9 It looks like not segmentation fault. Maybe, RAM shortage? INADA Naoki On Mon, Jul 10, 2017 at 10:24 PM, Nigel Palmer wrote: > Hi > > I am trying to compile Python 3.6.1 on macOS 10.12.5 with xcode 8.8.3 using > the instructions at > https://docs.python.org/devguide/setup.html

Compiling Python 3.6.1 on macOS 10.12.5

2017-07-10 Thread Nigel Palmer
Hi I am trying to compile Python 3.6.1 on macOS 10.12.5 with xcode 8.8.3 using the instructions at https://docs.python.org/devguide/setup.html#build-dependencies but I am getting the error ./python.exe -E -S -m sysconfig --generate-posix-vars ;\ if test $? -ne 0 ; then \

Re: Need help compiling Python-devel

2016-07-05 Thread Lawrence D’Oliveiro
On Wednesday, July 6, 2016 at 4:35:54 AM UTC+12, TM wrote: > > This option is not straight forward. There are too many dependencies. > Easier in Linux not so easy in AIX. POWER hardware? It might be easier and quicker to get Linux running on the machine, and figure it out there, than to try it u

Re: Need help compiling Python-devel

2016-07-05 Thread Michael Torrie
On 07/05/2016 10:35 AM, TM wrote: > This option is not straight forward. There are too many dependencies. > Easier in Linux not so easy in AIX. > > Is it possible to copy the python executable (ie the code below)? > # cp -p python python-devel What is this python-devel thing? You said you wanted

Re: Need help compiling Python-devel

2016-07-05 Thread TM
This option is not straight forward. There are too many dependencies. Easier in Linux not so easy in AIX. Is it possible to copy the python executable (ie the code below)? # cp -p python python-devel Thanks, Tony On Tue, Jul 5, 2016 at 12:12 PM, Dieter Maurer wrote: > TM wrote at 2016-7-5 11

Re: Need help compiling Python-devel

2016-07-05 Thread dieter
TM writes: > I have successfully compiled Python-2.7.12 on AIX 6.1 TL09, using steps > below. However I need the python-devel library/headers. How do I compile > Python, so that I can use this? The distinction between "python" and "python-devel" is not a Python notion but one of package manageme

Need help compiling Python-devel

2016-07-04 Thread TM
Hi, I have successfully compiled Python-2.7.12 on AIX 6.1 TL09, using steps below. However I need the python-devel library/headers. How do I compile Python, so that I can use this? # ./configure --with-gcc="gcc" --with-cxx="gcc" --disable-ipv6 # make Any help is greatly appreciated. Thanks, Ton

Re: Help needed with compiling python

2015-11-26 Thread Kev Dwyer
Cecil Westerhof wrote: > On Thursday 26 Nov 2015 09:29 CET, Steven D'Aprano wrote: > >> On Thursday 26 November 2015 18:00, Cecil Westerhof wrote: >> >>> On Wednesday 25 Nov 2015 23:58 CET, Laura Creighton wrote: >>> In a message of Wed, 25 Nov 2015 22:52:23 +0100, Cecil Westerhof write

Re: Help needed with compiling python

2015-11-26 Thread Zachary Ware
On Thu, Nov 26, 2015 at 3:39 PM, Cecil Westerhof wrote: > On Thursday 26 Nov 2015 12:07 CET, Dave Farrance wrote: >> zypper in -f >> >> So you'll want to try package names like "python" and "python2.7". > > Sadly that also only installs only libraries and no applications. Try "python-base". (Se

Re: Help needed with compiling python

2015-11-26 Thread Cecil Westerhof
On Thursday 26 Nov 2015 12:07 CET, Dave Farrance wrote: > Cecil Westerhof wrote: > >> On Wednesday 25 Nov 2015 23:58 CET, Laura Creighton wrote: >>> >>> Your Suse system probably wants to use python for something. If >>> your system python is damaged, you badly need to fix that, using >>> the sys

Re: Help needed with compiling python

2015-11-26 Thread Cecil Westerhof
On Thursday 26 Nov 2015 09:29 CET, Steven D'Aprano wrote: > On Thursday 26 November 2015 18:00, Cecil Westerhof wrote: > >> On Wednesday 25 Nov 2015 23:58 CET, Laura Creighton wrote: >> >>> In a message of Wed, 25 Nov 2015 22:52:23 +0100, Cecil Westerhof >>> writes: My system python was

Re: Help needed with compiling python

2015-11-26 Thread Dave Farrance
Cecil Westerhof wrote: >On Wednesday 25 Nov 2015 23:58 CET, Laura Creighton wrote: >> >> Your Suse system probably wants to use python for something. If your >> system python is damaged, you badly need to fix that, using the >> system package managers tools, before Suse does some sort of update >

Re: Help needed with compiling python

2015-11-26 Thread Steven D'Aprano
On Thursday 26 November 2015 18:00, Cecil Westerhof wrote: > On Wednesday 25 Nov 2015 23:58 CET, Laura Creighton wrote: > >> In a message of Wed, 25 Nov 2015 22:52:23 +0100, Cecil Westerhof >> writes: >>> >>> My system python was all-ready damaged: that is why I wanted to >>> build myself. >> >>

Re: Help needed with compiling python

2015-11-25 Thread Cecil Westerhof
On Wednesday 25 Nov 2015 23:58 CET, Laura Creighton wrote: > In a message of Wed, 25 Nov 2015 22:52:23 +0100, Cecil Westerhof > writes: >> >> My system python was all-ready damaged: that is why I wanted to >> build myself. > > Your Suse system probably wants to use python for something. If your >

Re: Help needed with compiling python

2015-11-25 Thread Cecil Westerhof
On Wednesday 25 Nov 2015 23:39 CET, Zachary Ware wrote: > On Wed, Nov 25, 2015 at 3:52 PM, Cecil Westerhof wrote: >> My system python was all-ready damaged: that is why I wanted to >> build myself. > > Then you should try to repair the system Python install via the > system package manager. It's

Re: Help needed with compiling python

2015-11-25 Thread Laura Creighton
In a message of Wed, 25 Nov 2015 22:52:23 +0100, Cecil Westerhof writes: > >My system python was all-ready damaged: that is why I wanted to build >myself. Your Suse system probably wants to use python for something. If your system python is damaged, you badly need to fix that, using the system p

Re: Help needed with compiling python

2015-11-25 Thread Zachary Ware
On Wed, Nov 25, 2015 at 3:52 PM, Cecil Westerhof wrote: > My system python was all-ready damaged: that is why I wanted to build > myself. Then you should try to repair the system Python install via the system package manager. It's not worth the hassle to try to replace it; it almost certainly wo

Re: Help needed with compiling python

2015-11-25 Thread Cecil Westerhof
On Wednesday 25 Nov 2015 21:49 CET, Zachary Ware wrote: > On Wed, Nov 25, 2015 at 2:23 PM, Cecil Westerhof wrote: >> I wanted to install python myself. I started with 2.7.10. If that >> works I also will install 3.5.0. >> >> I did: >> ./configure --prefix=/usr >> make >> make altinstall >> >> I h

Re: Help needed with compiling python

2015-11-25 Thread Zachary Ware
On Wed, Nov 25, 2015 at 2:23 PM, Cecil Westerhof wrote: > I wanted to install python myself. I started with 2.7.10. If that > works I also will install 3.5.0. > > I did: > ./configure --prefix=/usr > make > make altinstall > > I have: > /usr/bin/python2.7 > > But when I execute thi

Help needed with compiling python

2015-11-25 Thread Cecil Westerhof
I wanted to install python myself. I started with 2.7.10. If that works I also will install 3.5.0. I did: ./configure --prefix=/usr make make altinstall I have: /usr/bin/python2.7 But when I execute this, I get: Could not find platform dependent libraries Consider settin

Re: Problems compiling Python 3.4 on Ubuntu

2014-02-03 Thread Chris Angelico
On Tue, Feb 4, 2014 at 1:34 PM, Rustom Mody wrote: > Just curious: How do you go "digging for stuff starting with 'z'" ? > > OR: How do you grep inside apt? > > I know "dpkg -S pattern" > > It helps to connect pattern with package > But no good if pattern is common -- Other day I was struggling wi

Re: Problems compiling Python 3.4 on Ubuntu

2014-02-03 Thread Rustom Mody
On Tuesday, February 4, 2014 12:41:03 AM UTC+5:30, Chris Angelico wrote: > On Tue, Feb 4, 2014 at 6:05 AM, Zachary Ware wrote: > > On Mon, Feb 3, 2014 at 12:48 PM, Chris Angelico wrote: > >> Technically that gets everything you need to compile Python 3.3... > >> wasn't there one more library needed

Re: Problems compiling Python 3.4 on Ubuntu

2014-02-03 Thread Chris Angelico
On Tue, Feb 4, 2014 at 6:05 AM, Zachary Ware wrote: > On Mon, Feb 3, 2014 at 12:48 PM, Chris Angelico wrote: >> On Tue, Feb 4, 2014 at 2:50 AM, Christian Heimes >> wrote: >>> On 03.02.2014 16:14, Ram Rachum wrote: Worked! Thanks Ervin! >>> >>>$ sudo apt-get build-dep python3.3 >>> >>>

Re: Problems compiling Python 3.4 on Ubuntu

2014-02-03 Thread Zachary Ware
On Mon, Feb 3, 2014 at 12:48 PM, Chris Angelico wrote: > On Tue, Feb 4, 2014 at 2:50 AM, Christian Heimes wrote: >> On 03.02.2014 16:14, Ram Rachum wrote: >>> Worked! Thanks Ervin! >> >>$ sudo apt-get build-dep python3.3 >> >> will install everything you need to compile Python 3.4 on Debian a

Re: Problems compiling Python 3.4 on Ubuntu

2014-02-03 Thread Chris Angelico
On Tue, Feb 4, 2014 at 2:50 AM, Christian Heimes wrote: > On 03.02.2014 16:14, Ram Rachum wrote: >> Worked! Thanks Ervin! > >$ sudo apt-get build-dep python3.3 > > will install everything you need to compile Python 3.4 on Debian and > Ubuntu. Good luck! :) Technically that gets everything you

Re: Problems compiling Python 3.4 on Ubuntu

2014-02-03 Thread Rustom Mody
On Monday, February 3, 2014 8:44:01 PM UTC+5:30, cool-RR wrote: > On Mon, Feb 3, 2014 at 1:08 PM, Ervin Hegedüs wrote: > > > try this: > > sudo apt-get install libssl-dev > Worked! Thanks Ervin! In general its a good idea to *look at* what you get with apt-get build-dep python3 You need not

Re: Problems compiling Python 3.4 on Ubuntu

2014-02-03 Thread Christian Heimes
On 03.02.2014 16:14, Ram Rachum wrote: > Worked! Thanks Ervin! $ sudo apt-get build-dep python3.3 will install everything you need to compile Python 3.4 on Debian and Ubuntu. Good luck! :) Christian -- https://mail.python.org/mailman/listinfo/python-list

Re: Problems compiling Python 3.4 on Ubuntu

2014-02-03 Thread Ram Rachum
Worked! Thanks Ervin! On Mon, Feb 3, 2014 at 1:08 PM, Ervin Hegedüs wrote: > Hello, > > On Mon, Feb 03, 2014 at 02:50:15AM -0800, cool-RR wrote: > > Hi, > > > > I'm trying to install Python 3.4b3 on Ubuntu. Since compilation seems to > be the only way, I'm trying that. > > > > I downloaded the

Re: Problems compiling Python 3.4 on Ubuntu

2014-02-03 Thread Ervin Hegedüs
Hello, On Mon, Feb 03, 2014 at 02:50:15AM -0800, cool-RR wrote: > Hi, > > I'm trying to install Python 3.4b3 on Ubuntu. Since compilation seems to be > the only way, I'm trying that. > > I downloaded the source, I changed Setup.dist to have this: > > SSL=/usr > _ssl _ssl.c \ >

Problems compiling Python 3.4 on Ubuntu

2014-02-03 Thread cool-RR
Hi, I'm trying to install Python 3.4b3 on Ubuntu. Since compilation seems to be the only way, I'm trying that. I downloaded the source, I changed Setup.dist to have this: SSL=/usr _ssl _ssl.c \ -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \ -L$(SSL)/lib -lssl -l

Re: Compiling Python 3.3.2 on CentOS 6.4 - unable to find compiled OpenSSL?

2013-11-05 Thread Christian Heimes
Am 05.11.2013 01:23, schrieb Victor Hooi: > Hi, > > We have a machine running CentOS 6.4, and we're attempting to compile Python > 3.3.2 on it: > > # cat /etc/redhat-release > CentOS release 6.4 (Final) > > We've compiled openssl 1.0.1e 11 by hand on this box, and installed it into

RE: Compiling Python 3.3.2 on CentOS 6.4 - unable to find compiled OpenSSL?

2013-11-04 Thread Joseph L. Casale
> Any thoughts on what we're doing wrong? Building them yourself:) Try iuscommunity.org for prebuilt packages... -- https://mail.python.org/mailman/listinfo/python-list

Compiling Python 3.3.2 on CentOS 6.4 - unable to find compiled OpenSSL?

2013-11-04 Thread Victor Hooi
Hi, We have a machine running CentOS 6.4, and we're attempting to compile Python 3.3.2 on it: # cat /etc/redhat-release CentOS release 6.4 (Final) We've compiled openssl 1.0.1e 11 by hand on this box, and installed it into /usr/local/: # openssl OpenSSL> versio

Re: Cross-compiling Python for ARM?

2013-04-20 Thread Gilles
On Tue, 16 Apr 2013 17:22:55 +0300, Anssi Saari wrote: >In any case, cross compiling Python shouldn't be that hard. I >just recently built 2.7.3 for my OpenWRT router since the packaged >Python didn't have readline support (some long standing linking issue >with readline

Re: Cross-compiling Python for ARM?

2013-04-16 Thread Anssi Saari
Gilles writes: > I see Python mentioned in /usr/lib and /usr/share, and was wondering > if all it'd take to solve this issue, is just to cross-compile the > interpreter and the rest is just CPU-agnostic Python scripts. I suppose. In any case, cross compiling Python shouldn

Re: Cross-compiling Python for ARM?

2013-04-15 Thread Terry Jan Reedy
On 4/15/2013 11:20 AM, Gilles wrote: Hello I tried running uWSGI on an ARM-based appliance, but it fails. Apparently, it could be due to the official Python 2.6.6 interpreter in the depot not being compiled the way uWSGI expects it to be: ./configure --enable-shared; make; make install; www.ra

Cross-compiling Python for ARM?

2013-04-15 Thread Gilles
Hello I tried running uWSGI on an ARM-based appliance, but it fails. Apparently, it could be due to the official Python 2.6.6 interpreter in the depot not being compiled the way uWSGI expects it to be: ./configure --enable-shared; make; make install; www.raspberrypi.org/phpBB3/viewtopic.php?f=3

Compiling Python with static runtime library (VS2010)

2013-02-11 Thread Jonatan Magnusson
Hi I'm trying to build Python 3.3.0 on Windows using Visual Studio 2010 Express. I opened the solution (pcbuild.sln) and built the "python" project (including its dependencies of course) and that worked fine with just a few warnings. But I need to build Python using the the static C runtime s

Re: How can I disable module of tkinter when compiling Python 2.5 on redhat9 ?

2012-07-09 Thread Tim Roberts
cheetah wrote: > >I don't need it. It's not worth worrying about. You're talking about way less than a megabyte of disk space, and there is no performance penalty unless you're using it. In general, the parts of the Python standard library are not individually selectable. -- Tim Roberts, t...@

Re: How can I disable module of tkinter when compiling Python 2.5 on redhat9 ?

2012-07-09 Thread Putilov Roman
09.07.12 13:21, cheetah ?: I don't need it. thanks In python's setup.py replace: self.detect_tkinter(inc_dirs, lib_dirs) of def detect_modules(self): This will ignore the compilation of _tkinter.c and tkappinit.c of the python distribution. -- http://mail.python.org/mailman/list

How can I disable module of tkinter when compiling Python 2.5 on redhat9 ?

2012-07-09 Thread cheetah
I don't need it. thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: Compiling Python (modules) on 64bit Windows - which compiler suite?

2012-03-22 Thread Ralph Heinkel
> > See "Compiling 64-bit extension modules on Windows" at > . It applies to > non-Cython extensions as well. > > MinGW-w64 also works, but you'll have to generate and use libpythonXX.a and > libmsvcr90.a link libraries. > > Christoph Th

Re: Compiling Python (modules) on 64bit Windows - which compiler suite?

2012-03-22 Thread Stefan Behnel
Thomas Bach, 21.03.2012 20:03: > Ralph Heinkel writes: >> when processing our mass spectrometry data we are running against the >> 2GB memory limit on our 32 bit machines. So we are planning to move to >> 64bit. Downloading and installing the 64bit version of Python for >> Windows is trivial, but h

Re: Compiling Python (modules) on 64bit Windows - which compiler suite?

2012-03-21 Thread cjgohlke
On Wednesday, March 21, 2012 8:06:47 AM UTC-7, Ralph Heinkel wrote: > Hi, > > when processing our mass spectrometry data we are running against the > 2GB memory limit on our 32 bit machines. So we are planning to move to > 64bit. Downloading and installing the 64bit version of Python for > Windows

Re: Compiling Python (modules) on 64bit Windows - which compiler suite?

2012-03-21 Thread Thomas Bach
Hi, Ralph Heinkel writes: > Hi, > > when processing our mass spectrometry data we are running against the > 2GB memory limit on our 32 bit machines. So we are planning to move to > 64bit. Downloading and installing the 64bit version of Python for > Windows is trivial, but how do we compile our o

Re: Compiling Python (modules) on 64bit Windows - which compiler suite?

2012-03-21 Thread Terry Reedy
On 3/21/2012 11:06 AM, Ralph Heinkel wrote: when processing our mass spectrometry data we are running against the 2GB memory limit on our 32 bit machines. So we are planning to move to 64bit. Downloading and installing the 64bit version of Python for Windows is trivial, but how do we compile our

Compiling Python (modules) on 64bit Windows - which compiler suite?

2012-03-21 Thread Ralph Heinkel
Hi, when processing our mass spectrometry data we are running against the 2GB memory limit on our 32 bit machines. So we are planning to move to 64bit. Downloading and installing the 64bit version of Python for Windows is trivial, but how do we compile our own C extension? Visual C ++ 2008 express

Cross compiling Python 3.2 for PPC (MPC 8641D)

2011-12-20 Thread abhishek bhat
I am trying to compile Python 3.2 to a PPC platform running a lesser known OS called OSE (by ENEA). The problem is that there is no shell which can be used to run the configure script which means that I need to manually port the pyconfig.h and the makefile for the given platform. Any suggestions

Re: error compiling python, and "plat-linux2" versus "plat-linux3"

2011-08-04 Thread Terry Reedy
There has been some discussion about what to do with 'linux3'. See http://bugs.python.org/issue12326 for example. -- Terry Jan Reedy -- http://mail.python.org/mailman/listinfo/python-list

error compiling python, and "plat-linux2" versus "plat-linux3"

2011-08-04 Thread Robert P. J. Day
i may have asked about this once upon a time but i'm still fighting with it so i'll throw myself on the mercy of the list and ask again. (and if there's a better forum for this question, let me know.) i'm using the development environment wind river linux 4.2 (hereafter just "WRL") to configu

cross-compiling python-2.5.1 for PPC, error in Modules/unicodedata.o

2011-07-25 Thread Robert P. J. Day
not sure if this is the right list for this, but it's a starting point. i'm using a wind river linux development environment to build a full system for a powerpc board, and that includes cross-compiling python-2.5.1 for ppc. the compile fails thusly: powerpc-wrs-linux-gnu-

Re: Problem compiling Python 3.2 in 32bit on Snow Leopard

2011-07-11 Thread Ned Deily
In article , Ned Deily wrote: > In article <8t5vunfca...@mid.individual.net>, > Gregory Ewing wrote: > > Attempting to compile Python 3.2 in 32-bit mode > > on MacOSX 10.6.4 I get: > > > > Undefined symbols: > >"___moddi3", referenced from: > >_PyThread_acquire_lock_timed in libpyt

Re: Compiling Python 3.2 on Cygwin fails

2011-07-05 Thread David Robinow
On Mon, Jul 4, 2011 at 3:49 PM, Aly Tawfik wrote: > On Jun 20, 12:44 pm, sewpafly wrote: >> I was able to a little further by changing 2 lines in Makefile.pre.in. >> >> On line 170, changed: >>     DLLLIBRARY= @DLLLIBRARY@ >> to: >>     DLLLIBRARY= libpython$(VERSION).dll >> >> On line 509 it had

Re: Compiling Python 3.2 on Cygwin fails

2011-07-04 Thread Aly Tawfik
On Jun 20, 12:44 pm, sewpafly wrote: > I was able to a little further by changing 2 lines in Makefile.pre.in. > > On line 170, changed: >     DLLLIBRARY= @DLLLIBRARY@ > to: >     DLLLIBRARY= libpython$(VERSION).dll > > On line 509 it had: >     $(DLLLIBRARY) libpython$(VERSION).dll.a: $(LIBRARY_OB

Re: Compiling Python 3.2 on Cygwin fails

2011-07-04 Thread Aly Tawfik
On Jun 20, 12:44 pm, sewpafly wrote: > I was able to a little further by changing 2 lines in Makefile.pre.in. > > On line 170, changed: >     DLLLIBRARY= @DLLLIBRARY@ > to: >     DLLLIBRARY= libpython$(VERSION).dll > > On line 509 it had: >     $(DLLLIBRARY) libpython$(VERSION).dll.a: $(LIBRARY_OB

Re: Compiling Python 3.2 on Cygwin fails

2011-06-20 Thread sewpafly
I was able to a little further by changing 2 lines in Makefile.pre.in. On line 170, changed: DLLLIBRARY= @DLLLIBRARY@ to: DLLLIBRARY= libpython$(VERSION).dll On line 509 it had: $(DLLLIBRARY) libpython$(VERSION).dll.a: $(LIBRARY_OBJS) which I changed to: $(DLLLIBRARY) libpython$(

Re: Problems Compiling Python 2.6.7 for Win7

2011-06-09 Thread Jay Osako
On Jun 8, 6:56 pm, "Gabriel Genellina" wrote: > En Wed, 08 Jun 2011 12:28:56 -0300, Jay Osako   > escribi : > > > I have been trying to get PyODBC to work with Python 2.6 (the latest > > version it is known to be compatible with) and Django, but have run > > into a problem which, according to the

Re: Problems Compiling Python 2.6.7 for Win7

2011-06-08 Thread Gabriel Genellina
En Wed, 08 Jun 2011 12:28:56 -0300, Jay Osako escribió: I have been trying to get PyODBC to work with Python 2.6 (the latest version it is known to be compatible with) and Django, but have run into a problem which, according to the information I've got elsewhere, probably stems from a DLL inc

Problems Compiling Python 2.6.7 for Win7

2011-06-08 Thread Jay Osako
I have been trying to get PyODBC to work with Python 2.6 (the latest version it is known to be compatible with) and Django, but have run into a problem which, according to the information I've got elsewhere, probably stems from a DLL incompatibility - apparently, the standard CPython distribution f

Compiling Python 3.2 on Cygwin fails

2011-05-03 Thread Daniel Rentz
Hello, I've downloaded the 3.2 source tarball from python.org and tried to compile Python from scratch in a Cygwin 1.7.7 environment. Configure works as expected. Make fails with the following message: make: *** No rule to make target `libpython3.2m.dll.a', needed by `python.exe'. Stop. T

Re: Question about compiling python 30 from subversion repository on OSX

2011-04-23 Thread Ned Deily
In article , Anthony Kong wrote: > I have checked out source code from this url > http://svn.python.org/projects/python/branches/py3k, then run > > ./configure --with-universal-archs=64-bit > make > > First of all, I got this message: > > --- > Mo

Question about compiling python 30 from subversion repository on OSX

2011-04-23 Thread Anthony Kong
Hi, all, I have checked out source code from this url http://svn.python.org/projects/python/branches/py3k, then run ./configure --with-universal-archs=64-bit make First of all, I got this message: --- Modules/Setup.dist is newer than Modules/Setup;

Re: Compiling python without ssl?

2011-04-01 Thread Terry Reedy
On 4/1/2011 7:36 AM, Austin Bingham wrote: Is there any way to compile python (3.1.3, in case it matters) without ssl support? OpenSSL is on my system, and configure finds it, Can you temporarily disguise (rename) it? -- Terry Jan Reedy -- http://mail.python.org/mailman/listinfo/python-list

Re: Compiling python without ssl?

2011-04-01 Thread nirinA
[Austin Bingham] Is there any way to compile python (3.1.3, in case it matters) without ssl support? OpenSSL is on my system, and configure finds it, but I can't find a way to tell configure to explicitly ignore it. I need a version of python without ssl for trade compliance reasons (I don't ma

Compiling python without ssl?

2011-04-01 Thread Austin Bingham
Is there any way to compile python (3.1.3, in case it matters) without ssl support? OpenSSL is on my system, and configure finds it, but I can't find a way to tell configure to explicitly ignore it. I need a version of python without ssl for trade compliance reasons (I don't make the dumb rules, I

Re: Problem compiling Python 3.2 in 32bit on Snow Leopard

2011-03-01 Thread Ned Deily
In article <8t5vunfca...@mid.individual.net>, Gregory Ewing wrote: > Attempting to compile Python 3.2 in 32-bit mode > on MacOSX 10.6.4 I get: > > Undefined symbols: >"___moddi3", referenced from: >_PyThread_acquire_lock_timed in libpython3.2m.a(thread.o) >_acquire_timed in l

Problem compiling Python 3.2 in 32bit on Snow Leopard

2011-03-01 Thread Gregory Ewing
Attempting to compile Python 3.2 in 32-bit mode on MacOSX 10.6.4 I get: Undefined symbols: "___moddi3", referenced from: _PyThread_acquire_lock_timed in libpython3.2m.a(thread.o) _acquire_timed in libpython3.2m.a(_threadmodule.o) "___divdi3", referenced from: _PyThread_acqui

Re: compiling Python 2.7.1 with readline module fails on Debian (Virtualbox)

2010-12-23 Thread Benedict Verheyen
On 24/12/2010 2:16, Benedict Verheyen wrote: > On 23/12/2010 20:55, Stefan Sonnenberg-Carstens wrote: >>> I finally succeeded. I built ncurses and installed it to $HOME/usr/local ./configure --with-shared --enable-termcap --prefix=$HOME/usr/local make make install Then i built readline ./configu

Re: compiling Python 2.7.1 with readline module fails on Debian (Virtualbox)

2010-12-23 Thread Benedict Verheyen
On 23/12/2010 20:55, Stefan Sonnenberg-Carstens wrote: >> >> > OK, I compiled it successfully under Debian 5.07 i386. > ncurses and libreadline are compiled from hand, both --prefix=$HOME/usr/local. > For python the only extra needed was export > LD_LIBRARY_PATH=$HOME/usr/local/lib:$LD_LIBRARY_PA

Re: compiling Python 2.7.1 with readline module fails on Debian (Virtualbox)

2010-12-23 Thread Stefan Sonnenberg-Carstens
Am 23.12.2010 15:37, schrieb Benedict Verheyen: On 23/12/2010 14:09, Benedict Verheyen wrote: I started from scratch. I tried to build readline 6 and 5, and installing the packages system wide as opposed to $HOME/local, but everytime Python fails to find it. On stable, apt-get build-dep python

Re: compiling Python 2.7.1 with readline module fails on Debian (Virtualbox)

2010-12-23 Thread Stefan Sonnenberg-Carstens
Am 23.12.2010 15:37, schrieb Benedict Verheyen: On 23/12/2010 14:09, Benedict Verheyen wrote: I started from scratch. I tried to build readline 6 and 5, and installing the packages system wide as opposed to $HOME/local, but everytime Python fails to find it. On stable, apt-get build-dep python

Re: compiling Python 2.7.1 with readline module fails on Debian (Virtualbox)

2010-12-23 Thread Benedict Verheyen
On 23/12/2010 14:09, Benedict Verheyen wrote: > > I started from scratch. > I tried to build readline 6 and 5, and installing the packages system wide > as opposed to $HOME/local, but everytime Python fails to find it. > > On stable, apt-get build-dep python 2.6 doesn't work, but > apt-get build

Re: compiling Python 2.7.1 with readline module fails on Debian (Virtualbox)

2010-12-23 Thread Benedict Verheyen
On 23/12/2010 11:00, Stefan Sonnenberg-Carstens wrote: > apt-get build-dep python 2.6 > should do, the dependencies haven't changed (IMHO). > Then wipe away $HOME/usr/local (if you can, btw), > reset all env vars to default (perhaps reboot). > Then untar python from scratch, cd into that dir, and

Re: compiling Python 2.7.1 with readline module fails on Debian (Virtualbox)

2010-12-23 Thread Stefan Sonnenberg-Carstens
Am 23.12.2010 10:04, schrieb Benedict Verheyen: On 22/12/2010 18:47, Stefan Sonnenberg-Carstens wrote: Am 22.12.2010 09:33, schrieb Benedict Verheyen: Did you try apt-get install build-essential apt-get build-dep python2.7 before trying to compile ? Anyway, the config.log file is always of

Re: compiling Python 2.7.1 with readline module fails on Debian (Virtualbox)

2010-12-23 Thread Benedict Verheyen
On 22/12/2010 18:47, Stefan Sonnenberg-Carstens wrote: > Am 22.12.2010 09:33, schrieb Benedict Verheyen: >> > Did you try > > apt-get install build-essential > apt-get build-dep python2.7 > > before trying to compile ? > > Anyway, the config.log file is always of special interest. > Btw, which

Re: compiling Python 2.7.1 with readline module fails on Debian (Virtualbox)

2010-12-22 Thread Benedict Verheyen
On 22/12/2010 18:57, Jim Pharis wrote: > are you running make clean for good measure? Yes, i am. I am gong to try and uninstall Python2.7 from $HOME/local and see if that makes a difference. Maybe it interferes with the build process? Regards, Benedict -- http://mail.python.org/mailman/listinf

Re: compiling Python 2.7.1 with readline module fails on Debian (Virtualbox)

2010-12-22 Thread Jim Pharis
are you running make clean for good measure? On Wed, Dec 22, 2010 at 3:33 AM, Benedict Verheyen < benedict.verhe...@gmail.com> wrote: > Hi, > > > i'm trying to compile Python 2.7.1 on Debian (Virtual Box). > Compiling end successfully but readline and curses fail to build. > > I'm working with vi

  1   2   3   >