vfxpipeline / OBS

Installation script for Open Broadcaster Software on Linux Centos 7or RHEL7
0 stars 6 forks source link

Unable to install obs-studio on centos 7 #1

Open maadhavasark opened 5 years ago

maadhavasark commented 5 years ago

Hello Rajiv Sharma, Actually I am struggling to fix this issue , any fix will give me a progress in installing obs-studio.

CMakeError.log CMakeOutput.log

O/P of build

checking for module 'jack' -- package 'jack' not found -- JACK Audio Connection Kit not found, disabling JACK plugin -- Found ALSA: /usr/lib64/libasound.so (found version "1.1.6") -- Could NOT find LibVLC_INCLUDES (missing: VLC_INCLUDE_DIR) -- LibVLC includes not found, VLC video plugin disabled -- Found Libx264: /usr/local/sbin/../lib/libx264.so
-- Found FFmpeg: /usr/local/sbin/../lib/libavcodec.a (found version "57.107.100") found components: avcodec avfilter avdevice avutil swscale avformat swresample -- Found FFmpeg: /usr/local/sbin/../lib/libavcodec.a (found version "57.107.100") found components: avcodec avutil avformat -- Could NOT find Libmbedtls (missing: MBEDTLS_LIBRARIES MBEDTLS_INCLUDE_DIRS) CMake Warning at plugins/obs-outputs/CMakeLists.txt:18 (message): mbedTLS was not found, RTMPS will be auto-disabled

-- SpeexDSP support not found CMake Error at UI/CMakeLists.txt:49 (find_package): By not providing "FindQt5Svg.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Svg", but CMake did not find one.

Could not find a package configuration file provided by "Qt5Svg" with any of the following names:

Qt5SvgConfig.cmake
qt5svg-config.cmake

Add the installation prefix of "Qt5Svg" to CMAKE_PREFIX_PATH or set "Qt5Svg_DIR" to a directory containing one of the above files. If "Qt5Svg" provides a separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred! See also "/tmp/obs-studio/build/CMakeFiles/CMakeOutput.log". See also "/tmp/obs-studio/build/CMakeFiles/CMakeError.log".

yum install qt5-qtsvg

Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile

yum list installed | grep svg

librsvg2.x86_64 2.40.20-1.el7 @anaconda librsvg2-tools.x86_64 2.40.20-1.el7 @anaconda qt5-qtsvg.x86_64 5.9.2-1.el7 @base
qt5-qtsvg-devel.x86_64 5.9.2-1.el7 installed qt5-qtsvg-examples.x86_64 5.9.2-1.el7 installed

maadhavasark commented 5 years ago

Updated cmake installed mbedtls

yum info cmake

Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile

yum info mbedtls

Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile

maadhavasark commented 5 years ago

Installed Speex

Now SpeexDSP is configured

cmake -DUNIX_STRUCTURE=1 ..

-- The C compiler identification is GNU 4.8.5 -- The CXX compiler identification is GNU 4.8.5 -- Check for working C compiler: /bin/cc -- Check for working C compiler: /bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /bin/c++ -- Check for working CXX compiler: /bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- OBS_VERSION: 23.0.1-133-g70b8f0a -- Try C++11 flag = [-std=gnu++11] -- Performing Test CXX11_FLAG_DETECTED -- Performing Test CXX11_FLAG_DETECTED - Success -- Found CXX11: -std=gnu++11
-- Found OpenGL: /lib64/libGL.so
-- Looking for XOpenDisplay in /lib64/libX11.so;/lib64/libXext.so -- Looking for XOpenDisplay in /lib64/libX11.so;/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /lib64/libX11.so -- Found FFmpeg: /usr/local/lib64/../lib/libavcodec.a (found version "57.107.100") found components: avcodec avdevice avutil avformat -- Found Libcurl: /usr/local/../lib64/libcurl.so
-- Scripting: Luajit supported -- Python support not found. -- Found SWIG: /bin/swig (found suitable version "2.0.10", minimum required is "2") -- Jansson >=2.5 not found, building bundled version C compiler: GNU -- Looking for include file endian.h -- Looking for include file endian.h - found -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Looking for include file sched.h -- Looking for include file sched.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file sys/param.h -- Looking for include file sys/param.h - found -- Looking for include file sys/stat.h -- Looking for include file sys/stat.h - found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for close -- Looking for close - found -- Looking for getpid -- Looking for getpid - found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for open -- Looking for open - found -- Looking for read -- Looking for read - found -- Looking for sched_yield -- Looking for sched_yield - found -- Looking for include file stdint.h -- Looking for include file stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of int64 -- Check size of int64 - failed -- Check size of int64_t -- Check size of int64_t - done -- Check size of long long -- Check size of long long - done -- Check size of int32_t -- Check size of int32_t - done -- Check size of int32 -- Check size of int32 - failed -- Check size of long -- Check size of long - done -- Check size of int -- Check size of int - done -- Check size of unsigned long -- Check size of unsigned long - done -- Check size of unsigned int -- Check size of unsigned int - done -- Check size of unsigned short -- Check size of unsigned short - done -- Check size of uint32_t -- Check size of uint32_t - done -- Check size of uint32 -- Check size of uint32 - failed -- Check size of uint16_t -- Check size of uint16_t - done -- Check size of uint16 -- Check size of uint16 - failed -- Check size of uint8_t -- Check size of uint8_t - done -- Check size of uint8 -- Check size of uint8 - failed -- Check size of ssize_t -- Check size of ssize_t - done -- Check size of SSIZE_T -- Check size of SSIZE_T - failed -- Looking for strtoll -- Looking for strtoll - found -- Looking for strtoq -- Looking for strtoq - found -- Looking for _strtoi64 -- Looking for _strtoi64 - not found -- Looking for include file locale.h -- Looking for include file locale.h - found -- Looking for localeconv -- Looking for localeconv - found -- Looking for setlocale -- Looking for setlocale - found -- Performing Test HAVE_INLINE -- Performing Test HAVE_INLINE - Success -- Performing Test HAVEINLINE -- Performing Test HAVEINLINE - Success -- Performing Test HAVE_INLINE_ -- Performing Test HAVEINLINE__ - Success -- Performing Test HAVE_SYNC_BUILTINS -- Performing Test HAVE_SYNC_BUILTINS - Success -- Performing Test HAVE_ATOMIC_BUILTINS -- Performing Test HAVE_ATOMIC_BUILTINS - Success -- Found PkgConfig: /bin/pkg-config (found version "0.27.1") -- XCB[XCB]: Found component XCB -- Found XCB_XCB: /lib64/libxcb.so
-- Found XCB: /lib64/libxcb.so
-- Found X11_XCB: /lib64/libX11-xcb.so
-- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE
-- Found FFmpeg: /usr/local/lib64/../lib/libavformat.a (found version "57.83.100") found components: avformat avutil swscale swresample avcodec -- XCB[XINPUT]: Found component XINPUT -- Found XCB_XINPUT: /lib64/libxcb-xinput.so
-- Found XCB: /lib64/libxcb-xinput.so
-- Found PulseAudio - Audio Monitor enabled -- Using libavcodec for image loading in libobs -- Found zlib: /usr/local/../lib64/libz.so
-- XCB[XCB]: Found component XCB -- XCB[SHM]: Found component SHM -- Found XCB_SHM: /lib64/libxcb-shm.so
-- XCB[XFIXES]: Found component XFIXES -- Found XCB_XFIXES: /lib64/libxcb-xfixes.so
-- XCB[XINERAMA]: Found component XINERAMA -- Found XCB_XINERAMA: /lib64/libxcb-xinerama.so
-- Found XCB: /lib64/libxcb.so;/lib64/libxcb-shm.so;/lib64/libxcb-xfixes.so;/lib64/libxcb-xinerama.so
-- Found LibV4L2: /lib64/libv4l2.so
-- Found UDev: /lib64/libudev.so
-- checking for module 'jack' -- package 'jack' not found -- JACK Audio Connection Kit not found, disabling JACK plugin -- Found ALSA: /lib64/libasound.so (found version "1.1.6") -- Could NOT find LibVLC_INCLUDES (missing: VLC_INCLUDE_DIR) -- LibVLC includes not found, VLC video plugin disabled -- Found Libx264: /usr/local/lib64/../lib/libx264.so
-- Found FFmpeg: /usr/local/lib64/../lib/libavcodec.a (found version "57.107.100") found components: avcodec avfilter avdevice avutil swscale avformat swresample -- Found FFmpeg: /usr/local/lib64/../lib/libavcodec.a (found version "57.107.100") found components: avcodec avutil avformat -- Could NOT find Libmbedtls (missing: MBEDTLS_LIBRARIES MBEDTLS_INCLUDE_DIRS) CMake Warning at plugins/obs-outputs/CMakeLists.txt:18 (message): mbedTLS was not found, RTMPS will be auto-disabled

-- SpeexDSP supported -- Configuring done -- Generating done -- Build files have been written to: /tmp/obs-studio/build

But medtls issue is still persisting

-- Could NOT find Libmbedtls (missing: MBEDTLS_LIBRARIES MBEDTLS_INCLUDE_DIRS) CMake Warning at plugins/obs-outputs/CMakeLists.txt:18 (message): mbedTLS was not found, RTMPS will be auto-disabled

JACK audio connection kit also not configured

-- checking for module 'jack' -- package 'jack' not found -- JACK Audio Connection Kit not found, disabling JACK plugin

VLC includes not found

-- Could NOT find LibVLC_INCLUDES (missing: VLC_INCLUDE_DIR) -- LibVLC includes not found, VLC video plugin disabled

vlc is installed

yum info vlc

Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile

yum info vlc-core

Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile