Perl bindings

From MythTV Official Wiki
Revision as of 06:58, 16 June 2010 by Wagnerrp (Talk | contribs)

Jump to: navigation, search

Certain scripts have been converted to use the perl bindings in accessing the Mythconverg database. (Explain here the good reasons this was done...) (When did this happen; which version of MythTV?)

Scripts converted to use bindings

  • optimize_mythdb.pl
  • (list others here)

Prerequisites

You must have the MySQL DBD and the DBI interface modules installed. If not, running a converted script will result in an error message similar to the following:

Can't locate DBI.pm in @INC

Installation

(Do virtually all Linux systems come with this pre-installed?)

Macintosh OS X Install

The instructions from http://www.quicomm.com/apm_dbddbi.htm worked for me.

Note: I tried installing via CPAN and MacPorts but perl still could not find the DBI/DBD modules. I don't know why.