Issue 1026986: building on OpenBSD 3.5 (original) (raw)

Created on 2004-09-13 02:46 by trevp, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
openbsd.diff trevp,2004-09-15 05:20
Messages (4)
msg46892 - (view) Author: Trevor Perrin (trevp) Date: 2004-09-13 02:46
Doing ./configure, make on OpenBSD 3.5 with Python 2.4a3 doesn't work. I looked in the OpenBSD 3.5 ports tree for Python 2.3, and saw a patch with a couple changes to Python's configure file. (plus a patch with a tiny tweak to one of the tests). With these changes, compile / make / regrtest.py seems to work: -bash-2.05b$ ../../python regrtest.py -q -unetwork No handlers could be found for logger "cookielib" -bash-2.05b$
msg46893 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-09-14 07:22
Logged In: YES user_id=21627 Why the change to LDSHARED? Didn't OpenBSD use a.out at some point in time? Does the C preprocessor not define __ELF__ anymore?
msg46894 - (view) Author: Trevor Perrin (trevp) Date: 2004-09-15 05:20
Logged In: YES user_id=973611 I don't know. I copied that blindly from a patch in OpenBSD's python port. It doesn't appear to be necessary (I can configure & make without it), so I'm resubmitting the patch without it. Also, OpenBSD 3.6 is in beta, and will be released November 1. Looking at the source, it will require this change as well. From the below thread, the OpenBSD people don't seem to be on the verge of fixing this. So I made the patch apply to 3.6. http://www.netsys.com/openbsd-tech/2003/05/msg00172.html
msg46895 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-09-15 06:03
Logged In: YES user_id=21627 Thanks for the patch. Applied as configure 1.456 configure.in 1.469 test_tempfile.py 1.18
History
Date User Action Args
2022-04-11 14:56:07 admin set github: 40903
2004-09-13 02:46:19 trevp create