Posts tagged ‘compile’
I just stumbled upon SimpleBuild script which is made by user Gorgone from StreamBoard forum. This script simplifies compiling OScam for different platforms. Yep, now we can easily make OScam binary for MIPS (Vu+, Dreambox, Xtrend, Gigablue, Clarke-Tech), SH4 and AZBOX receivers for example. There are also toolchains for other platforms like routers, RaspberryPi, x64 and x86 PCs, etc. I decided to test this script and test-compiled two binaries, one for my Ubuntu X86 server and one for my Vu+ Duo satellite receiver with latest OpenPLi 3.0. Installing SimpleBuild script is pretty straightforward and does not demand a lot of knowledge. Here are steps for Ubuntu users (connect to your server using Putty and SSH connection):
chmod 777 simplebuild
After entering last command, you are brought to the home screen of this script. It looks like this:
Here you can select LATEST which means that script will download latest revision of OScam. You can select NO_CHECKOUT which will use previously used OScam revision. And you can also select CHOOSE where you can enter your desired OScam revision. This is handy when you want to compile older OScam revision for testing purposes. After pressing LATEST we get this screen:
I suggest that you first select ADD or NATIVE if you want to compile OScam for your PC (if you are running this script on Linux server). In my case, I first added toolchain for MIPSOE20 receivers and then I selected option NATIVE which built OScam for my Ubuntu server where I am currently running my OScam server. When you press option ADD, you get this screen:
MIPSOE20 is not present here because I downloaded it before taking this picture. When you start SimpleBuild for the first time, you can choose from the complete list of toolchains. After downloading desired toolchain, you are brought to this screen:
Here you can configure some additional options like disabling/enabling certain OScam modules, etc. After you finish with that, you need to select option BUILD which starts compiling process. In my case, compiling took about 1 minute but this depends on your CPU power. Here are pictures where you can configure these options:
LIBUSB is (usually) needed if you have Smargo cardreader(s). PCSC is needed if you have Omnikey or other PCSC compatible cardreaders. These two options are the most important ones. I, for example, do not use Smargos or Omnikeys on my Vu+ Duo therefore i did not select anything here. TIP: In order to select desired option, you need to press “SPACE” button on your keyboard.
If you want to exit from SimpleBuild, just press button “EXIT”.
Gorgone did really great job here and compiling OScam is now easier task than ever. You can compare this process with process which is written in my other compiling tutorials. Not only that SimpleBuild is easier to use, you can also easily compile OScam for different platforms, you can select/deselect different OScam modules, etc. As you can see, this script enables you to configure many many different options. Currently there is nothing better out there!
For discussion please visit this thread here: