Zvezdan Petkovic zvez...@zope.com added the comment:
I worked around the issue mentioned in msg82619.
The readline patch (issue 6877) is not adversely affected by the patch
applied in this issue. This issue can remain closed AFAIC.
--
___
Python
Zvezdan Petkovic zvez...@zope.com added the comment:
Part of this patch committed in -r 67098 breaks Mac OS X 10.5,
because the completion_matches() function is already declared in
/usr/include/readline/readline.h and the new declaration conflicts with
it.
If the lack of this declaration is a
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Thanks for the patch. Committed as r67098, r67099, and r67100.
--
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4204
___
Barry A. Warsaw [EMAIL PROTECTED] added the comment:
Christian, if you like the patch go ahead and land it.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4204
___
Christian Heimes [EMAIL PROTECTED] added the comment:
I don't fully grasp the details of the configure.in change. I don't have
the means to test the change on Mac and BSD. How should we pursue it?
The rest is fine with me.
___
Python tracker [EMAIL PROTECTED]
Christian Heimes [EMAIL PROTECTED] added the comment:
Martin, can you please review the configure.in change? Barry and I
agreed that you a most probably the best person for the job. :]
--
assignee: barry - loewis
___
Python tracker [EMAIL PROTECTED]
Akira Kitada [EMAIL PROTECTED] added the comment:
Christian,
Thank you for the review.
Let me know if there is anything I could help with this.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4204
___
Roumen Petrov [EMAIL PROTECTED] added the comment:
The patch issue4204.diff split cases for FreeBSD/4.8* | Darwin/6* ).
Please look 10-15 lines below in same case statement
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4204
Changes by Akira Kitada [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11897/issue4204.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4204
___
Christian Heimes [EMAIL PROTECTED] added the comment:
The patch looks fine to me.
--
assignee: - barry
resolution: - accepted
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4204
___
Changes by Jesse Noller [EMAIL PROTECTED]:
--
nosy: +jnoller
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4204
___
___
Python-bugs-list mailing list
Akira Kitada [EMAIL PROTECTED] added the comment:
Attached is the patch containing all fixes.
I tested this on py3k and trunk on FreeBSD 4.11.
The test was done by using unitests in Lib/test.
Because I could not find a test for readline and
multiprocessing's test does not work on systems with
Jesse Noller [EMAIL PROTECTED] added the comment:
Please see issue3770 for details on the multiprocessing library, SEM_OPEN
and freebsd. The short answer is that FreeBSD support for MP is not
available.
___
Python tracker [EMAIL PROTECTED]
Mark Dickinson [EMAIL PROTECTED] added the comment:
The test_math failure may well be due to a libm bug: tanh(-0.0)
might be incorrectly (judging by the BSD man pages) dropping the negative
sign from the negative zero.
In the output of ./configure, there should be a line that looks like:
Roumen Petrov [EMAIL PROTECTED] added the comment:
about changes in configure.in(issue4204.diff) - it seems to me that we
could unify all darwin platforms.
--
nosy: +rpetrov
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4204
Akira Kitada [EMAIL PROTECTED] added the comment:
Here's the output of configure.
Just as Mark said, it looks this is due to a libm bug.
$ grep tanh config.log
configure:22062: checking whether tanh preserves the sign of zero
|and tanh(-0.) == -0. */
| atan2(tanh(-0.), -1.) ==
Akira Kitada [EMAIL PROTECTED] added the comment:
Roumen,
in Darwin, there is a macro called _DARWIN_C_SOURCE,
which re-enables things disabled by _XOPEN_SOURCE or the like.
(At least on OS X 10.5.5)
___
Python tracker [EMAIL PROTECTED]
Akira Kitada [EMAIL PROTECTED] added the comment:
Attached patch fixes build problem of math and mmap.
Apparently, FreeBSD 4 does not make some math functions available when
_XOPEN_SOURCE is defined and unlike newer FreeBSD, it cannot be fixed
with __BSD_VISIBLE macro.
As for readline, it just
Christian Heimes [EMAIL PROTECTED] added the comment:
The setup.py file in the root directory doesn't have a special case for
freebsd4, just for Free BSD 5 to 8. Apparently FreeBSD doesn't support
SEM_TIMEDWAIT at all.
elif platform in ('freebsd5', 'freebsd6', 'freebsd7', 'freebsd8'):
Akira Kitada [EMAIL PROTECTED] added the comment:
Thanks Christian,
Now all modules are working.
$ ./python
Python 2.6 (r26:66714, Oct 14 2008, 15:18:41)
[GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
Type help, copyright, credits or license for more information.
import multiprocessing
import
Christian Heimes [EMAIL PROTECTED] added the comment:
No, you still have to create a patch for the readline module. ;)
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4204
___
Akira Kitada [EMAIL PROTECTED] added the comment:
Here's the one.
I tested this patch on FreeBSD 4.11 and 6.3.
Both worked. :)
Added file: http://bugs.python.org/file11892/Modules_readline.c.diff
___
Python tracker [EMAIL PROTECTED]
Akira Kitada [EMAIL PROTECTED] added the comment:
I will.
Would it be enough to test on trunk and py3k branch?
By the way, trunk seems to have some problem building now.
./Parser/asdl_c.py -h ./Include ./Parser/Python.asdl
env: python: No such file or directory
*** Error code 127
Stop in
New submission from Akira Kitada [EMAIL PROTECTED]:
I was trying to build Python 2.6 on FreeBSD 4.11 and found it failed
to build some of the modules.
Failed to find the necessary bits to build these modules:
_bsddb _sqlite3 _tkinter
gdbm linuxaudiodev
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Even if a certain platform is supported, you can't infer that all
modules will build on it.
Can you propose a patch?
--
nosy: +loewis
___
Python tracker [EMAIL PROTECTED]
25 matches
Mail list logo