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: >

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:[email protected]] Sent: 11 July 2017 07:48 To: Nigel Palmer Cc: [email protected] 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

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

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

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: 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

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 < [email protected]> 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

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

2010-12-22 Thread Stefan Sonnenberg-Carstens
Am 22.12.2010 09:33, schrieb Benedict Verheyen: 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 virtualenv and I install all my packages in $HOME/local. I've downloaded readline, compiled and ins

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

2010-12-22 Thread Benedict Verheyen
On 22/12/2010 9:33, Benedict Verheyen 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 virtualenv and I install all my packages in $HOME/local. > I've downloaded readline, compi

Re: compiling python 3.1.2 with local readline fails to get readline - help!

2010-09-19 Thread gavino
On Sep 15, 6:41 pm, James Mills wrote: > On Thu, Sep 16, 2010 at 11:10 AM, gavino wrote: > > I am comiling 3.1.2. > > I am not root but a user. > > I compiled readline and it did not complain. > > gdb and zlib  and some other modules also were not found. > > Like I said earlier in my previous pos

Re: compiling python 3.1.2 with local readline fails to get readline - help!

2010-09-15 Thread James Mills
On Thu, Sep 16, 2010 at 11:10 AM, gavino wrote: > I am comiling 3.1.2. > I am not root but a user. > I compiled readline and it did not complain. > gdb and zlib  and some other modules also were not found. Like I said earlier in my previous post, is the readline line that you compiled and install

Re: compiling python 3.1.2 with local readline fails to get readline - help!

2010-09-15 Thread gavino
On Sep 15, 5:12 pm, James Mills wrote: > On Thu, Sep 16, 2010 at 9:58 AM, gavino wrote: > > I compiled readline 6.1 myself. > > > #  ./configure --prefix=/home/apps/python --disable-shared --with- > > pymalloc --with-threads --with-pth --enable-big-digits --disable-ipv6 > > --enable-readline --wi

Re: compiling python 3.1.2 with local readline fails to get readline - help!

2010-09-15 Thread James Mills
On Thu, Sep 16, 2010 at 9:58 AM, gavino wrote: > I compiled readline 6.1 myself. > > #  ./configure --prefix=/home/apps/python --disable-shared --with- > pymalloc --with-threads --with-pth --enable-big-digits --disable-ipv6 > --enable-readline --with-readline=/home/apps/readline/lib/ > #  make -j1

Re: compiling python question

2010-02-25 Thread Diez B. Roggisch
Am 25.02.10 01:55, schrieb Mag Gam: sorry for the vague answer. Its Linux. The configure build does not say anything actually. This is for SAGE. I managed to have it pick it up by compiling/installing tcl and tk and then recompile python Then most probably installing the tk-dev packages would

Re: compiling python question

2010-02-24 Thread Mag Gam
sorry for the vague answer. Its Linux. The configure build does not say anything actually. This is for SAGE. I managed to have it pick it up by compiling/installing tcl and tk and then recompile python On Wed, Feb 24, 2010 at 4:50 PM, Diez B. Roggisch wrote: > Am 24.02.10 03:00, schrieb Mag Ga

Re: compiling python question

2010-02-24 Thread Diez B. Roggisch
Am 24.02.10 03:00, schrieb Mag Gam: I am trying to compile python with Tk bindings. Do I need to do anything special for python to detect and enable Tk? What OS? What does the configure/build process say? Diez -- http://mail.python.org/mailman/listinfo/python-list

Re: Compiling Python 2.7a2 on AIX6.1 (also pycrypto)

2010-01-13 Thread Terry Reedy
On 1/13/2010 6:13 AM, knipknap wrote: Hi, I have just successfully compiled Python 2.7a2 on AIX6.1, using the IBM XL compiler (no gcc). I am documenting this here in case somebody needs it: ### First, I installed the following dependencies: 1. readline-6.1; 2. tcl8.4.19/unix/ 3. tk8.4.19/u

Re: Compiling Python 2.7a2 on AIX6.1 (also pycrypto)

2010-01-13 Thread Josh Volchko
On Jan 13, 6:13 am, knipknap wrote: > Hi, > > I have just successfully compiled Python 2.7a2 on AIX6.1, using the > IBM XL compiler (no gcc). I am documenting this here in case somebody > needs it: > > ### > First, I installed the following dependencies: > > 1. readline-6.1; > 2. tcl8.4.19/uni

Re: compiling python 3

2009-09-13 Thread Christian Heimes
Rustom Mody wrote: > Just managed to compile python3 on debian lenny > I get (among other things) > > 7 skips unexpected on linux2: > test_dbm_ndbm test_bz2 test_ttk_guionly test_tcl test_tk > test_ttk_textonly test_dbm_gnu > Any ideas what dev packages I need to add? "apt-get build-dep p

Re: Compiling Python for uCLinux appliance?

2009-07-29 Thread Grant Edwards
On 2009-07-29, Diez B. Roggisch wrote: > Gilles Ganault wrote: > >> Hello >> >> I just got a small appliance based on a Blackfin CPU with 64MB RAM and >> 258MB NAND flash. Using the stock software, there's about 30MB of RAM >> left. >> >> Besides C/C++ and shel scripts, I was wondering if it wer

Re: Compiling Python for uCLinux appliance?

2009-07-29 Thread Diez B. Roggisch
Gilles Ganault wrote: > Hello > > I just got a small appliance based on a Blackfin CPU with 64MB RAM and > 258MB NAND flash. Using the stock software, there's about 30MB of RAM > left. > > Besides C/C++ and shel scripts, I was wondering if it were realistic > to upload a few Python scripts in su

Re: compiling python

2009-07-15 Thread Stefan Behnel
Mag Gam wrote: > At my university we are trying to compile python with --enable-shared Is there a reason why you need to compile the CPython interpreter yourself? > however when I do a make many things fail. Is it a good idea to > compile python with shared libraries? Perfectly fine, Linux dist

Re: Compiling Python on Windows : how to deal with modules ?

2009-05-12 Thread r2d3
Hi all, after some investigation, I managed to find how to do this "manually". I post it here if it could help others... 1) on windows, mostly all the dynamic libraries (time, socket, ...) are statically linked into python26.dll 2) all the modules are located in lib/ and some .pyd (in fact rename

Re: Compiling Python using Microsoft Visual C++ 2008

2008-05-12 Thread Martin v. Löwis
>> See PCbuild/readme.txt. > > I presume that this is PCbuild8.txt As Christian says: PCbuild/readme.txt are the correct instructions (and had been since Python 2.0 or so). > Now, I would like to remove Python 2.5 from VS 2008 but see no obvious > way of getting rid of it. You might be able to

Re: Compiling Python using Microsoft Visual C++ 2008

2008-05-12 Thread Christian Heimes
Colin J. Williams schrieb: >> See PCbuild/readme.txt. > > I presume that this is PCbuild8.txt No, it's PCbuild/readme.txt in Python 2.6 and 3.0 By the way you can call Tools\buildbot\external.bat from the root directory of the 2.6 and 3.0. It checks out and build the dependencies. The script req

Re: Compiling Python using Microsoft Visual C++ 2008

2008-05-12 Thread Colin J. Williams
Martin v. Löwis wrote: 1.I have both 2.5 and 2.6 but both appear, under Recent Projects, as pcbuild. It would be helpful if the Python Version could be indicated. Hover over the link, and it will display the full path, which you can then infer to reason about the specific copy of Python you ar

Re: Compiling Python using Microsoft Visual C++ 2008

2008-05-12 Thread Martin v. Löwis
> 1.I have both 2.5 and 2.6 but both appear, under Recent Projects, as > pcbuild. It would be helpful if the Python Version could be indicated. Hover over the link, and it will display the full path, which you can then infer to reason about the specific copy of Python you are using. In any case,

Re: Compiling Python 2.5.2 on AIX 5.2

2008-05-10 Thread Martin v. Löwis
> Opening mmap with access=ACCESS_COPY > Modifying copy-on-write memory map. > Traceback (most recent call last): > File "Lib/test/test_mmap.py", line 393, in > test_both() > File "Lib/test/test_mmap.py", line 247, in test_both > m.flush() > EnvironmentError: [Errno 22] Invalid arg

Re: Compiling Python 2.5.2 on AIX 5.2

2008-05-10 Thread Randy Galbraith
On Apr 22, 11:17 am, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > test test_mmap crashed -- : [Errno > > 22] Invalid argument > > You should run this with -v. This is too little detail to know what > exactly failed. Sorry it took so long to get back to you. At this point, I'm going to attempt

Re: Compiling Python 2.5.2 on AIX 5.2

2008-04-22 Thread Martin v. Löwis
> test test_mmap crashed -- : [Errno > 22] Invalid argument You should run this with -v. This is too little detail to know what exactly failed. > self.assertEqual(spid, cpid) > AssertionError: 0 != 6840386 > > What do these failures indicate? That suggests a bug in wait4: apparently, it fa

Re: Compiling Python 2.5.2 on AIX 5.2

2008-04-22 Thread Randy Galbraith
On Apr 20, 10:17 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > I recommend you disable compilation of ctypes (by removing the call > to detect_ctypes from setup.py). It's fairly unlikely that you can > manage to make ctypes work on your system. Martin, Thanks again. I'm much closer now. Her

Re: Compiling Python 2.5.2 on AIX 5.2

2008-04-20 Thread Martin v. Löwis
> Thus it would seem use cif here resulted in a segment violation. I'll > continue to research this issue and report back to the group as I know > more. Perhaps solving the issue with the 'c' and 'm' libraries > (whatever they might be) will make the core dump go away. However, > for tonight, I'

Re: Compiling Python 2.5.2 on AIX 5.2

2008-04-20 Thread Randy Galbraith
On Apr 15, 11:33 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > What is Py_UNICODE_SIZE and why was it not defined? There are current > > questions I have. > > Py_UNICODE_SIZE is the number of bytes that a Py_UNICODE value should > have in the interpreter. With --enable-unicode=ucs2, it shou

Re: Compiling Python 2.5.2 on AIX 5.2

2008-04-15 Thread Martin v. Löwis
> What is Py_UNICODE_SIZE and why was it not defined? There are current > questions I have. Py_UNICODE_SIZE is the number of bytes that a Py_UNICODE value should have in the interpreter. With --enable-unicode=ucs2, it should be 2. I cannot guess why it is not defined; check pyconfig.h to find ou

Re: Compiling Python 2.5.2 on AIX 5.2

2008-04-14 Thread Randy Galbraith
On Apr 14, 7:01 am, "M.-A. Lemburg" <[EMAIL PROTECTED]> wrote: > On AIX 5.3, Python 2.5.2 should build out of the box using gcc. > > We've successfully build Python 2.3, 2.4 and 2.5 on AIX 5.3 > using the gcc compiler suite and tools installed from the > AIX Linux Toolbox: > > http://www-03.ibm.co

Re: Compiling Python 2.5.2 on AIX 5.2

2008-04-14 Thread M.-A. Lemburg
On 2008-04-13 18:57, [EMAIL PROTECTED] wrote: > I'm investigating the possible use of Mecurial SCM as a replacement > for CVS. Mecurial is written in Python. I have a background in GNU/ > Linux, Solaris, sparc and Perl. However AIX, powerpc and Python are > new to me. On AIX 5.3, Python 2.5.2 s

Re: compiling python source code under VC8

2007-12-04 Thread Martin v. Löwis
> I am trying to build python from scratch under VC8. The build process > runs and completes succesfully in debug mode resulting in > python_d.exe. But when i try to run this exe it returns an assertion > error and application crashes. What Python version are you trying to compile? This sounds li

Re: compiling python 2.5, missing zlib

2007-11-21 Thread mhearne808[insert-at-sign-here]gmail[insert-dot-here]com
On Nov 19, 8:22 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > Those headers are already installed, according to "up2date". Is there > > a way to specify the header files used? > > It will automatically use them if they are good. What's the value of > ZLIB_VERSION in /usr/include/zlib.h? > >

Re: compiling python 2.5, missing zlib

2007-11-19 Thread Martin v. Löwis
> Those headers are already installed, according to "up2date". Is there > a way to specify the header files used? It will automatically use them if they are good. What's the value of ZLIB_VERSION in /usr/include/zlib.h? Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: compiling python 2.5, missing zlib

2007-11-19 Thread mhearne808[insert-at-sign-here]gmail[insert-dot-here]com
On Nov 19, 2:19 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > Neither seems to work. What am I missing here? > > You forgot to install the zlib header files, which come in > an RPM provided by Redhat (probably called zlib-dev or some > such). > > Regards, > Martin Those headers are already

Re: compiling python 2.5, missing zlib

2007-11-19 Thread Martin v. Löwis
> Neither seems to work. What am I missing here? You forgot to install the zlib header files, which come in an RPM provided by Redhat (probably called zlib-dev or some such). Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: compiling python 3000 on debian etch

2007-11-02 Thread rustompmody
On Nov 2, 6:56 pm, Carl Banks <[EMAIL PROTECTED]> wrote: > > Here is the home page for the Debian source package for Python 2.5--it > lists the build dependencies. > > http://packages.debian.org/source/etch/python2.5 > Ok Thanks With that help Ive got it down to this (output of (end of) make) Fai

Re: compiling python 3000 on debian etch

2007-11-02 Thread Carl Banks
On Nov 2, 8:24 am, "Rustom Mody" <[EMAIL PROTECTED]> wrote: > Ive been trying to compile python 3000 on debian etch > And on running test I get: > > 4 skips unexpected on linux2: > test_tcl test_dbm test_ssl test_bsddb > > Can someone tell me what packages I am missing? Here is the home page f

Re: compiling python and calling it from C/C++

2007-06-08 Thread Russ
Diez B. Roggisch wrote: > Russ schrieb: > > Is it possible to compile python code into a library (on unix), then > > link to it and call it from C/C++? If so, where can I learn how. > > You can't compile python, but what you can do is create a > library-wrapping around it using elmer which will ma

Re: compiling python and calling it from C/C++

2007-06-08 Thread Szabolcs Nagy
Russ wrote: > Is it possible to compile python code into a library (on unix), then > link to it and call it from C/C++? If so, where can I learn how. > Thanks. not really but you may want to look into these: http://codespeak.net/pypy http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ http:

Re: compiling python and calling it from C/C++

2007-06-08 Thread Diez B. Roggisch
Russ schrieb: > Is it possible to compile python code into a library (on unix), then > link to it and call it from C/C++? If so, where can I learn how. You can't compile python, but what you can do is create a library-wrapping around it using elmer which will make it C-callable. http://elmer.sou

Re: Compiling python extension on amd64 for 32 bit

2007-05-26 Thread Andrew MacIntyre
Mathias Waack wrote: > Andrew MacIntyre wrote: > >> Mathias Waack wrote: >>> After switching my development environment to 64 bit I've got a >>> problem with a python extension for a 32 bit application. >> {...} >> >>> Ok, thats fine. So why is python complaining? Or even more >>> interesting, wha

Re: Compiling python extension on amd64 for 32 bit

2007-05-26 Thread Mathias Waack
Andrew MacIntyre wrote: > Mathias Waack wrote: >> After switching my development environment to 64 bit I've got a >> problem with a python extension for a 32 bit application. > > {...} > >> Ok, thats fine. So why is python complaining? Or even more >> interesting, what do I have to do to compile

Re: Compiling python extension on amd64 for 32 bit

2007-05-25 Thread Andrew MacIntyre
Mathias Waack wrote: > After switching my development environment to 64 bit I've got a problem with > a python extension for a 32 bit application. {...} > Ok, thats fine. So why is python complaining? Or even more interesting, what > do I have to do to compile the code? Is the Python your toolch

Re: Compiling Python code within a module

2007-05-19 Thread Gabriel Genellina
En Fri, 18 May 2007 20:49:33 -0300, Mitko Haralanov <[EMAIL PROTECTED]> escribió: > On 18 May 2007 15:51:40 -0700 > ici <[EMAIL PROTECTED]> wrote: > >> exec it :) > > Thank you! That works when I compile/exec it in the main body of the > program. However, when I try to do that in a separate modu

Re: Compiling Python code within a module

2007-05-18 Thread Mitko Haralanov
On 18 May 2007 15:51:40 -0700 ici <[EMAIL PROTECTED]> wrote: > exec it :) Thank you! That works when I compile/exec it in the main body of the program. However, when I try to do that in a separate module it doesn't. For example: Module Foo: import compiler class Foo: def __init__ (self)

Re: Compiling Python code within a module

2007-05-18 Thread ici
On May 19, 12:52 am, Mitko Haralanov <[EMAIL PROTECTED]> wrote: > For various reason, what I need to do is be able to send some Python > code (mostly entire functions in the form of a string) to a remote > server (written in Python), have that server compile the code and > insert it in the local na

Re: Compiling python from soruce vs RPM ?

2007-04-19 Thread Paul Boddie
On 19 Apr, 18:40, howa <[EMAIL PROTECTED]> wrote: > > but i have the source package being installed...so any method/script > to remove them? > > since finally i want to install via RPM ... You could use checkinstall to make a package, install it (forcibly if necessary), then remove it. That might

Re: Compiling python from soruce vs RPM ?

2007-04-19 Thread howa
On 4月19日, 下午5時49分, Paul Boddie <[EMAIL PROTECTED]> wrote: > On 19 Apr, 04:39, howa <[EMAIL PROTECTED]> wrote: > > > > > One more question: > > > How to uninstall using the source package? > > > the source package doesn't come with `make uninstall`? > > Right. That's another pitfall of most source d

Re: Compiling python from soruce vs RPM ?

2007-04-19 Thread Paul Boddie
On 19 Apr, 04:39, howa <[EMAIL PROTECTED]> wrote: > > One more question: > > How to uninstall using the source package? > > the source package doesn't come with `make uninstall`? Right. That's another pitfall of most source distributions (ie. the Python sources from python.org) compared to system

Re: Compiling python from soruce vs RPM ?

2007-04-18 Thread howa
On Apr 19, 6:10 am, Paul Boddie <[EMAIL PROTECTED]> wrote: > > Since /usr/bin/python isn't found, it doesn't look like there's an > existing version of Python that you might overwrite, but it's > important to verify such things when installing software. That's where > your distribution's packages h

Re: Compiling python from soruce vs RPM ?

2007-04-18 Thread Paul Boddie
howa wrote: > I have compiled python 2.5 from source > > i.e. > > ./configure > make > make install By default, configure uses /usr/local as the "prefix", not /usr... > but when i try to install another package require python, seems it > can't regonize python... > > e.g.. > > > /usr/bin/python is

Re: Compiling python from soruce vs RPM ?

2007-04-18 Thread hlubenow
howa wrote: > I have compiled python 2.5 from source > > i.e. > > ./configure > make > make install > > > but when i try to install another package require python, seems it > can't regonize python... > > e.g.. > > > /usr/bin/python is needed by xyz Does "/usr/bin/python" exist ? Why haven

Re: Compiling Python using the Portland Group compiler

2006-07-19 Thread Konrad Hinsen
On Jul 12, 2006, at 15:57, Konrad Hinsen wrote: > I am trying to install Python 2.4.3 on an AMD Opteron system using > the Portland Group's compiler (pgcc). Using > > CC="pgcc -DNCURSES_ENABLE_STDBOOL_H=0" OPT="-O0" LINKFORSHARED="-Wl,- > export-dynamic" ./configure --without-cxx > > I finally man

Re: Compiling Python using the Portland Group compiler

2006-07-14 Thread [EMAIL PROTECTED]
Konrad Hinsen wrote: > I am trying to install Python 2.4.3 on an AMD Opteron system using > the Portland Group's compiler (pgcc). Using > > I finally managed to obtain an executable that would start and work, > but it fails a couple of test cases: ... > Has anyone encountered such failures before?

Re: Compiling Python using the Portland Group compiler

2006-07-13 Thread Konrad Hinsen
Nick, > I would try to find out if pgcc has any compatibility switches. I saw > you turned optimization "off" but sometimes there is more you can do > disable some of the advanced behind the scenes magic. So apply all > those switches, run the tests and then try them one by one to find out > how

Re: Compiling Python using the Portland Group compiler

2006-07-12 Thread Nick Vatamaniuc
Konrad, I would try to find out if pgcc has any compatibility switches. I saw you turned optimization "off" but sometimes there is more you can do disable some of the advanced behind the scenes magic. So apply all those switches, run the tests and then try them one by one to find out how many you

  1   2   >