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

Skip to content

Commit f58575e

Browse files
committed
Comment out crypt by default; it's not used very much and messes up
the default build on Linux (because it requires -lcrypt which isn't availabel everywhere). Some improvements to the _tkinter build line suggested by Case Roole.
1 parent cf4559a commit f58575e

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

Modules/Setup.in

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,14 @@ operator operator.c # operator.add() and similar goodies
148148
fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
149149
pwd pwdmodule.c # pwd(3)
150150
grp grpmodule.c # grp(3)
151-
crypt cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems
152151
select selectmodule.c # select(2); not on ancient System V
153152
socket socketmodule.c # socket(2); not on ancient System V
154153
errno errnomodule.c # posix (UNIX) errno values
155154

155+
# The crypt module is now disabled by default because it breaks builds
156+
# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
157+
#crypt cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems
158+
156159

157160
# Some more UNIX dependent modules -- off by default, since these
158161
# are not supported by all UNIX systems:
@@ -273,7 +276,7 @@ TKPATH=:lib-tk
273276

274277
# *** Always uncomment this (leave the leading underscore in!):
275278
# _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
276-
# *** Uncommend and edit to reflect where your X11 header files are:
279+
# *** Uncomment and edit to reflect where your X11 header files are:
277280
# -I/usr/X11R6/include \
278281
# *** Or uncomment this for Solaris:
279282
# -I/usr/openwin/include \
@@ -285,8 +288,6 @@ TKPATH=:lib-tk
285288
# -DWITH_BLT -I/usr/local/blt/blt8.0-unoff/include -lBLT8.0 \
286289
# *** Uncomment and edit for PIL (TkImaging) extension only:
287290
# -DWITH_PIL -I../Extensions/Imaging/libImaging tkImaging.c \
288-
# *** Uncomment and edit for Mesa (what's Mesa?):
289-
# -lGL -lGLU -lMesatk -lMesaaux \
290291
# *** Uncomment and edit for TOGL extension only:
291292
# -DWITH_TOGL togl.c \
292293
# *** Uncomment and edit to reflect where your Tcl/Tk libraries are:
@@ -297,9 +298,10 @@ TKPATH=:lib-tk
297298
# -L/usr/X11R6/lib \
298299
# *** Or uncomment this for Solaris:
299300
# -L/usr/openwin/lib \
301+
# *** Uncomment these for TOGL extension only:
302+
# -lGL -lGLU -lXext -lXmu \
300303
# *** Always uncomment this; X11 libraries to link with:
301-
# -lX11 -lXext -lXmu
302-
304+
# -lX11
303305

304306
# Lance Ellinghaus's modules:
305307

0 commit comments

Comments
 (0)