Installing Shepherd onto OSX Lion

I’ve been building a replacement server for my current mythtv box that is running on OS X Lion.

To install shepherd epg grabber I used the following procedure:

 

Install Active Perl form ActiveState.

http://www.activestate.com/activeperl

 
make sure you add activeperl to your .profile:
export PATH=/usr/local/ActivePerl-5.16/bin:/opt/local/bin:/opt/local/sbin:$PATH
 

install shepherd prerequisites:

sudo cpan
install XML::Parser
install XML::Twig
install XML::Writer
install Date::Manip
install LWP
install Memoize
install Storable
install HTML::Parser
install HTML::TreeBuilder
install SOAP::Lite
install CGI
install Term::ProgressBar
install PerlIO::gzip
install Compress::Zlib
install Lingua::Preferred
install Unicode::String
install Lingua::EN::Numbers::Ordinate
install Log::TraceMessages
install WWW::Mechanize
install HTML::TableExtract
install Net::SSL
install XML::LibXML

exit

 

Install perl MySQL client

ppm install DBD-mysql

 

then install HTTP Cache Transparent proxy

ppm install HTTP-cache-transparent

 

Download xmltv

http://sourceforge.net/projects/xmltv/files/

uncompress xmltv, change directories and compile

perl Makefile.PL