diff options
Diffstat (limited to '')
-rw-r--r-- | lang/python+ipv6/files/Setup.tk | 53 |
1 files changed, 40 insertions, 13 deletions
diff --git a/lang/python+ipv6/files/Setup.tk b/lang/python+ipv6/files/Setup.tk index 81869a2405de..291a9ca3d748 100644 --- a/lang/python+ipv6/files/Setup.tk +++ b/lang/python+ipv6/files/Setup.tk @@ -2,18 +2,45 @@ # The _tkinter module. # -# See the section "The Tk interface" in ../README for more info. -# -# Enable the TKPATH line and choose the most applicable _tkinter line. -# You may have to change /usr/local to wherever Tcl/Tk are installed. -# Change the -l arguments to use Tcl 7.4 and Tk 4.0! +# The TKPATH variable is always enabled, to save you the effort. +TKPATH=:lib-tk + +# The command for _tkinter is long and site specific. Please +# uncomment and/or edit those parts as indicated. If you don't have a +# specific extension (e.g. Tix or BLT), leave the corresponding line +# commented out. (Leave the trailing backslashes in! If you +# experience strange errors, you may want to join all uncommented +# lines and remove the backslashes -- the backslash interpretation is +# done by the shell's "read" command and it may not be implemented on +# every system. + +# *** Always uncomment this (leave the leading underscore in!): +_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT -I${X11BASE}/include -I${PREFIX}/include/tcl8.0 -I${PREFIX}/include/tk8.0 -L${PREFIX}/lib -ltk80 -ltcl80 -L${X11BASE}/lib -lX11 -# *** ALWAYS enable this line: -TKPATH=:$(DESTLIB)/tkinter +# *** Uncommend and edit to reflect where your X11 header files are: +# -I/usr/X11R6/include \ +# *** Or uncomment this for Solaris: +# -I/usr/openwin/include \ +# *** Uncomment and edit to reflect where your Tcl/Tk headers are: +# -I/usr/local/include/tcl8.0 -I/usr/local/include/tk8.0 \ +# *** Uncomment and edit for Tix extension only: +# -DWITH_TIX -ltix4.1.8.0 \ +# *** Uncomment and edit for BLT extension only: +# -DWITH_BLT -I/usr/local/blt/blt8.0-unoff/include -lBLT8.0 \ +# *** Uncomment and edit for PIL (TkImaging) extension only: +# -DWITH_PIL -I../Extensions/Imaging/libImaging tkImaging.c \ +# *** Uncomment and edit for Mesa (what's Mesa?): +# -lGL -lGLU -lMesatk -lMesaaux \ +# *** Uncomment and edit for TOGL extension only: +# -DWITH_TOGL togl.c \ +# *** Uncomment and edit to reflect where your Tcl/Tk libraries are: +# -L/usr/local/lib \ +# *** Uncomment and edit to reflect your Tcl/Tk versions: +# -ltk80 -ltcl80 \ +# *** Uncomment and edit to reflect where your X11 libraries are: +# -L/usr/X11R6/lib \ +# *** Or uncomment this for Solaris: +# -L/usr/openwin/lib \ +# *** Always uncomment this; X11 libraries to link with: +# -lX11 -lXext -lXmu -# *** Enable *one* of the following lines: -# For Solaris: -#_tkinter _tkinter.c -I/usr/openwin/include -I/usr/local/include -L/usr/openwin/lib -L/usr/local/lib -ltk4.1 -ltcl7.5 -lX11 -# For generic system (may have to add -I/-L options to find X11): -#_tkinter _tkinter.c -I/usr/local/include -L/usr/local/lib -ltk4.1 -ltcl7.5 -lX11 -_tkinter _tkinter.c -I${PREFIX}/include/tk8.0 -I${PREFIX}/include/tcl8.0 -I${X11BASE}/include -L${PREFIX}/lib -L${X11BASE}/lib -ltk80 -ltcl80 -lX11 |