------------------------------------------------------------- Using Perl/Tk on your own machine ------------------------------------------------------------- First and foremost, get Perl installed on your machine: Windows: http://www.activestate.com/Products/ActivePerl/ --> Download Unix: http://www.cpan.org/src/stable.tar.gz unzip, untar, Configure -des, make, make test, make install Note that the Windows Distribution should already contain Perl/Tk. The Unix distribution will not. First, check to see if Perl/Tk is already installed on your system: perl -MTk -e 1 If no errors, Tk is installed. Enjoy. If "Can't locate Tk.pm in @INC (@INC contains.... ", you need to install Tk.pm: Windows (again, should already be there, but if not): ppm install Tk Unix http://search.cpan.org/CPAN/authors/id/N/NI/NI-S/Tk-804.027.tar.gz unzip, untar, perl Makefile.PL, make, make test, make install Do a simple test to verify all is well: perl -MTk $mw = MainWindow->new; MainLoop; (press CTRL-D (followed by Enter on Windows) ) ------------------------------------------------------------- Using Perl/Tk on the RPI CS dept. computers ------------------------------------------------------------- Go to a CS Lab. Either AE 217 or AE 117. Log in with your CS Account information. Open a console window. Start writing, testing, and running Perl/Tk Applications ------------------------------------------------------------- Using Perl/Tk on the RPI CS dept. computers via your own machine ------------------------------------------------------------- Note: This will be the slowest method. Programs will take a long time to show up on your computer. Obtain an Xserver program. Either Hummingbird Exceed or WinaXe should work. If you know how to 'creatively acquire' Exceed, don't tell me about it. To get WinaXe: http://www.labf.com/download/winaxe.html "Start download WinaXe" Install the program. Start an X Session. Open your SSH client. Make sure SSH forwarding is enabled (you may have to save this preference and restart) In SecureCRT, go to Options->Session Options->Connection->Port Forwarding->X11 and check the box. You must then save settings and restart the session. Connect to solaris.remote.cs.rpi.edu Write, save, and run your Perl/Tk application If you encounter any difficulty installing or starting Perl/Tk, please let us know: perlS05@cs.rpi.edu