Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5923050

Browse files
committed
Add warning FreeBSD users of a problem with curses and termcap,
submitted by Klaus-Juergen Wolf.
1 parent d5d55ea commit 5923050

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

README

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,15 @@ Linux: On Linux version 1.x, once you've built Python, use it to run
209209
-lcrypt option. Uncomment this flag in Modules/Setup, or
210210
comment out the crypt module in the same file.
211211

212+
FreeBSD 3.x and probably platforms with NCurses that use libmytinfo or
213+
similar: When using cursesmodule, the linking is not done in
214+
the correct order with the defaults. Remove "-ltermcap" from
215+
the readline entry in Setup, and use as curses entry: "curses
216+
cursesmodule.c -lmytinfo -lncurses -ltermcap" - "mytinfo" (so
217+
called on FreeBSD) should be the name of the auxiliary library
218+
required on your platform. Normally, it would be linked
219+
automatically, but not necessarily in the correct order.
220+
212221
DEC Unix: When enabling threads, use --with-dec-threads, not
213222
--with-thread. When using GCC, it is possible to get an
214223
internal compiler error if optimization is used. This was

0 commit comments

Comments
 (0)