« Weekly blog | Main | Weekly Report »

October 14, 2005

WOU Directory

I got the WOU directory script working on windows so just about anyone can run it now. Here's what you'll need to get it to work.

1) Install ActivePerl version 5.8.6 or higher from ActiveState on your computer.
2) Download GNU utilities for Win32 from http://unxutils.sourceforge.net/
3) Set your path statement so that it includes the path to the unix utilities. Right click on My Computer, select properties, click on advanced tab, environment variables. Down in the System varaibles box, find the Path variable. Click edit, and at the end of the path statement add: ;c:\directory_where_unix_utils_are_installed
click ok to save.
4)Run a CMD prompt, and type PPM.
Type: search PDF::API2
It should return with version 0.46.003 or higher.
Type: install 1 (or whatever number for the version you want)
It'll download and install into you perl directory, type quit when its done.
5) Run a CMD prompt again, change to I:\programmers\campusdir directory.
Type: perl facdir_pdf.pl my_directory_info.txt
*my_directory_info.txt should be whatever the name of the data file that contains the directory infomation. This file is tab seperated. An example of this is in I:\programmers\campusdir\2005-06dir.txt

Note: Right now it currently saves the pdf in I:\Programmers\mike\fac_staff_dir. This can be changed inside the perl script along with the other paths the script uses.

Posted by soukupm at October 14, 2005 01:48 PM

Comments

Post a comment

Thanks for signing in, . Now you can comment. (sign out)

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


Remember me?