Difference between revisions of "Perl bindings"

From MythTV Official Wiki
Jump to: navigation, search
(new)
 
m (adjust category)
(One intermediate revision by the same user not shown)
Line 20: Line 20:
  
 
Note:  I tried installing via CPAN and MacPorts but perl still could not find the DBI/DBD modules.  I don't know why.
 
Note:  I tried installing via CPAN and MacPorts but perl still could not find the DBI/DBD modules.  I don't know why.
 +
 +
[[Category:Perl Bindings]]

Revision as of 06:58, 16 June 2010

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.