Hi. I've followed the steps to build oscam as listed on the following link https://trac.streamboard.tv/oscam/wiki/BuildingOscam When I enter "make" it creates the following 2 files in the Distribution directory:
oscam-1.20_svn11711-x86_64-linux-gnu-static
oscam-1.20_svn11711-x86_64-linux-gnu-static.debug
If I try to run any of the 2 files above, they do not run. I get "Command not found".
Am suggestions?
Display More
you have to rename the file "oscam-1.20_svn11711-x86_64-linux-gnu-static" to oscam and move it to /usr/local/bin
if you want you can follow my, lets say guide, i have wrote down the steps i have took.
i just have built an oscam ubuntu server with 4 pcsc readers on a thin client hp 32bit
this guide was for Debian but i have modified it for my needs
sudo apt-get install cvs subversion autoconf libccid automake libtool gettext make cmake tar bzip2 gzip patch ncurses-bin gcc g++ flex bison pkg-config pcsc-tools pkg-config wget libpcsclite1 libpcsclite-dev libusb-dev libssl-dev libpnglite-dev pngquant zlib1g-dbg zlib1g-dev zlib1g zlibc dialog build-essential mercurial minizip
wget http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.26/libusb-1.0.26.tar.bz2
tar xjf libusb-1.0.26.tar.bz2
cd libusb-1.0.26
./configure; make; make install
Now we are ready for next steps!
cd .. (you need to come to the root of your system)
svn checkout https://git.streamboard.tv/common/oscam.git/ oscam-git
wget https://github.com/oscam-emu/oscam-emu/raw/master/oscam-emu.patch
cd oscam-svn
sudo patch -p0< ../oscam-emu.patch
mkdir build
cd build
cmake -DWEBIF=1 -DHAVE_DVBAPI=1 ..
make
sudo make install (this command will install oscam to /usr/local/bin folder!! - if you have already oscam binary there, please backup it)
Now you need to chmod oscam file to 0755. Use these commands:
cd /usr/local/bin
sudo chmod 755 oscam
You also need to setup automatic startup with boot. Execute these commands:
sudo vi /etc/rc.local press i to write in vi editor
Before “exit 0” line write this line:
Esc wq to exit vi editor
Now you need to create oscam config files and transfer them to /usr/local/etc.
sudo vi /usr/local/etc/oscam.conf
[global]
[webif]
httpport = 81
httpuser = root
httppwd = your password
httpallowed = 127.0.0.1,192.168.0.1-192.168.255.255