diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-01-09 07:29:03 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-01-09 07:29:03 (GMT) |
commit | 4372558a95f59d03a018994089868f93e3585589 (patch) | |
tree | 42f2aacbb31df9911d343836a9ddcc2d4f89227c /Misc/README.OpenBSD | |
parent | 671b9e34c6b05c42eba2ad29dd3d82975cb374ae (diff) | |
download | cpython-4372558a95f59d03a018994089868f93e3585589.zip cpython-4372558a95f59d03a018994089868f93e3585589.tar.gz cpython-4372558a95f59d03a018994089868f93e3585589.tar.bz2 |
Add some notes about a recurring problem with OpenBSD
Diffstat (limited to 'Misc/README.OpenBSD')
-rw-r--r-- | Misc/README.OpenBSD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Misc/README.OpenBSD b/Misc/README.OpenBSD new file mode 100644 index 0000000..b417ecc --- /dev/null +++ b/Misc/README.OpenBSD @@ -0,0 +1,38 @@ + +2005-01-08 + +If you are have a problem building on OpenBSD and see output like this +while running configure: + +checking curses.h presence... yes +configure: WARNING: curses.h: present but cannot be compiled +configure: WARNING: curses.h: check for missing prerequisite headers? +configure: WARNING: curses.h: see the Autoconf documentation +configure: WARNING: curses.h: section "Present But Cannot Be Compiled" +configure: WARNING: curses.h: proceeding with the preprocessor's result +configure: WARNING: curses.h: in the future, the compiler will take precedence + +there is likely a problem that will prevent building python. +If you see the messages above and are able to completely build python, +please tell python-dev@python.org indicating your version of OpenBSD +and any other relevant system configuration. + +The build error that occurs while making may look something like this: + + /usr/include/sys/event.h:53: error: syntax error before "u_int" + /usr/include/sys/event.h:55: error: syntax error before "u_short" + +To fix this problem, you will probably need update Python's configure +script to disable certain options. Search for a line that looks like: + + OpenBSD/2.* | OpenBSD/3.@<:@012345678@:>@) + +If your version is not in that list, e.g., 3.9, add the version +number. In this case, you would just need to add a 9 after the 8. +If you modify configure.in, you will need to regenerate configure +with autoconf. + +If your version is already in the list, this is not a known problem. +Please submit a bug report here: + + http://sourceforge.net/tracker/?group_id=5470&atid=105470 |