Ronald Oussoren added the comment:
This issue is fixed in the trunk and python2.5 branch.
To work around this issue with the 2.5.1 source tree you have to set
MACOSX_DEPLOYMENT_TARGET when configuring python:
../configure insert-args-here MACOSX_DEPLOYMENT_TARGET=10.3
(the value 10.3 is
Guido van Rossum added the comment:
IMO it should be set to 10.4 since we want binaries that run on that
platform too. Is this something we can fix in the configure script?
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1358
Simon Percivall added the comment:
It has to do with the MACOSX_DEPLOYMENT_TARGET. If it's set to 10.4, the
legacy version of setpgrp is used (with args), it it's 10.5, setpgrp
expects no arguments. It seems configure won't detect the difference.
--
nosy: +percivall
Guido van Rossum added the comment:
Thanks for testing on Leopard! I haven't gotten that yet.
Assigning to Neal since this ought to be fixed before 2.5.2 is released.
(But someone needs to come up with a proper patch.)
--
assignee: - nnorwitz
nosy: +gvanrossum, nnorwitz
priority: -
Martin v. Löwis added the comment:
There is an autoconf test that tries to compile
| #include unistd.h
| int
| main ()
| {
| setpgrp(0,0);
| ;
| return 0;
| }
(with many additional defines - see config.log.gz). This file compiles
with the error message
conftest.c:185: error: too many
Neal Norwitz added the comment:
I don't have access to a 10.5 machine. My guess is that the difference
is between configure not setting _XOPEN_SOURCE and/or
_XOPEN_SOURCE_EXTENDED and it being set in pyconfig.h. At least those
are both defined on 10.4.
This page talks about needing to
New submission from andres:
Compiling python 2.5.1 on Mac OS X 10.5 (Leopard) fails with the
following message:
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I.
-I./Include -DPy_BUILD_CORE -c ./Modules/posixmodule.c -o
andres added the comment:
I've attached a compressed config.log.
Incidentally, we were able to get Python to compile by appending the
following line to pyconfig.h:
#define SETPGRP_HAVE_ARG
-Andres
On Oct 29, 2007, at 1:00 PM, Martin v. Löwis wrote:
Martin v. Löwis added the comment:
Martin v. Löwis added the comment:
Can you please also attach config.log (perhaps compressed)?
--
nosy: +loewis
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1358
__