Version 20 (modified by 8 years ago) ( diff ) | ,
---|
Building OSCAM
The OSCAM building (compilation) process is fairly straight forward. You get OSCAM from
subversion (svn) then go to the directory where the OSCAM source code is and compile
it by running make
. In the usual case no extra programs and libraries are required,
except gcc
(or clang
), make
, libc and subversion to get the source code.
Here are the basic commands to compile your own OSCAM:
svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn cd oscam-svn make
The full documentation of the build system and lots of examples is available at http://www.streamboard.tv/oscam/browser/trunk/README.build.
Staying current
To update the source code from SVN, run this:
cd oscam-svn svn update # You'll see a list of the updated files
After the update is finished build the OSCAM like you normally do.
NOTE: Do not use svn checkout
to update the source tree, that is the wrong thing to do! svn checkout
should be used only for getting the source for the first time, to update the source to latest version you must use svn update
.
Building specific revisions
Sometimes a certain svn revision is not working or you want to test something specific. In that case you can use svn to switch to the revision you want by running the following:
cd oscam-svn # Update to revision 7400 svn update -r 7400 # Go to newest revision svn update -r HEAD # Get info about the currently checkout revision svn info .