Cygwin Python and Tkinter


*** Note: Tkinker and Idle are now in the default Cygwin Python distribution ***

  1. install the missing 'X' headers for tcl/tk
  2. You will also need my slightly modified setup.py
  3. Cygwin TCL needs a Win32 path
      I just add this to my ~/.bashrc
    1. export TCL_LIBRARY=`cygpath -w /`"usr\\share\\tcl8.0"
    2. export TK_LIBRARY=`cygpath -w /`"usr\\share\\tk8.0"
      Note I have cygwin installed at a drive's root directory
      If your installation is not installed at root you will probably need
      1. export TCL_LIBRARY=`cygpath -w /`"\\usr\\share\\tcl8.0"
      2. export TK_LIBRARY=`cygpath -w /`"\\usr\\share\\tk8.0"
  4. recompile and install Python2.1
    1. cd Python2.1
    2. ./configure --without-threads
    3. make

Last modified: 04/19/01
Norman Vine(nhv@cape.com)

Home