/Misc/README.OpenBSD

http://unladen-swallow.googlecode.com/ · Unknown · 38 lines · 27 code · 11 blank · 0 comment · 0 complexity · 84c9630beaebf9e874434942ae78fc62 MD5 · raw file

  1. 2005-01-08
  2. If you are have a problem building on OpenBSD and see output like this
  3. while running configure:
  4. checking curses.h presence... yes
  5. configure: WARNING: curses.h: present but cannot be compiled
  6. configure: WARNING: curses.h: check for missing prerequisite headers?
  7. configure: WARNING: curses.h: see the Autoconf documentation
  8. configure: WARNING: curses.h: section "Present But Cannot Be Compiled"
  9. configure: WARNING: curses.h: proceeding with the preprocessor's result
  10. configure: WARNING: curses.h: in the future, the compiler will take precedence
  11. there is likely a problem that will prevent building python.
  12. If you see the messages above and are able to completely build python,
  13. please tell python-dev@python.org indicating your version of OpenBSD
  14. and any other relevant system configuration.
  15. The build error that occurs while making may look something like this:
  16. /usr/include/sys/event.h:53: error: syntax error before "u_int"
  17. /usr/include/sys/event.h:55: error: syntax error before "u_short"
  18. To fix this problem, you will probably need update Python's configure
  19. script to disable certain options. Search for a line that looks like:
  20. OpenBSD/2.* | OpenBSD/3.@<:@012345678@:>@)
  21. If your version is not in that list, e.g., 3.9, add the version
  22. number. In this case, you would just need to add a 9 after the 8.
  23. If you modify configure.in, you will need to regenerate configure
  24. with autoconf.
  25. If your version is already in the list, this is not a known problem.
  26. Please submit a bug report here:
  27. http://sourceforge.net/tracker/?group_id=5470&atid=105470