Difference between revisions of "Perl bindings"

From MythTV Official Wiki
Jump to: navigation, search
m (add category)
 
(One intermediate revision by one user not shown)
Line 14: Line 14:
  
 
(Do virtually all Linux systems come with this pre-installed?)
 
(Do virtually all Linux systems come with this pre-installed?)
 +
 +
===Ubuntu===
 +
 +
Just install libmythtv-perl BEFORE compiling
  
 
===Macintosh OS X Install===
 
===Macintosh OS X Install===
Line 21: Line 25:
 
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:Developer_Documentation]]
+
[[Category:Perl Bindings]]

Latest revision as of 14:27, 15 March 2014

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?)

Ubuntu

Just install libmythtv-perl BEFORE compiling

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.