Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
User Journal

Journal gwyrdd benyw's Journal: Tivo log: sections 2, 3 and 4, and bus error! Help!

Here is a log of the steps I took, following section 2, 3 and 4 of the tivocanada.com guide.

SECTION 2 Install the Slice Generation Programs
SECTION 2.1 Linux Programs
SECTION 2.1.1 Installing xmltv
SECTION 2.1.1.1 Configure perl

Mostly straight-forward. I originally tried installing perl via fink, but gave up (it was putting modules in strange places and some were failing to compile), and followed Apple's perl5.8.0 install instructions (make sure to "mkdir /usr/local/" first). I needed to install some things manually:

Text::Iconv: the iconv library is needed first. David Wheeler's page explains what to do here.

expat: the expat library is needed for XML. Follow David Wheeler's advice again.

libxml2: download and install from http://xmlsoft.org/downloads.html

GDBM_File: although this is included in the perl5.8.0 distribution, for some reason it doesn't compile and install automatically when you upgrade to 5.8.0. I found it with "locate GDBM_File" in /usr/local/src/perl-5.8.0/ext/, so just went in there and compiled/installed it myself. I also found a few other things in the ext directory that didn't install, so I processed those as well for good measure.
You also need to create a "bin" user and group (the group already exists), and since I was away from my console I couldn't use the Users system preference (not a good idea anyway, as it will create a full-blown user in the /Users directory and other unnecessary things), I ran:

% nireport / /users name uid
% niutil -create / /users/bin
% niutil -createprop / /users/bin uid 7
% niutil -createprop / /users/bin gid 7
% niutil -createprop / /users/bin passwd "*"
% niutil -createprop / /users/bin home /dev/null
% niutil -createprop / /users/bin shell /dev/null
% niutil -createprop / /users/bin realname "System Binaries"

SECTION 2.1.2 Install guidedir

% cd ~
% mkdir guidedir
% cd ~tivo/tivo_canada_cvs_files/guidedir
% cvs update
% cp -rf * ~tivo/guidedir
% cd ~tivo/guidedir
% vi .tivoguiderc
(change /home/tivo to /Users/tivo)

SECTION 2.1.3 Install xmltv2tivo

% cd ~
% mkdir xmltv2tivo
% cd ~tivo/tivo_canada_cvs_files/xmltv2tivo
% cvs update
% cp -rf * ~tivo/xmltv2tivo
% cd ~tivo/xmltv2tivo
% vi Makefile
(edit include path to /usr/local/include)

% make

(got the error "ld: archive: ./iniparser/libiniparser.a has no table of contents, add one with ranlib(1) (can't load from it)
make: *** [xmltv2tivo] Error 1"
)

% ranlib iniparser/*.a
% make
% mkdir ~tivo/.tivohelper
% mkdir ~tivo/.tivohelper/maps
% cp ~tivo/xmltv2tivo/schema.txt ~tivo/.tivohelper/maps/
% vi ~tivo/.tivohelper/config.ini
(add contents from 2.1.3)

% cd ~tivo/xmltv2tivo
% mkdir urldata

SECTION 2.1.4 Install headend-utils

% mkdir ~tivo/headend-utils
% cd ~tivo/tivo_canada_cvs_files/headend-utils
% cvs update
% cp -rf * ~tivo/headend-utils


SECTION 3 Create Configuration Files Required for Slice Generation
SECTION 3.1 Linux setup
SECTION 3.1.1 Create tv_grab_na.conf File


% cd ~
% tv_grab_na --configure
(will ask questions, or use a pre-existing.xmltv/tv_grab_na.conf)

SECTION 3.1.2 Customize the config.ini file (not optional!!)

% vi ~tivo/headend-utils/config.ini

- add entries for "version", "zipcode", "state", "community", "county" and "headendcode"

SECTION 3.1.3 Create headend.txt & stations.txt Files

% cd headend-utils
% ./mkconfigfiles.pl ~tivo/.xmltv/tv_grab_na.conf

Add missing channel entries to ~tivo/headend-utils/config.ini

% ./mkconfigfiles.pl ~tivo/.xmltv/tv_grab_na.conf

(confirm no missing channels now)

% cd ~tivo/xmltv2tivo
% ln -s ~tivo/headend-utils/headend.txt
% ln -s ~tivo/headend-utils/stations.txt-xmltv stations.txt
% cd ~tivo/guidedir
% ln -s ~tivo/headend-utils/stations.txt-parsexml stations.txt

SECTION 4 Create the Slice Files
SECTION 4.1 Linux setup
SECTION 4.1.1 Create Headend Slice File


% cd ~tivo/xmltv2tivo
% ./writeguide < headend.txt > 06010-1.slice

I received the error "Bus error", and was stopped cold! Now what?

System info:
MacOS X 10.2.6

% uname -a
Darwin bellini 6.6 Darwin Kernel Version 6.6: Thu May 1 21:48:54 PDT
2003; root:xnu/xnu-344.34.obj~1/RELEASE_PPC Power Macintosh powerpc

This discussion has been archived. No new comments can be posted.

Tivo log: sections 2, 3 and 4, and bus error! Help!

Comments Filter:

You knew the job was dangerous when you took it, Fred. -- Superchicken

Working...