How-2 Install MakeMKV for non-Debian Linux (openSuSE)

The place to discuss linux version of MakeMKV
captaincapacitor
Posts: 6
Joined: Mon Oct 13, 2014 10:47 pm

Re: How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by captaincapacitor »

fitzyj I have opensuse 13.1 and using makemkv 1.8.13

I've gotten further than you by following the instructions given on using the packman repositories, and switching out things.

But makemkv-oss still doesn't build, but with different errors:

make
which: no moc-qt4 in (/usr/lib64/mpi/gcc/openmpi/bin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin)
mkdir -p out
gcc -g -O2 -D_GNU_SOURCE -D_linux_ -D_REENTRANT -shared -Wl,-z,defs -oout/libdriveio.so.0.full -Ilibdriveio/inc libdriveio/src/infolist.cpp libdriveio/src/scsihlp.cpp libdriveio/src/srlist.cpp libdriveio/src/stdquery.cpp libdr
iveio/src/tipclient.cpp libdriveio/src/tipcommon.cpp libdriveio/src/tipserver.cpp libdriveio/src/drives/pioneer.cpp libdriveio/src/drives/xboxhddvd.cpp \
-fPIC -Xlinker -dy -Xlinker --version-script=libdriveio/src/libdriveio.vers \
-Xlinker -soname=libdriveio.so.0 -lc -lstdc++
objcopy --strip-all --strip-debug --strip-unneeded --discard-all out/libdriveio.so.0.full out/libdriveio.so.0
mkdir -p tmp
echo "#define BUILDINFO_ARCH_NAME \"x86_64-suse-linux\"" >> tmp/gen_buildinfo.h
echo "#define BUILDINFO_BUILD_DATE \"Mon Oct 13 18:23:47 EDT 2014\"" >> tmp/gen_buildinfo.h
mkdir -p out
gcc -g -O2 -D_GNU_SOURCE -D_linux_ -D_REENTRANT -shared -Wl,-z,defs -oout/libmakemkv.so.1.full -Ilibebml/inc -DEBML_NO_READ -DEBML_STRICT_API -DEBML_DEBUG -Ilibmatroska/inc \
-Ilibmakemkv/inc -Isstring/inc -Imakemkvgui/inc -Ilibabi/inc -Ilibffabi/inc \
libebml/src/EbmlBinary.cpp libebml/src/EbmlContexts.cpp libebml/src/EbmlCrc32.cpp libebml/src/EbmlDate.cpp libebml/src/EbmlDummy.cpp libebml/src/EbmlElement.cpp libebml/src/EbmlFloat.cpp libebml/src/EbmlHead.cpp libebml/src/Eb
mlMaster.cpp libebml/src/EbmlSInteger.cpp libebml/src/EbmlString.cpp libebml/src/EbmlSubHead.cpp libebml/src/EbmlUInteger.cpp libebml/src/EbmlUnicodeString.cpp libebml/src/EbmlVersion.cpp libebml/src/EbmlVoid.cpp libebml/src/I
OCallback.cpp libebml/src/MemIOCallback.cpp libmatroska/src/FileKax.cpp libmatroska/src/KaxAttached.cpp libmatroska/src/KaxAttachments.cpp libmatroska/src/KaxBlock.cpp libmatroska/src/KaxBlockData.cpp libmatroska/src/KaxClust
er.cpp libmatroska/src/KaxContexts.cpp libmatroska/src/KaxCues.cpp libmatroska/src/KaxCuesData.cpp libmatroska/src/KaxInfoData.cpp libmatroska/src/KaxSeekHead.cpp libmatroska/src/KaxSegment.cpp libmatroska/src/KaxTracks.cpp li
bmatroska/src/KaxVersion.cpp libmatroska/src/KaxSemantic.cpp libmakemkv/src/ebmlwrite.cpp libmakemkv/src/libmkv.cpp libmakemkv/src/version.cpp libmakemkv/src/world.cpp libmakemkv/src/stdstring.cpp sstring/src/sstring.cpp \
libabi/src/ossl_aes.c libabi/src/ossl_sha.c libabi/src/ossl_ec.c libabi/src/zlib.c libabi/src/xpat.c libabi/src/httplinux.cpp makemkvgui/src/api_linux.cpp libabi/src/sys_linux.c makemkvgui/src/spawn_posix.cpp libffabi/src/ffab
i.c libffabi/src/mlp.c libffabi/src/log.c libffabi/src/audio_convert.c libffabi/src/audio_mix.c libffabi/src/audio_mix_matrix.c \
-DHAVE_BUILDINFO_H -Itmp -I/usr/local/include \
-fPIC -Xlinker -dy -Xlinker --version-script=libmakemkv/src/libmakemkv.vers \
-Xlinker -soname=libmakemkv.so.1 -lc -lstdc++ -lcrypto -lz -lexpat -L/usr/local/lib -lavcodec -lXv -lX11 -lXext -lva -lX11 -ljack -lasound -lSDL -lpthread -lm -llzma -lbz2 -lz -pthread -lswresample -lm -lavutil -lm -lm
libffabi/src/ffabi.c: In function ‘ffm_audio_decode_init’:
libffabi/src/ffabi.c:177:5: warning: ‘avcodec_alloc_frame’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3545) [-Wdeprecated-declarations]
ctx->frame = avcodec_alloc_frame();
^
libffabi/src/ffabi.c: In function ‘ffm_audio_decode_close’:
libffabi/src/ffabi.c:190:9: warning: ‘avcodec_free_frame’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3570) [-Wdeprecated-declarations]
avcodec_free_frame(&ctx->frame);
^
libffabi/src/ffabi.c: In function ‘ffm_audio_encode_init’:
libffabi/src/ffabi.c:345:5: warning: ‘avcodec_alloc_frame’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3545) [-Wdeprecated-declarations]
ctx->frame = avcodec_alloc_frame();
^
libffabi/src/ffabi.c: In function ‘ffm_audio_encode_close’:
libffabi/src/ffabi.c:360:9: warning: ‘avcodec_free_frame’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3570) [-Wdeprecated-declarations]
avcodec_free_frame(&ctx->frame);
^
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib/libavcodec.a(allcodecs.o): relocation R_X86_64_32 against `ff_h263_vaapi_hwaccel' can not be used when making a shared object; recompile
with -fPIC
/usr/local/lib/libavcodec.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [out/libmakemkv.so.1.full] Error 1
captaincapacitor
Posts: 6
Joined: Mon Oct 13, 2014 10:47 pm

Re: How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by captaincapacitor »

I'm attaching my config.log

hopefully the admin will see this and someone can fix it :(

hrm I can't attach because the "board quota has been exceeded" :(
captaincapacitor
Posts: 6
Joined: Mon Oct 13, 2014 10:47 pm

Re: How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by captaincapacitor »

Can anyone help?

here's my config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by ffabi configure 0, which was
generated by GNU Autoconf 2.68. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = mail
uname -m = x86_64
uname -r = 3.16.3-1.gd2bbe7f-desktop
uname -s = Linux
uname -v = #1 SMP PREEMPT Thu Sep 18 06:32:16 UTC 2014 (d2bbe7f)

/usr/bin/uname -p = x86_64
/bin/uname -X = unknown

/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/lib64/mpi/gcc/openmpi/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/sbin
PATH: /root/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /opt/kde3/bin
PATH: /usr/lib/mit/bin
PATH: /usr/lib/mit/sbin

## ----------- ##
## Core tests. ##
## ----------- ##

configure:2401: loading site script /usr/share/site/x86_64-unknown-linux-gnu
| #!/bin/sh
| # Site script for configure. It is resourced via $CONFIG_SITE environment varaible.
|
| # If user did not specify libdir, guess the correct target:
| # Use lib64 for 64 bit bi-arch targets, keep the default for the rest.
| if test "$libdir" = '${exec_prefix}/lib' ; then
|
| ac_config_site_64bit_host=NONE
|
| case "$host" in
| "" )
| # User did not specify host target.
| # The native platform x86_64 is a bi-arch platform.
| # Try to detect cross-compilation to inferior architecture.
|
| # We are trying to guess 32-bit target compilation. It's not as easy as
| # it sounds, as there is possible several intermediate combinations.
| ac_config_site_cross_to_32bit_host=NONE
|
| # User defined -m32 in CFLAGS or CXXFLAGS:
| # (It's sufficient for 32-bit, but alone may cause mis-behavior of some checks.)
| case "$CFLAGS" in
| *-m32*)
| ac_config_site_cross_to_32bit_host=YES
| ;;
| esac
| case "$CXXFLAGS" in
| *-m32*)
| ac_config_site_cross_to_32bit_host=YES
| ;;
| esac
|
| # Running with linux32:
| # (Changes detected platform, but not the toolchain target.)
| case "`/bin/uname -i`" in
| x86_64 | ppc64 | s390x )
| ;;
| * )
| ac_config_site_cross_to_32bit_host=YES
| ;;
| esac
|
| if test "x$ac_config_site_cross_to_32bit_host" = xNONE; then
| ac_config_site_64bit_host=YES
| fi
|
| ;;
| *x86_64* | *ppc64* | *s390x* )
| ac_config_site_64bit_host=YES
| ;;
| esac
|
| if test "x$ac_config_site_64bit_host" = xYES; then
| libdir='${exec_prefix}/lib64'
| fi
| fi
|
| # If user did not specify libexecdir, set the correct target:
| # Nor FHS nor openSUSE allow prefix/libexec. Let's default to prefix/lib.
|
| if test "$libexecdir" = '${exec_prefix}/libexec' ; then
| libexecdir='${exec_prefix}/lib'
| fi
|
| # Continue with the standard behavior of configure defined in AC_SITE_LOAD:
| if test "x$prefix" != xNONE; then
| ac_site_file1=$prefix/share/config.site
| ac_site_file2=$prefix/etc/config.site
| else
| ac_site_file1=$ac_default_prefix/share/config.site
| ac_site_file2=$ac_default_prefix/etc/config.site
| fi
| for ac_site_file in "$ac_site_file1" "$ac_site_file2"
| do
| test "x$ac_site_file" = xNONE && continue
| if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
| { $as_echo "/usr/share/site/x86_64-unknown-linux-gnu:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
| $as_echo "/usr/share/site/x86_64-unknown-linux-gnu: loading site script $ac_site_file" >&6;}
| sed 's/^/| /' "$ac_site_file" >&5
| . "$ac_site_file" \
| || { { $as_echo "/usr/share/site/x86_64-unknown-linux-gnu:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
| $as_echo "/usr/share/site/x86_64-unknown-linux-gnu: error: in \`$ac_pwd':" >&2;}
| as_fn_error $? "failed to load site script $ac_site_file
| See \`config.log' for more details" "$LINENO" 5; }
| fi
| done
configure:2532: checking build system type
configure:2546: result: x86_64-unknown-linux-gnu
configure:2566: checking host system type
configure:2579: result: x86_64-unknown-linux-gnu
configure:2599: checking target system type
configure:2612: result: x86_64-unknown-linux-gnu
configure:2708: checking for gcc
configure:2724: found /usr/bin/gcc
configure:2735: result: gcc
configure:2964: checking for C compiler version
configure:2973: gcc --version >&5
gcc (SUSE Linux) 4.8.1 20130909 [gcc-4_8-branch revision 202388]
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2984: $? = 0
configure:2973: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.8/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-
gxx-include-dir=/usr/include/c++/4.8 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-syst
em-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --program-suffix=-4.8 --enable-linux-futex --without-system-libunwind --wit
h-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.8.1 20130909 [gcc-4_8-branch revision 202388] (SUSE Linux)
configure:2984: $? = 0
configure:2973: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2984: $? = 1
configure:2973: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:2984: $? = 1
configure:3004: checking whether the C compiler works
configure:3026: gcc conftest.c >&5
configure:3030: $? = 0
configure:3078: result: yes
configure:3081: checking for C compiler default output file name
configure:3083: result: a.out
configure:3089: checking for suffix of executables
configure:3096: gcc -o conftest conftest.c >&5
configure:3100: $? = 0
configure:3122: result:
configure:3144: checking whether we are cross compiling
configure:3152: gcc -o conftest conftest.c >&5
configure:3156: $? = 0
configure:3163: ./conftest
configure:3167: $? = 0
configure:3182: result: no
configure:3187: checking for suffix of object files
configure:3209: gcc -c conftest.c >&5
configure:3213: $? = 0
configure:3234: result: o
configure:3238: checking whether we are using the GNU C compiler
configure:3257: gcc -c conftest.c >&5
configure:3257: $? = 0
configure:3266: result: yes
configure:3275: checking whether gcc accepts -g
configure:3295: gcc -c -g conftest.c >&5
configure:3295: $? = 0
configure:3336: result: yes
configure:3353: checking for gcc option to accept ISO C89
configure:3417: gcc -c -g -O2 conftest.c >&5
configure:3417: $? = 0
configure:3430: result: none needed
configure:3508: checking for g++
configure:3524: found /usr/bin/g++
configure:3535: result: g++
configure:3562: checking for C++ compiler version
configure:3571: g++ --version >&5
g++ (SUSE Linux) 4.8.1 20130909 [gcc-4_8-branch revision 202388]
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3582: $? = 0
configure:3571: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.8/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-
gxx-include-dir=/usr/include/c++/4.8 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-syst
em-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --program-suffix=-4.8 --enable-linux-futex --without-system-libunwind --wit
h-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.8.1 20130909 [gcc-4_8-branch revision 202388] (SUSE Linux)
configure:3582: $? = 0
configure:3571: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:3582: $? = 1
configure:3571: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
compilation terminated.
configure:3582: $? = 1
configure:3586: checking whether we are using the GNU C++ compiler
configure:3605: g++ -c conftest.cpp >&5
configure:3605: $? = 0
configure:3614: result: yes
configure:3623: checking whether g++ accepts -g
configure:3643: g++ -c -g conftest.cpp >&5
configure:3643: $? = 0
configure:3684: result: yes
configure:3709: checking for -objcopy
configure:3739: result: no
configure:3749: checking for objcopy
configure:3765: found /usr/bin/objcopy
configure:3777: result: objcopy
configure:3794: checking for -ld
configure:3824: result: no
configure:3834: checking for ld
configure:3850: found /usr/bin/ld
configure:3862: result: ld
configure:3893: checking for a BSD-compatible install
configure:3961: result: /usr/bin/install -c
configure:3984: checking how to run the C preprocessor
configure:4015: gcc -E conftest.c
configure:4015: $? = 0
configure:4029: gcc -E conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:4029: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ffabi"
| #define PACKAGE_TARNAME "ffabi"
| #define PACKAGE_VERSION "0"
| #define PACKAGE_STRING "ffabi 0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4054: result: gcc -E
configure:4074: gcc -E conftest.c
configure:4074: $? = 0
configure:4088: gcc -E conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:4088: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ffabi"
| #define PACKAGE_TARNAME "ffabi"
| #define PACKAGE_VERSION "0"
| #define PACKAGE_STRING "ffabi 0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4117: checking for grep that handles long lines and -e
configure:4175: result: /usr/bin/grep
configure:4180: checking for egrep
configure:4242: result: /usr/bin/grep -E
configure:4247: checking for ANSI C header files
configure:4267: gcc -c -g -O2 conftest.c >&5
configure:4267: $? = 0
configure:4340: gcc -o conftest -g -O2 conftest.c >&5
configure:4340: $? = 0
configure:4340: ./conftest
configure:4340: $? = 0
configure:4351: result: yes
configure:4364: checking for sys/types.h
configure:4364: gcc -c -g -O2 conftest.c >&5
configure:4364: $? = 0
configure:4364: result: yes
configure:4364: checking for sys/stat.h
configure:4364: gcc -c -g -O2 conftest.c >&5
configure:4364: $? = 0
configure:4364: result: yes
configure:4364: checking for stdlib.h
configure:4364: gcc -c -g -O2 conftest.c >&5
configure:4364: $? = 0
configure:4364: result: yes
configure:4364: checking for string.h
configure:4364: gcc -c -g -O2 conftest.c >&5
configure:4364: $? = 0
configure:4364: result: yes
configure:4364: checking for memory.h
configure:4364: gcc -c -g -O2 conftest.c >&5
configure:4364: $? = 0
configure:4364: result: yes
configure:4364: checking for strings.h
configure:4364: gcc -c -g -O2 conftest.c >&5
configure:4364: $? = 0
configure:4364: result: yes
configure:4364: checking for inttypes.h
configure:4364: gcc -c -g -O2 conftest.c >&5
configure:4364: $? = 0
configure:4364: result: yes
configure:4364: checking for stdint.h
configure:4364: gcc -c -g -O2 conftest.c >&5
configure:4364: $? = 0
configure:4364: result: yes
configure:4364: checking for unistd.h
configure:4364: gcc -c -g -O2 conftest.c >&5
configure:4364: $? = 0
configure:4364: result: yes
configure:4378: checking zlib.h usability
configure:4378: gcc -c -g -O2 conftest.c >&5
configure:4378: $? = 0
configure:4378: result: yes
configure:4378: checking zlib.h presence
configure:4378: gcc -E conftest.c
configure:4378: $? = 0
configure:4378: result: yes
configure:4378: checking for zlib.h
configure:4378: result: yes
configure:4395: checking for compress2 in -lz
configure:4420: gcc -o conftest -g -O2 conftest.c -lz >&5
configure:4420: $? = 0
configure:4429: result: yes
configure:4451: checking openssl/opensslconf.h usability
configure:4451: gcc -c -g -O2 conftest.c >&5
configure:4451: $? = 0
configure:4451: result: yes
configure:4451: checking openssl/opensslconf.h presence
configure:4451: gcc -E conftest.c
configure:4451: $? = 0
configure:4451: result: yes
configure:4451: checking for openssl/opensslconf.h
configure:4451: result: yes
configure:4468: checking for AES_encrypt in -lcrypto
configure:4493: gcc -o conftest -g -O2 conftest.c -lcrypto -lz >&5
configure:4493: $? = 0
configure:4502: result: yes
configure:4524: checking expat.h usability
configure:4524: gcc -c -g -O2 conftest.c >&5
configure:4524: $? = 0
configure:4524: result: yes
configure:4524: checking expat.h presence
configure:4524: gcc -E conftest.c
configure:4524: $? = 0
configure:4524: result: yes
configure:4524: checking for expat.h
configure:4524: result: yes
configure:4541: checking for XML_ParserCreate in -lexpat
configure:4566: gcc -o conftest -g -O2 conftest.c -lexpat -lcrypto -lz >&5
configure:4566: $? = 0
configure:4575: result: yes
configure:4649: checking for pkg-config
configure:4667: found /usr/bin/pkg-config
configure:4679: result: /usr/bin/pkg-config
configure:4704: checking pkg-config is at least version 0.9.0
configure:4707: result: yes
configure:4717: checking for ffmpeg
configure:4724: $PKG_CONFIG --exists --print-errors "libavcodec libavutil"
configure:4727: $? = 0
configure:4741: $PKG_CONFIG --exists --print-errors "libavcodec libavutil"
configure:4744: $? = 0
configure:4782: result: yes
configure:4791: checking whether LIBAVCODEC_VERSION_MAJOR is declared
configure:4791: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
configure:4791: $? = 0
configure:4791: result: yes
configure:4805: checking LIBAVCODEC_VERSION_MAJOR
configure:4807: gcc -o conftest -g -O2 -I/usr/local/include conftest.c -lexpat -lcrypto -lz -L/usr/local/lib -lavcodec -lXv -lX11 -lXext -lva -lX11 -ljack -lasound -lSDL -lpthread -lm -llzma -lbz2 -lz -pthread -lswresample
-lm -lavutil -lm >&5
configure:4807: $? = 0
configure:4807: ./conftest
configure:4807: $? = 0
configure:4822: result: 56
configure:4826: checking for AVFrame.nb_samples
configure:4826: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
configure:4826: $? = 0
configure:4826: result: yes
configure:4838: checking whether AV_SAMPLE_FMT_U8P is declared
configure:4838: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
configure:4838: $? = 0
configure:4838: result: yes
configure:4850: checking for avcodec_encode_audio2
configure:4850: gcc -o conftest -g -O2 -I/usr/local/include conftest.c -lexpat -lcrypto -lz -L/usr/local/lib -lavcodec -lXv -lX11 -lXext -lva -lX11 -ljack -lasound -lSDL -lpthread -lm -llzma -lbz2 -lz -pthread -lswresample
-lm -lavutil -lm >&5
configure:4850: $? = 0
configure:4850: result: yes
configure:4865: checking for AVCodecContext.refcounted_frames
configure:4865: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
configure:4865: $? = 0
configure:4865: result: yes
configure:4876: checking whether avcodec_free_frame is declared
configure:4876: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
conftest.c: In function 'main':
conftest.c:35:3: warning: 'avcodec_free_frame' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3570) [-Wdeprecated-declarations]
(void) avcodec_free_frame;
^
configure:4876: $? = 0
configure:4876: result: yes
configure:4887: checking for av_log_format_line
configure:4887: gcc -o conftest -g -O2 -I/usr/local/include conftest.c -lexpat -lcrypto -lz -L/usr/local/lib -lavcodec -lXv -lX11 -lXext -lva -lX11 -ljack -lasound -lSDL -lpthread -lm -llzma -lbz2 -lz -pthread -lswresample
-lm -lavutil -lm >&5
configure:4887: $? = 0
configure:4887: result: yes
configure:4897: checking for enum AVCodecID
configure:4897: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
configure:4897: $? = 0
configure:4897: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
conftest.c: In function 'main':
conftest.c:33:29: error: expected expression before ')' token
if (sizeof ((enum AVCodecID)))
^
configure:4897: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ffabi"
| #define PACKAGE_TARNAME "ffabi"
| #define PACKAGE_VERSION "0"
| #define PACKAGE_STRING "ffabi 0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define HAVE_OPENSSL_OPENSSLCONF_H 1
| #define HAVE_LIBCRYPTO 1
| #define HAVE_EXPAT_H 1
| #define HAVE_LIBEXPAT 1
| #define FFABI_HAVE_REFCOUNTED_FRAMES 1
| #define FFABI_HAVE_AVCODEC_FREE_FRAME 1
| #define FFABI_HAVE_AV_LOG_FORMAT_LINE 1
| /* end confdefs.h. */
| #include <libavcodec/avcodec.h>
|
| int
| main ()
| {
| if (sizeof ((enum AVCodecID)))
| return 0;
| ;
| return 0;
| }
configure:4897: result: yes
configure:4921: checking whether AV_CODEC_ID_NONE is declared
configure:4921: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
configure:4921: $? = 0
configure:4921: result: yes
configure:4945: checking whether av_frame_get_channels is declared
configure:4945: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
configure:4945: $? = 0
configure:4945: result: yes
configure:4956: checking whether av_frame_get_sample_rate is declared
configure:4956: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
configure:4956: $? = 0
configure:4956: result: yes
configure:4967: checking whether av_frame_set_channel_layout is declared
configure:4967: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
configure:4967: $? = 0
configure:4967: result: yes
configure:4978: checking for AVCodecParserContext.duration
configure:4978: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
configure:4978: $? = 0
configure:4978: result: yes
configure:4989: checking whether AV_CH_TOP_BACK_CENTER is declared
configure:4989: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
configure:4989: $? = 0
configure:4989: result: yes
configure:5116: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by ffabi config.status 0, which was
generated by GNU Autoconf 2.68. Invocation command line was

CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status

on mail

config.status:855: creating Makefile
config.status:855: creating libffabi/src/ffabicfg.h

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DESTDIR_set=
ac_cv_env_DESTDIR_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_ffmpeg_CFLAGS_set=
ac_cv_env_ffmpeg_CFLAGS_value=
ac_cv_env_ffmpeg_LIBS_set=
ac_cv_env_ffmpeg_LIBS_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_av_log_format_line=yes
ac_cv_func_avcodec_encode_audio2=yes
ac_cv_have_decl_AV_CH_TOP_BACK_CENTER=yes
ac_cv_have_decl_AV_CODEC_ID_NONE=yes
ac_cv_have_decl_AV_SAMPLE_FMT_U8P=yes
ac_cv_have_decl_LIBAVCODEC_VERSION_MAJOR=yes
ac_cv_have_decl_av_frame_get_channels=yes
ac_cv_have_decl_av_frame_get_sample_rate=yes
ac_cv_have_decl_av_frame_set_channel_layout=yes
ac_cv_have_decl_avcodec_free_frame=yes
ac_cv_header_expat_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_openssl_opensslconf_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_zlib_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_lib_crypto_AES_encrypt=yes
ac_cv_lib_expat_XML_ParserCreate=yes
ac_cv_lib_z_compress2=yes
ac_cv_member_AVCodecContext_refcounted_frames=yes
ac_cv_member_AVCodecParserContext_duration=yes
ac_cv_member_AVFrame_nb_samples=yes
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_LD=ld
ac_cv_prog_ac_ct_OBJCOPY=objcopy
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_target=x86_64-unknown-linux-gnu
ac_cv_type_enum_AVCodecID=yes
pkg_cv_ffmpeg_CFLAGS='-I/usr/local/include '
pkg_cv_ffmpeg_LIBS='-L/usr/local/lib -lavcodec -lXv -lX11 -lXext -lva -lX11 -ljack -lasound -lSDL -lpthread -lm -llzma -lbz2 -lz -pthread -lswresample -lm -lavutil -lm '

## ----------------- ##
## Output variables. ##
## ----------------- ##

CC='gcc'
CFLAGS='-g -O2 -I/usr/local/include '
CFLAGS_OPT='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXFLAGS='-g -O2'
DEFS='-DHAVE_CONFIG_H'
DESTDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
ENABLE_GUI='yes'
EXEEXT=''
GREP='/usr/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='ld'
LDFLAGS=''
LIBOBJS=''
LIBS='-lexpat -lcrypto -lz -L/usr/local/lib -lavcodec -lXv -lX11 -lXext -lva -lX11 -ljack -lasound -lSDL -lpthread -lm -llzma -lbz2 -lz -pthread -lswresample -lm -lavutil -lm '
LTLIBOBJS=''
OBJCOPY='objcopy'
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='ffabi'
PACKAGE_STRING='ffabi 0'
PACKAGE_TARNAME='ffabi'
PACKAGE_URL=''
PACKAGE_VERSION='0'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
SHELL='/bin/sh'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
ffmpeg_CFLAGS='-I/usr/local/include '
ffmpeg_LIBS='-L/usr/local/lib -lavcodec -lXv -lX11 -lXext -lva -lX11 -ljack -lasound -lSDL -lpthread -lm -llzma -lbz2 -lz -pthread -lswresample -lm -lavutil -lm '
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib64'
libexecdir='${exec_prefix}/lib'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='x86_64-unknown-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='unknown'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "ffabi"
#define PACKAGE_TARNAME "ffabi"
#define PACKAGE_VERSION "0"
#define PACKAGE_STRING "ffabi 0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_ZLIB_H 1
#define HAVE_LIBZ 1
#define HAVE_OPENSSL_OPENSSLCONF_H 1
#define HAVE_LIBCRYPTO 1
#define HAVE_EXPAT_H 1
#define HAVE_LIBEXPAT 1
#define FFABI_HAVE_REFCOUNTED_FRAMES 1
#define FFABI_HAVE_AVCODEC_FREE_FRAME 1
#define FFABI_HAVE_AV_LOG_FORMAT_LINE 1
#define FFABI_HAVE_AVCODECID 1
#define FFABI_HAVE_AV_CODEC_ID_NAMES 1
#define FFABI_HAVE_AV_FRAME_CHANNELS 1
#define FFABI_HAVE_AV_FRAME_SAMPLE_RATE 1
#define FFABI_HAVE_AV_FRAME_CHANNEL_LAYOUT 1
#define FFABI_HAVE_PARSER_DURATION 1
#define FFABI_HAVE_AVUTIL_CHANNEL_LAYOUT_H 1

configure: exit 0
ripper17
Posts: 2
Joined: Sun Mar 06, 2011 10:42 am

Re: How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by ripper17 »

Here's what you have to do on openSUSE tumbleweed, MakeMKV 1.10.0 (and probably higher)

1.) Download makemkv-oss-*.tar.gz and makemkv-bin-*.tar.gz from the thread "MakeMKV * is available for Linux" (* is the current version of MakeMKV)

2.) Add the Packman Repository

3.) Open a terminal window / konsole and run

Code: Select all

sudo zypper in gcc zlib-devel openssl-devel libexpat-devel libavutil-devel ffmpeg-devel libqt5-qtbase-devel

NOTE: you might need to downgrade libpostproc53 in order to install ffmpeg-devel

4.) In konsole/terminal, navigate to the folder you've downloaded the two makemkv-files (oss, bin) into (e.g. 'cd Downloads') and run

Code: Select all

tar -xvf makemkv-oss-1.10.0.tar.gz
tar -xvf makemkv-bin-1.10.0.tar.gz
(Adapt version numbers if applicable)

5. In the same konsole / terminal window:

Code: Select all

cd makemkv-oss-1.10.0
./configure
make
sudo make install
(Again, adapt version number if needed)

6. Still in the same konsole / terminal window:

Code: Select all

cd ../makemkv-bin-1.10.0
make
sudo make install
(Once more: adapt version numbers if needed).

After that, you can start MakeMKV (e.g. by using KRunner, from the command line, etc.)
herrybraun
Posts: 1
Joined: Wed Jun 28, 2017 7:48 am
Location: Leeds
Contact:

Re: How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by herrybraun »

I followed all instruction and faces no issue in installing MakeMKV for openSuSE. Thanks....
Topher
Posts: 7
Joined: Tue Jan 03, 2017 11:22 pm

Re: How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by Topher »

lsb_release -a
LSB Version: core-5.0-amd64:core-5.0-noarch:desktop-5.0-amd64:desktop-5.0-noarch:imaging-5.0-amd64:imaging-5.0-noarch:languages-5.0-amd64:languages-5.0-noarch
Distributor ID: openSUSE project
Description: openSUSE Leap 42.3
Release: 42.3

uname -a
Linux linux-dtopws 4.4.126-48-default #1 SMP Sat Apr 7 05:22:50 UTC 2018 (f24992c) x86_64 x86_64 x86_64 GNU/Linux

Upgrade from prev. ver. to 1.12.2
May 5th, 2018,

Code: Select all

sudo zypper refresh

Code: Select all

sudo zypper dist-upgrade

Code: Select all

tar -xvf makemkv-oss*.tar.gz
cd makemkv-oss*/
./configure
make
sudo make install

Code: Select all

tar -xvf makemkv-bin*.tar.gz
cd makemkv-bin*/
make
 - (Type 'q', then 'yes' to accept the license.)
sudo make install
Worked great~Thanks!!!
Topher
Posts: 7
Joined: Tue Jan 03, 2017 11:22 pm

Re: How-2 Install MakeMKV for non-Debian Linux (openSuSE)

Post by Topher »

openSuse 15.0

Just had to add:

Code: Select all

sudo zypper install libexpat-devel
Post Reply