Ursäkta en Newbe som har undringar,
Har en PC m linux (Clarkconnect, är visst Centos v5)
På väg att fixa Oscam nu.
Försöker köra Cmake men får följande;
När jag körde cmake;
Kod:
[root@system tmp]# cd /usr/src
[root@system src]# ls
oscam
[root@system src]# cd oscam
[root@system oscam]# svn co -r 3146 http://streamboard.gmc.to/svn/oscam/tags/1.00 oscam-svn
A oscam-svn/Distribution
A oscam-svn/Distribution/doc
A oscam-svn/Distribution/doc/txt
A oscam-svn/Distribution/doc/txt/oscam.txt
A oscam-svn/Distribution/doc/txt/list_smargo.txt
A oscam-svn/Distribution/doc/txt/oscam.ac.txt
A oscam-svn/Distribution/doc/txt/oscam.provid.txt
A oscam-svn/Distribution/doc/txt/oscam.services.txt
A oscam-svn/Distribution/doc/txt/oscam.conf.txt
A oscam-svn/Distribution/doc/txt/oscam.guess.txt
A oscam-svn/Distribution/doc/txt/oscam.server.txt
A oscam-svn/Distribution/doc/txt/oscam.tiers.txt
A oscam-svn/Distribution/doc/txt/oscam.srvid.txt
A oscam-svn/Distribution/doc/txt/oscam.cert.txt
A oscam-svn/Distribution/doc/txt/oscam.ird.txt
A oscam-svn/Distribution/doc/txt/oscam.user.txt
A oscam-svn/Distribution/doc/example
A oscam-svn/Distribution/doc/example/oscam.ird
A oscam-svn/Distribution/doc/example/oscam.user
A oscam-svn/Distribution/doc/example/oscam.ac
A oscam-svn/Distribution/doc/example/oscam.provid
A oscam-svn/Distribution/doc/example/oscam.services
A oscam-svn/Distribution/doc/example/oscam.conf
A oscam-svn/Distribution/doc/example/oscam.guess
A oscam-svn/Distribution/doc/example/oscam.server
A oscam-svn/Distribution/doc/example/oscam.tiers
A oscam-svn/Distribution/doc/example/oscam.srvid
A oscam-svn/Distribution/doc/example/oscam.cert
A oscam-svn/Distribution/doc/man
A oscam-svn/Distribution/doc/man/oscam.1
A oscam-svn/Distribution/doc/man/oscam.cert.5
A oscam-svn/Distribution/doc/man/list_smargo.1
A oscam-svn/Distribution/doc/man/oscam.ird.5
A oscam-svn/Distribution/doc/man/oscam.user.5
A oscam-svn/Distribution/doc/man/oscam.ac.5
A oscam-svn/Distribution/doc/man/oscam.provid.5
A oscam-svn/Distribution/doc/man/oscam.services.5
A oscam-svn/Distribution/doc/man/oscam.conf.5
A oscam-svn/Distribution/doc/man/oscam.guess.5
A oscam-svn/Distribution/doc/man/oscam.server.5
A oscam-svn/Distribution/doc/man/oscam.tiers.5
A oscam-svn/Distribution/doc/man/oscam.srvid.5
A oscam-svn/Distribution/monitor
A oscam-svn/Distribution/monitor/mpcsmon.sh
A oscam-svn/Distribution/monitor/mpcsmon-src-0.5b.tar
A oscam-svn/Maketype
A oscam-svn/module-cccam.h
A oscam-svn/openxcas
A oscam-svn/openxcas/openxcas_api.h
A oscam-svn/openxcas/libOpenXCASAPI.a
A oscam-svn/openxcas/openxcas.conf
A oscam-svn/openxcas/openxcas_smartcard.h
A oscam-svn/openxcas/openxcas_message.h
A oscam-svn/module-camd35.c
A oscam-svn/reader-viaccess.c
A oscam-svn/module-newcamd.c
A oscam-svn/VERSION
A oscam-svn/csctapi
A oscam-svn/csctapi/ifd_smartreader.h
A oscam-svn/csctapi/ifd_phoenix.h
A oscam-svn/csctapi/smartreader_types.h
A oscam-svn/csctapi/sci_global.h
A oscam-svn/csctapi/ifd_azbox.c
A oscam-svn/csctapi/ifd_mp35.c
A oscam-svn/csctapi/ifd_azbox.h
A oscam-svn/csctapi/ifd_pcsc.c
A oscam-svn/csctapi/ifd_mp35.h
A oscam-svn/csctapi/ifd_pcsc.h
A oscam-svn/csctapi/defines.h
A oscam-svn/csctapi/icc_async_exports.h
A oscam-svn/csctapi/atr.c
A oscam-svn/csctapi/atr.h
A oscam-svn/csctapi/icc_async.c
A oscam-svn/csctapi/Makefile
A oscam-svn/csctapi/CMakeLists.txt
A oscam-svn/csctapi/t1_block.c
A oscam-svn/csctapi/icc_async.h
A oscam-svn/csctapi/ifd_sci.c
A oscam-svn/csctapi/t1_block.h
A oscam-svn/csctapi/protocol_t0.c
A oscam-svn/csctapi/ifd_sci.h
A oscam-svn/csctapi/protocol_t1.c
A oscam-svn/csctapi/io_serial.c
A oscam-svn/csctapi/protocol_t0.h
A oscam-svn/csctapi/protocol_t1.h
A oscam-svn/csctapi/io_serial.h
A oscam-svn/csctapi/sci_ioctl.h
A oscam-svn/csctapi/ifd_cool.c
A oscam-svn/csctapi/ifd_cool.h
A oscam-svn/csctapi/mc_global.h
A oscam-svn/csctapi/ifd_sc8in1.c
A oscam-svn/csctapi/ifd_smartreader.c
A oscam-svn/csctapi/ifd_sc8in1.h
A oscam-svn/csctapi/ifd_phoenix.c
A oscam-svn/reader-cryptoworks.c
A oscam-svn/reader-dre.c
A oscam-svn/oscam-http-helpers.c
A oscam-svn/reader-videoguard-common.c
A oscam-svn/oscam-log.c
A oscam-svn/module-obj-llist.c
A oscam-svn/toolchains
A oscam-svn/toolchains/toolchain-mips-fonera2.cmake
A oscam-svn/toolchains/toolchain-mips-wrt54g.cmake
A oscam-svn/toolchains/toolchain-arm-dockstar-openwrt.cmake
A oscam-svn/toolchains/toolchain-mips-dir825.cmake
A oscam-svn/toolchains/toolchain-arm-coolstream.cmake
A oscam-svn/toolchains/toolchain-powerpc-tuxbox.cmake
A oscam-svn/toolchains/toolchain-arm-nslu2-unslung.cmake
A oscam-svn/toolchains/toolchain-mips-azbox.cmake
A oscam-svn/toolchains/toolchain-tripledragon.cmake
A oscam-svn/toolchains/toolchain-mips-agv2_w.cmake
A oscam-svn/toolchains/toolchain-arm-none.cmake
A oscam-svn/toolchains/toolchain-arm-nslu2-openwrt.cmake
A oscam-svn/toolchains/toolchain-mips-tuxbox.cmake
A oscam-svn/toolchains/toolchain-sh4-amino.cmake
A oscam-svn/toolchains/toolchain-sh4-qboxhd.cmake
A oscam-svn/oscam-ac.c
A oscam-svn/reader-videoguard-common.h
A oscam-svn/module-obj-llist.h
A oscam-svn/module-dvbapi.c
A oscam-svn/oscam-nano.c
A oscam-svn/Makefile
A oscam-svn/CMakeLists.txt
A oscam-svn/module-dvbapi.h
A oscam-svn/module-stat.c
A oscam-svn/oscam.c
A oscam-svn/oscam-reader.c
A oscam-svn/module-serial.c
A oscam-svn/reader-tongfang.c
A oscam-svn/module-constcw.c
A oscam-svn/module-stat.h
A oscam-svn/oscam-config.c
A oscam-svn/oscam-chk.c
A oscam-svn/cscrypt
A oscam-svn/cscrypt/bn_lcl.h
A oscam-svn/cscrypt/i_cbc.c
A oscam-svn/cscrypt/bn_asm.c
A oscam-svn/cscrypt/idea_lcl.h
A oscam-svn/cscrypt/bn_div.c
A oscam-svn/cscrypt/bn.h
A oscam-svn/cscrypt/idea.h
A oscam-svn/cscrypt/bn_add.c
A oscam-svn/cscrypt/openssl_mods.h
A oscam-svn/cscrypt/des.c
A oscam-svn/cscrypt/bn_exp.c
A oscam-svn/cscrypt/bn_print.c
A oscam-svn/cscrypt/crc32.c
A oscam-svn/cscrypt/bn_mul.c
A oscam-svn/cscrypt/bn_ctx.c
A oscam-svn/cscrypt/buffer.h
A oscam-svn/cscrypt/mem.c
A oscam-svn/cscrypt/des.h
A oscam-svn/cscrypt/i_skey.c
A oscam-svn/cscrypt/bn_sqr.c
A oscam-svn/cscrypt/bn_lib.c
A oscam-svn/cscrypt/md5.c
A oscam-svn/cscrypt/aes
A oscam-svn/cscrypt/aes/aes_core.c
A oscam-svn/cscrypt/aes/aes.h
A oscam-svn/cscrypt/bn_word.c
A oscam-svn/cscrypt/sha
A oscam-svn/cscrypt/sha/sha1.h
A oscam-svn/cscrypt/sha/sha1.c
A oscam-svn/cscrypt/bn_shift.c
A oscam-svn/cscrypt/Makefile
A oscam-svn/cscrypt/CMakeLists.txt
A oscam-svn/cscrypt/cscrypt.h
A oscam-svn/reader-conax.c
A oscam-svn/oscam-types.h
A oscam-svn/oscam-config.h
A oscam-svn/module-monitor.c
A oscam-svn/reader-videoguard1.c
A oscam-svn/reader-seca.c
A oscam-svn/reader-videoguard2.c
A oscam-svn/README
A oscam-svn/oscam-simples.c
A oscam-svn/module-radegast.c
A oscam-svn/cygwin
A oscam-svn/cygwin/WinSCard.h
A oscam-svn/cygwin/SCardErr.h
A oscam-svn/cygwin/WinSmCrd.h
A oscam-svn/oscam-http.c
A oscam-svn/utils
A oscam-svn/utils/list_smargo.c
A oscam-svn/utils/CMakeLists.txt
A oscam-svn/.gitignore
A oscam-svn/oscam-http.h
A oscam-svn/reader-irdeto.c
A oscam-svn/globals.h
A oscam-svn/reader-common.c
A oscam-svn/reader-nagra.c
A oscam-svn/module-cccam.c
A oscam-svn/reader-videoguard12.c
A oscam-svn/module-camd33.c
A oscam-svn/reader-common.h
U oscam-svn
Checkade ut revision 3146.
[root@system oscam]# cd oscam-svn
[root@system oscam-svn]# mkdir build
[root@system oscam-svn]# cd build
[root@system build]# cmake -DWEBIF=1..
CMake Error: The source directory "/usr/src/oscam/oscam-svn/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
[root@system build]#
Hittade "cmakelist" i mappen oscam-svn, flyttade den med FZ och körde igen;
Kod:
[root@system build]# cmake -DWEBIF=1..
-- The C compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- pthread found. Adding pthread support
-- Looking for openssl/aes.h
-- Looking for openssl/aes.h - not found
-- Looking for openssl/sha.h
-- Looking for openssl/sha.h - not found
-- Looking for time.h
-- Looking for time.h - found
-- librt found (needed by libusb).
-- Looking for libusb-1.0/libusb.h
-- Looking for libusb-1.0/libusb.h - not found
-- no libusb 1.0 found. No smartreader support
-- Looking for PCSC/wintypes.h
-- Looking for PCSC/wintypes.h - not found
CMake Error at CMakeLists.txt:349 (add_subdirectory):
add_subdirectory given source "csctapi" which is not an existing directory.
CMake Error at CMakeLists.txt:350 (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 w ith your CMakeLists.txt file
CMake Error at CMakeLists.txt:390 (add_executable):
add_executable called with incorrect number of arguments
CMake Error at CMakeLists.txt:394 (target_link_libraries):
Cannot specify link libraries for target "oscam" which is not built by this
project.
-- Configuring incomplete, errors occurred!
[root@system build]#
Fråga 1, oscam 3146 är det en för gammal version?
Fråga 2, Verkar som jag inte har Libssl rätt va?
Fråga 3, Var hittar man libssl och libssl-devel
Tacksam för en guidning i linuxvärlden som ju verkar vara finurlig!
Ursäkta om jag stör i denna guide, har inte hitta nån annan tråd.