[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2009-09-10 Thread Zvezdan Petkovic
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

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2009-02-22 Thread Zvezdan Petkovic
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

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-11-04 Thread Martin v. Löwis
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 ___

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-11-03 Thread Barry A. Warsaw
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 ___

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-11-03 Thread Christian Heimes
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]

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-11-03 Thread Christian Heimes
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]

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-31 Thread Akira Kitada
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 ___

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-28 Thread Roumen Petrov
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

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-28 Thread Akira Kitada
Changes by Akira Kitada [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file11897/issue4204.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4204 ___

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-28 Thread Christian Heimes
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 ___

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-27 Thread Jesse Noller
Changes by Jesse Noller [EMAIL PROTECTED]: -- nosy: +jnoller ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4204 ___ ___ Python-bugs-list mailing list

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-27 Thread Akira Kitada
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

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-27 Thread Jesse Noller
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]

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-27 Thread Mark Dickinson
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:

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-27 Thread Roumen Petrov
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

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-27 Thread Akira Kitada
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.) ==

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-27 Thread Akira Kitada
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]

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-26 Thread Akira Kitada
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

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-26 Thread Christian Heimes
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'):

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-26 Thread Akira Kitada
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

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-26 Thread Christian Heimes
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 ___

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-26 Thread Akira Kitada
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]

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-26 Thread Akira Kitada
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

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-25 Thread Akira Kitada
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

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-25 Thread Martin v. Löwis
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]