annotate Misc/README.OpenBSD @ 79675:c0a2294de787 2.7

Issue #16199: Backport 2to3 typo fix from 3.2.
author Chris Jerdonek <chris.jerdonek@gmail.com>
date Thu, 11 Oct 2012 16:15:46 -0700
parents f5bf91af01ca
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
36255
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
1
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
2 2005-01-08
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
3
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
4 If you are have a problem building on OpenBSD and see output like this
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
5 while running configure:
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
6
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
7 checking curses.h presence... yes
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
8 configure: WARNING: curses.h: present but cannot be compiled
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
9 configure: WARNING: curses.h: check for missing prerequisite headers?
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
10 configure: WARNING: curses.h: see the Autoconf documentation
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
11 configure: WARNING: curses.h: section "Present But Cannot Be Compiled"
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
12 configure: WARNING: curses.h: proceeding with the preprocessor's result
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
13 configure: WARNING: curses.h: in the future, the compiler will take precedence
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
14
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
15 there is likely a problem that will prevent building python.
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
16 If you see the messages above and are able to completely build python,
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
17 please tell python-dev@python.org indicating your version of OpenBSD
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
18 and any other relevant system configuration.
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
19
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
20 The build error that occurs while making may look something like this:
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
21
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
22 /usr/include/sys/event.h:53: error: syntax error before "u_int"
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
23 /usr/include/sys/event.h:55: error: syntax error before "u_short"
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
24
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
25 To fix this problem, you will probably need update Python's configure
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
26 script to disable certain options. Search for a line that looks like:
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
27
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
28 OpenBSD/2.* | OpenBSD/3.@<:@012345678@:>@)
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
29
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
30 If your version is not in that list, e.g., 3.9, add the version
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
31 number. In this case, you would just need to add a 9 after the 8.
75668
f5bf91af01ca - rename configure.in to configure.ac
Matthias Klose <doko@ubuntu.com>
parents: 36255
diff changeset
32 If you modify configure.ac, you will need to regenerate configure
36255
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
33 with autoconf.
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
34
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
35 If your version is already in the list, this is not a known problem.
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
36 Please submit a bug report here:
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
37
3c15976ff618 Add some notes about a recurring problem with OpenBSD
Neal Norwitz <nnorwitz@gmail.com>
parents:
diff changeset
38 http://sourceforge.net/tracker/?group_id=5470&atid=105470