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

Skip to content

Commit 8bf6dc7

Browse files
committed
Rearrange the -I flags for compiling _tkinter.c so that
/usr/local/include comes before /usr/X11R1/include. On some Linux distributions the latter apparently contains (standard!) a bad tcl.h or tk.h.
1 parent 2fff84d commit 8bf6dc7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Modules/Setup.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,12 +274,12 @@ TKPATH=:lib-tk
274274

275275
# *** Always uncomment this (leave the leading underscore in!):
276276
# _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
277+
# *** Uncomment and edit to reflect where your Tcl/Tk headers are:
278+
# -I/usr/local/include \
277279
# *** Uncomment and edit to reflect where your X11 header files are:
278280
# -I/usr/X11R6/include \
279281
# *** Or uncomment this for Solaris:
280282
# -I/usr/openwin/include \
281-
# *** Uncomment and edit to reflect where your Tcl/Tk headers are:
282-
# -I/usr/local/include \
283283
# *** Uncomment and edit for Tix extension only:
284284
# -DWITH_TIX -ltix4.1.8.0 \
285285
# *** Uncomment and edit for BLT extension only:

0 commit comments

Comments
 (0)