Post

Compile OScam with SimpleBuild Script

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):

cd /opt
mkdir simplebuild
cd simplebuild
wget ss4200.homelinux.com/oscam/simplebuild
chmod 777 simplebuild
./simplebuild debinstall
./simplebuild menu

After entering last command, you are brought to the home screen of this script. It looks like this:

SimpleBuild1

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:

SimpleBuild2

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:

SimpleBuild3

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:

SimpleBuild4

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:

SimpleBuild5

SimpleBuild6

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”.

Conclusion

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: 

http://www.satnigmo.com/forum/index.php?threads/compile-oscam-with-simplebuild.546/

  • Hi, thanks for the info!
    Do you know how to compile with SimpleBuild an Oscam version with the gbox patch included?
    http://pastebin.com/raw.php?i=bfncMi3t
    Can you explain how to do it?
    Thank you very much
    zap recently posted…Sky DE 098C NDS OScam ConfigMy Profile

    zap

    February 11, 2013

  • I do not know how, sorry.

    admin

    February 12, 2013

  • […] you need to compile OScam. I suggest you compile it using Simplebuild script. Please check my Simplebuild article here on my blog. Simplebuild will also automatically install all missing packages that are needed […]

  • really nice and simple script thanks a million

    errol cuffley

    March 7, 2013

  • hello friend
    as I can compile oscam to work with Gbox
    have you any solution

    thank….

    aitorniyo

    May 1, 2013

  • Hi brothers
    Oscam>Gbox protocol is already running. Thanks

    zap

    July 21, 2013

  • Hi, i want just to explain that after entering the last command i can’t see the home screen show up . i can see like that :

    ./simplebuild: line 2791: –stdout: command not found
    cat: /root/osvn: No such file or directory
    cat: /root/status: No such file or directory
    cat: /root/chosetext: No such file or directory
    cat: /root/REVISION: No such file or directory
    ./simplebuild: line 2821: –no-cancel: command not found
    root@ubuntuserver:/opt/simplebuild#

    Thank’s for your help

    franckluke

    July 30, 2013

  • ./simplebuild menu

    This is the right command!

    admin

    August 1, 2013

  • Same Problem when call ./simplebuild menu

    ./simplebuild: Zeile 2791: –stdout: Kommando nicht gefunden.
    cat: /root/osvn: Datei oder Verzeichnis nicht gefunden
    cat: /root/status: Datei oder Verzeichnis nicht gefunden
    cat: /root/chosetext: Datei oder Verzeichnis nicht gefunden
    cat: /root/REVISION: Datei oder Verzeichnis nicht gefunden
    ./simplebuild: Zeile 2821: –no-cancel: Kommando nicht gefunden.

    Dennis

    August 22, 2013

  • not all packages installed
    try again & run first ./simplebuild debinstall as root

    Gorgone

    September 20, 2013

  • When you install Simplebuild comes a Message with Changelog. This Screen must you leave with :q
    Then finish the install script the process. When you press CTRL & C the installer aborted. And then see you the Error Message when you start simple build. Sorry for my bad english.
    – – –
    Während des Installationsprozesses erscheint ein Changelog Fenster. Dieses musst Du mit :q verlassen. Dann installiert das Script weiter. Wenn Du das Fenster mit CTRL & C beendest, wird der Installationsprozess abgebrochen. Dann kommt die oben geschilderte Fehlermeldung, weil nicht alle Pakete installiert sind. Hoffe, dem ein oder anderen konnte ich damit helfen…

    Kai

    April 8, 2014

  • simplebuild 3 ist in der beta + osemu plugin

    Gorgone

    June 13, 2016

  • […] Gorgone from Streamboard released Simplebuild 3 beta as replacement for v2.0. You can still use my old tutorial which is here: http://www.satnigmo.com/2264/compile-oscam-with-simplebuild-script/ […]

Leave a comment  

name*

email*

website

Submit comment

CommentLuv badge

Powered by moviekillers.com.com