how to compile OSCAM with webinterface support

showsky

Registered
Messages
2
debian5:/var/etc/oscam/bin# ./oscam &
[1] 3588
debian134:/var/etc/oscam/bin# Warning: OSCam compiled without Webinterface support.
Warning: OSCam compiled without Webinterface support.
Warning: OSCam compiled without Webinterface support.
Warning: OSCam compiled without gbox support.
Warning: OSCam compiled without gbox support.
Warning: OSCam compiled without gbox support.
Warning: OSCam compiled without gbox support.
Warning: OSCam compiled without gbox support.
Warning: OSCam compiled without gbox support.
Warning: OSCam compiled without DVB API support.
Warning: OSCam compiled without DVB API support.
Warning: OSCam compiled without DVB API support.
Warning: OSCam compiled without DVB API support.
Warning: OSCam compiled without DVB API support.
WARNING: value 'gbox' in protocol-line not recognized, assuming MOUSE

debian5:/var/etc/oscam/bin# ps -ef
 

Jeeriko

Registered
Messages
12

IN TERMINAL AS A ROOT TYPE COMMANDS WRITTEN IN BLACK COLOR

PACKAGES INSTALL
****************

apt-get install proftpd gcc g++ make cmake bzip2 libpcsclite1 libpcsclite-dev subversion
OR
apt-get install gcc g++ cmake libpcsclite1 libpcsclite-dev subversion

DRIVERS DOWNLOAD
**************************

cd /usr/src
wget http://cdnetworks-us-2.dl.sourceforge.ne...b-1.0.6.tar.bz2
tar xjvf libusb-1.0.6.tar.bz2 (if you missing bzip2 then - apt-get install bzip2 and repeat previous command)
cd libusb-1.0.6
./configure --enable-shared=no
make (if command not found then - apt-get install make and repeat previous command)
make install

DOWNLOAD OSCAM SOURCES AND COMPILE
*******************************************************

cd /usr/src
svn co http://oscam.ump2002.net/svn/oscam/trunk oscam
cd oscam
mkdir buid
cd build
cmake .. (those two dots important, if WEBIF wanted then - cmake -DWEBIF=1 ..)
(if command not found then - apt-get install cmake and repeat previous command)
make

NOW WE WILL COPY OSCAM TO /USR/LOCAL/BIN
*****************************************

cp oscam /usr/local/bin
cd /usr/local/bin
ls
(oscam should be listed here. Next: )
chmod 755 oscam

(Before you start the server make sure you got all 3 oscam config files in /usr/local/etc directory.)

(Don't delete compiling directories, so you can later easily update your oscam version)

TO COMPILE LATEST VERSION NEXT TIME
************************************

cd /usr/src
svn co oscam
cd /usr/src/oscam/build
cmake ..
make
 
Last edited:

leopold75

Registered
Messages
5
Pls compile OSCAM for AZBOX with DVB-API support (OpenXCAS)

Hallo there!

Thank You for great work with OSCAM for diff boxes!

Can I pls ask You, Dear Developers, to compile version with DVB-API support for another platform like AZbox HD (sigma)?

We have it for IPbox - working pretty OK!

I have problem with OpenXCAS and getting error

Code:
[ 98%]
Built target cscrypt Scanning dependencies of target oscam
[100%] Building C object CMakeFiles/oscam.dir/oscam.o
/home/test/oscam-svn-azbox/oscam.c:
In function `chk_dcw': /home/test/oscam-svn-azbox/oscam.c:
1609: warning: dereferencing type-punned pointer will break
strict-aliasing rules
make[2]: *** No rule to make target
csctapi/openxcas/libOpenXCASAPI.a'

I have IPbox 9000 and Azbox Elite and can help with testing

I tried do it but getting error,
have not evidence in programming, sorry

Pls answer what info You need and I can try to help

Thanks!
 

tbenmila

Registered
Messages
7
Thank you

I followed the steps you put but this message appeared when I tried to execute oscam with the command oscam -d 256


root@server-desktop:/usr/local/bin# oscam -d 256

Warning: keyword 'level' in global section not recognized
Warning: keyword 'saveinithistory' in global section not recognized
PANIC: master deadlock! last location: initroot@server-desktop:/usr/local/bin#
 

Jeeriko

Registered
Messages
12
root@server-desktop:/usr/local/bin# oscam -d 256

Warning: keyword 'level' in global section not recognized
Warning: keyword 'saveinithistory' in global section not recognized
PANIC: master deadlock! last location: initroot@server-desktop:/usr/local/bin#
I start oscam - /usr/local/bin/oscam

Warnings is not a problem oscam should work.

PANIC: master deadlock! - for my experience, it have something to do with your config files - oscam.conf, oscam.server and oscam.user

check oscam text files for HOW-TO
 
Top