Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Edit the file, "Modules/Setup"
    • There will be 4 relevant lines in this file that you have to edit.  They look like this:
    • *# *** Always uncomment this (leave the leading underscore in!)*:
       __tkinter _tkinter.c tkappinit.c -DWITH_APPINIT {_color}
      # ***
      {*}Uncomment and edit to reflect where your Tcl/Tk libraries are{*}:
             -L/usr/lib { {color:#000000}}
      # *** {*}Uncomment and edit to reflect where your Tcl/Tk headers are{*}:
             -I/usr/include {{color:#000000}}
      # *** Uncomment and edit to reflect your Tcl/Tk versions:
             -ltk8.4 -ltcl8.4 { {color:#000000}} # **
  2.  IMPORTANT{*}- setup the LD_RUN_PATH environment variable to point to the location of the tcl/tk libraries (the "-L" value in Modules/Setup)
    • *setenv LD_RUN_PATH <Library Location>*
      • e.g., setenv LD_RUN_PATH/usr/lib
  3. Run make
    • make
  4. ** Unset the LD_RUN_PATH environment varible{*}
    • unsetenv LD_RUN_PATH
  5. Run
    • make install