If you fail to follow these instructions then don't complain


set the config options at the top of each page(you must at least define VDRBASE to where the extracted files are....DUH)....each file in this document has to be editted...I am using a relative PATH for a reason(I don't want alot oif orphan files on my hard drive)...so deal with it


VDRBASE is the most important thing to define you can just change BUILDUSER if you extracted to your non-root user's home folder or you can set VDRBASE(best to do this set it to absolute path to where all the files are)....If you can't figure this much out then you are on your own.



STEP 1(Kanotix soecific)

***************CHANGE VDRBASE TO REFLECT THE FOLDER THIS SCRIPT IS IN***********************


If using Kano there is very little chance any of the other steps will work until 
you do these steps

from within the VDR folder open a terminal

>>su
>><ROOT PASSWORD>
>>./builddeps.sh

there are a few prompts here(mostly CVS stuff)

note:added more stuff to mplayer(getting ready to add mplayer-gui)




STEP 2


***************CHANGE VDRBASE TO REFLECT THE FOLDER THIS SCRIPT IS IN***********************


This step should work on any distro with properly created DVB device nodes
from within the VDR folder open a terminal

>>su
>><ROOT PASSWORD>
./getchannels.sh


This script sets permisions on folders, build linux-dvb-apps and scans for channels...it requires editting to provide a precise channels list....basically change the s option for each sat and it will work(s is input on your diseqc switch BTW)....there are some other options commented out....so read the file through if you have more than 110 and 119


STEP 3


***************CHANGE VDRBASE TO REFLECT THE FOLDER THIS SCRIPT IS IN***********************

OK here's the fun part



back in the vdr directory(this does some pretty cool stuff)
as your regular user(might work as root but haven't tested it)
>>./install.sh

This will at the very least put everything in the right places(If VDR does not fire up either you are missing deps or you failled to follow these instructions)....Remember VDRBASE has to be set for each file....all of the other variables are unneccessary for now...They are for future use....concentrate on VDRBASE....if all the deps are there VDR should try to run....if it doesn't try to finger out where it failled.



STEP 4


*********************************PLUGINS (OPTIONAL)*****************************************
***************CHANGE VDRBASE TO REFLECT THE FOLDER THIS SCRIPT IS IN***********************

If I still have to tell you to edit VDRBASE....then you must either be blind,deaf or dumb...or just stupid I guess

>>su
>><ROOT PASSWORD>
./vdr-plugins.sh


This script is very dependent on several dev libraries being on your machine(I have put them into the builddeps for Kano installs....I make no guarenties for your mileage with this script....maybe you shoud try Kano next time...after all the is a stand alone box...when is the next time you are going to fuck with this box?I've had Kano(even the last version...had some apt-get problems....running for months)....the new version is alot more stable and has recovery options on the live cd...I do not wish tyo advertise for Kano....but I am a busy SOB....I do not have the time for a from  source Debian or Gentoo install(both way to time-consuming)....Kano takes about 10 minutes to install



Notes
If some part fails to make it not hard to find where it was


all the deps are made under dependencies(no need to run more than once)

start looking under that folder for what failled to compile



getchannels is all built under Utilities

if that step failled look there for the reason


and if install fails then look under $VDRVERSION why it failed(probably a missing dependency)


For any of this to work you have to have the kernel headers,you distro has to know where to find the kernel headers,you must have the DVB /dev nodes(working properly as well)....if you have failled to get that far then I can not help you.....the DVB nodes must be there and loaded into your Kernel....if they don't load when you boot youi have no chance(why FC4 and Mandrake suck)....botkernels are basically patched and reworked 2.4 kernels....These files do work....others have used them......


buildkernel is gone(seems the kernel has finally caught up to linux-dvb)....no need for it anymore....this is all tested and working under kanotix kernel 2.6.14-9.....which seems to be a very blande 2.6.14 kernel....also tested with 2.6.15RC kernel....with equal results(both worked)
