How to install OSCAM to UBUNTU

There are 12 replies in this Thread which was already clicked 23,426 times. The last Post () by tonymac.

    • Official Post


    Now make your configuration files and place them in /usr/local/etcoscam.server







    Code
    [account]
    user = test
    pwd = test
    uniq = 1
    group = 1
    au = fx
    ident = 096c:000000
    caid = 096cnow back to terminal:




    Code
    sudo oscam -bnow check /var/log/oscam.log for the news..



    Tested the windows version of oscam which requires cygwin (using usb phoenix 6 mhz), and its too slow. Ecm transaction takes 1300ms compared to 300 ms on dm internal compared to 205 ms on ubuntu with usb phoenix running 6 mhz.

    • Official Post

    i get stuck here and have been googling for a hour,, :( any help thanks in advance


    CMake Error: The source directory "/usr/local/bin/oscam-svn" does not appear to contain CMakeLists.txt.


    It looks like the web directory has changed, try this instead at line 6


    Code
    sudo svn co http://www.oscam.to/svn/oscam/trunk/
    • Official Post

    it was line 11 where i got the error


    sudo cmake /usr/local/bin/oscam-svn


    Yes but if you open the address in the original guide you will see page not found, where as if you open

    Code
    http://www.oscam.to/svn/oscam/trunk/


    You will see everything needed to compile oscam including CMakeLists.txt that is listed in your error.

  • ive just found this on a tutorial where somebody has had the same problem:
    ----------------------------------------------
    I notice a little issue on ubuntu, don't know why CMakeLists.txt file is ignred. You just have force download of it if necessary :


    cd oscam-svn
    svn up CMakeLists.txt
    ----------------------------------------------


    ive tried this command but i get this result Skipped 'CMakeLists.txt'

  • sorry to be a pain but im nearly there


    CMake Error at CMakeLists.txt:239 (file):
    file Internal CMake error when trying to open file:
    /usr/local/bin/oscam-svn/oscam-config.h for reading.
    Call Stack (most recent call first):
    CMakeLists.txt:264 (GENERATE_OSCAM_CONFIG)



    -- pthread found. Adding pthread support
    -- openssl found.
    -- librt found (needed by libusb).
    -- no libusb 1.0 found. No smartreader support
    CMake Error at CMakeLists.txt:409 (add_subdirectory):
    add_subdirectory given source "csctapi" which is not an existing directory.



    CMake Error at CMakeLists.txt:410 (add_subdirectory):
    add_subdirectory given source "algo" which is not an existing directory.



    CMake Error at CMakeLists.txt:411 (add_subdirectory):
    add_subdirectory given source "cscrypt" which is not an existing directory.



    You have called ADD_LIBRARY for library csmodules without any source files. This typically indicates a problem with your CMakeLists.txt file
    You have called ADD_LIBRARY for library csreaders without any source files. This typically indicates a problem with your CMakeLists.txt file
    You have called ADD_LIBRARY for library csoscam without any source files. This typically indicates a problem with your CMakeLists.txt file
    CMake Error at CMakeLists.txt:448 (add_executable):
    add_executable called with incorrect number of arguments



    CMake Error at CMakeLists.txt:449 (target_link_libraries):
    Cannot specify link libraries for target "oscam" which is not built by this
    project.



    -- Configuring incomplete, errors occurred!

    • Official Post

    Ok i have just tested and there is another change to the original guide needed because of the new dir, wherver you see


    /oscam-svn Replace with /trunk


    e.g


    line11 says

    Code
    sudo cmake /usr/local/bin/oscam-svn


    Instead use


    Code
    sudo cmake /usr/local/bin/trunk


    I have just tested this before posting and will update the original guide with the new info now.








OSCam Support Forum

Configs, discussion, downloads and guides for OSCam Softcam.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!