Compile OScam on ClearOS 5.1

You need to connect to your PC using telnet (putty). Select all three lines at the same time and copy paste them in putty (telnet). OS will start to install packages.

yum install cvs subversion autoconf libccid automake libtool gettext make cmake tar bzip2 gzip patch ncurses-bin gcc g++ flex bison pkg-config wget libpng2 libpng3 zlib gcc-c++ pcsc-perl pcsc-tools pcsc-lite pcsc-lite-devel pcsc-lite-doc pcsc-lite-libs ccid ctapi-cyberjack-pcsc monosim pcsc-lite-openct pkg-config wget libpng3 libpcsclite1 libpcsclite-dev libusb-dev libssl-dev libpng12-0 libpng12-dev libpng3 libpng-sixlegs-java libpnglite-dev pngquant libpngwriter0-dev libpngwriter0c2 zlib-bin zlib1g-dbg zlib1g-dev zlib1g zlibc dialog build-essential mercurial hal

Use this command if you have omnikey readers:

yum remove openct

Install this package only if you have Smargo cardreader:

tar xjf libusb-1.0.8.tar.bz2
cd libusb-1.0.8
./configure; make; make install

Now we are ready for final steps!

cd .. (you need to come to the root of your sistem)
svn co oscam-svn   # you can also add -r xxxx at the end, if you want to download specific version of oscam. Lets say 7190. Very useful, especially if newer versions of OScam are very unstable!
cd oscam
mkdir build
cd build
cmake ..
make install (this command will install oscam to /usr/local/bin folder!!)

This is it! Your oscam should support pcsc (omnikey) and smargo cardreaders!

For discussion please visit this thread:

Powered by