Difference between revisions of "XMLTVWindowsBuild"

From XMLTV
Jump to: navigation, search
Line 11: Line 11:
 
'''WARNING:  I don't recommend using any directories with spaces or other special characters in them!'''
 
'''WARNING:  I don't recommend using any directories with spaces or other special characters in them!'''
  
1. Download/Install [http://strawberryperl.com/ Strawberry Perl]
+
1. Download/Install [http://strawberryperl.com/ Strawberry Perl] (I use c:\strawberry)
  
 
2. Drill down the [http://files.xmltv.org XMLTV Sourceforge Distribution site] and grab the latest non-Win32 XMLTV distribution (for example: xmltv-0.5.65.tar.bz2.
 
2. Drill down the [http://files.xmltv.org XMLTV Sourceforge Distribution site] and grab the latest non-Win32 XMLTV distribution (for example: xmltv-0.5.65.tar.bz2.
  
3. Extract tar.bz2 file to a local directory.  I use [http://www.7-zip.org/ 7-Zip].  Note, you may have do it twice (first unzip to .tar, then to folder.
+
3. Extract tar.bz2 source tree to a local directory (I use c:\xmltv) .  I use [http://www.7-zip.org/ 7-Zip].  Note, you may have do it twice (first unzip to .tar, then to folder.
 +
 
 +
4. Open a windows command prompt (cmd.exe) and CD to your XMLTV folder.
 +
 
 +
5. execute "perl Makefile.PL".  Look for the XMLTV utility you would like to use.  Is it already "yes" to include? If not, answer the questions and note the modules the Makefile.PL says you need to include.
 +
 
 +
For a full install I needed these modules
 +
  Date::Manip
 +
  XML::DOM
 +
  XML::Twig
 +
  HTTP::Cache::Transparent
 +
  DateTime::Format::Strptime
 +
  DateTime::Format::ISO8601
 +
  XML::Writer
 +
  Tk
 +
  Tk::TableMatrix
 +
 
 +
 
 +
6.

Revision as of 21:35, 14 June 2014

    • IN PROGRESS **

Historically, one of the trickier tasks for XMLTV has been installing Perl and all the necessary modules for Windows. The situation has been made much better with the release of the Windows XMLTV distribution that includes a prepackaged PERLApp executable called XMLTV.EXE.

There are times when folks would like to run native XMLTV or other Perl programs on Windows. This Page documents the process I followed to do it using Strawberry Perl.

Strawberry Perl is a perl environment for MS Windows containing all you need to run and develop perl applications. It is designed to be as close as possible to perl environment on UNIX systems.

Strawberry Perl is a Windows Perl distribution that includes a compiler (gcc) and other tools that allow you to install packages from CPAN just like you would on a Unix/Linux system.

WARNING: I don't recommend using any directories with spaces or other special characters in them!

1. Download/Install Strawberry Perl (I use c:\strawberry)

2. Drill down the XMLTV Sourceforge Distribution site and grab the latest non-Win32 XMLTV distribution (for example: xmltv-0.5.65.tar.bz2.

3. Extract tar.bz2 source tree to a local directory (I use c:\xmltv) . I use 7-Zip. Note, you may have do it twice (first unzip to .tar, then to folder.

4. Open a windows command prompt (cmd.exe) and CD to your XMLTV folder.

5. execute "perl Makefile.PL". Look for the XMLTV utility you would like to use. Is it already "yes" to include? If not, answer the questions and note the modules the Makefile.PL says you need to include.

For a full install I needed these modules

  Date::Manip
  XML::DOM
  XML::Twig
  HTTP::Cache::Transparent
  DateTime::Format::Strptime
  DateTime::Format::ISO8601
  XML::Writer
  Tk
  Tk::TableMatrix


6.