MakeMKV 1.8.8 installation fail on Debian Jessie

The place to discuss linux version of MakeMKV
Post Reply
The Spatial Sprite
Posts: 3
Joined: Sun Feb 02, 2014 11:27 am

MakeMKV 1.8.8 installation fail on Debian Jessie

Post by The Spatial Sprite »

Hello everybody out there!

I am on Debian Jessie (current Testing). I am using MakeMKV since version 1.8.3, with direct playback on VLC since version 1.8.5 and everything went all right since today.

I have just download MakeMKV 1.8.8 today. Going in folder “makemkv-oss-1.8.8”, here is what I get:

Code: Select all

$ ./configure 
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for -objcopy... no
checking for objcopy... objcopy
checking for -ld... no
checking for ld... ld
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for compress2 in -lz... yes
checking openssl/opensslconf.h usability... yes
checking openssl/opensslconf.h presence... yes
checking for openssl/opensslconf.h... yes
checking for AES_encrypt in -lcrypto... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ffmpeg... yes
checking whether LIBAVCODEC_VERSION_MAJOR is declared... yes
checking LIBAVCODEC_VERSION_MAJOR... 54
checking for AVFrame.nb_samples... yes
checking whether AV_SAMPLE_FMT_U8P is declared... yes
checking for avcodec_encode_audio2... yes
checking for AVCodecContext.refcounted_frames... no
checking whether avcodec_free_frame is declared... yes
checking for av_log_format_line... no
checking for enum AVCodecID... yes
checking whether AV_CODEC_ID_NONE is declared... yes
checking whether av_frame_get_channels is declared... no
checking whether av_frame_get_sample_rate is declared... no
checking whether av_frame_set_channel_layout is declared... no
checking for AVCodecParserContext.duration... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libffabi/src/ffabicfg.h

$ make
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 libdriveio/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-linux-gnu\"" >> tmp/gen_buildinfo.h
echo "#define BUILDINFO_BUILD_DATE \"dimanche 2 f?vrier 2014, 11:30:37 (UTC+0100)\"" >> 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/EbmlMaster.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/IOCallback.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/KaxCluster.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 libmatroska/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/ffabi.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  \
	-fPIC -Xlinker -dy -Xlinker --version-script=libmakemkv/src/libmakemkv.vers \
	-Xlinker -soname=libmakemkv.so.1 -lc -lstdc++ -lcrypto -lz -lexpat -lavcodec -lavutil   -lm
libffabi/src/audio_mix_matrix.c: In function ‘sane_layout’:
libffabi/src/audio_mix_matrix.c:65:20: error: ‘AV_CH_LAYOUT_SURROUND’ undeclared (first use in this function)
     if (!(layout & AV_CH_LAYOUT_SURROUND))
                    ^
libffabi/src/audio_mix_matrix.c:65:20: note: each undeclared identifier is reported only once for each function it appears in
libffabi/src/audio_mix_matrix.c:69:25: error: ‘AV_CH_FRONT_LEFT’ undeclared (first use in this function)
     if (!even(layout & (AV_CH_FRONT_LEFT           | AV_CH_FRONT_RIGHT))           ||
                         ^
libffabi/src/audio_mix_matrix.c:69:54: error: ‘AV_CH_FRONT_RIGHT’ undeclared (first use in this function)
     if (!even(layout & (AV_CH_FRONT_LEFT           | AV_CH_FRONT_RIGHT))           ||
                                                      ^
libffabi/src/audio_mix_matrix.c:70:25: error: ‘AV_CH_SIDE_LEFT’ undeclared (first use in this function)
         !even(layout & (AV_CH_SIDE_LEFT            | AV_CH_SIDE_RIGHT))            ||
                         ^
libffabi/src/audio_mix_matrix.c:70:54: error: ‘AV_CH_SIDE_RIGHT’ undeclared (first use in this function)
         !even(layout & (AV_CH_SIDE_LEFT            | AV_CH_SIDE_RIGHT))            ||
                                                      ^
libffabi/src/audio_mix_matrix.c:71:25: error: ‘AV_CH_BACK_LEFT’ undeclared (first use in this function)
         !even(layout & (AV_CH_BACK_LEFT            | AV_CH_BACK_RIGHT))            ||
                         ^
libffabi/src/audio_mix_matrix.c:71:54: error: ‘AV_CH_BACK_RIGHT’ undeclared (first use in this function)
         !even(layout & (AV_CH_BACK_LEFT            | AV_CH_BACK_RIGHT))            ||
                                                      ^
libffabi/src/audio_mix_matrix.c:72:25: error: ‘AV_CH_FRONT_LEFT_OF_CENTER’ undeclared (first use in this function)
         !even(layout & (AV_CH_FRONT_LEFT_OF_CENTER | AV_CH_FRONT_RIGHT_OF_CENTER)) ||
                         ^
libffabi/src/audio_mix_matrix.c:72:54: error: ‘AV_CH_FRONT_RIGHT_OF_CENTER’ undeclared (first use in this function)
         !even(layout & (AV_CH_FRONT_LEFT_OF_CENTER | AV_CH_FRONT_RIGHT_OF_CENTER)) ||
                                                      ^
libffabi/src/audio_mix_matrix.c:73:25: error: ‘AV_CH_TOP_FRONT_LEFT’ undeclared (first use in this function)
         !even(layout & (AV_CH_TOP_FRONT_LEFT       | AV_CH_TOP_FRONT_RIGHT))       ||
                         ^
libffabi/src/audio_mix_matrix.c:73:54: error: ‘AV_CH_TOP_FRONT_RIGHT’ undeclared (first use in this function)
         !even(layout & (AV_CH_TOP_FRONT_LEFT       | AV_CH_TOP_FRONT_RIGHT))       ||
                                                      ^
libffabi/src/audio_mix_matrix.c:74:25: error: ‘AV_CH_TOP_BACK_LEFT’ undeclared (first use in this function)
         !even(layout & (AV_CH_TOP_BACK_LEFT        | AV_CH_TOP_BACK_RIGHT))        ||
                         ^
libffabi/src/audio_mix_matrix.c:74:54: error: ‘AV_CH_TOP_BACK_RIGHT’ undeclared (first use in this function)
         !even(layout & (AV_CH_TOP_BACK_LEFT        | AV_CH_TOP_BACK_RIGHT))        ||
                                                      ^
libffabi/src/audio_mix_matrix.c:75:25: error: ‘AV_CH_STEREO_LEFT’ undeclared (first use in this function)
         !even(layout & (AV_CH_STEREO_LEFT          | AV_CH_STEREO_RIGHT))          ||
                         ^
libffabi/src/audio_mix_matrix.c:75:54: error: ‘AV_CH_STEREO_RIGHT’ undeclared (first use in this function)
         !even(layout & (AV_CH_STEREO_LEFT          | AV_CH_STEREO_RIGHT))          ||
                                                      ^
libffabi/src/audio_mix_matrix.c:76:25: error: ‘AV_CH_WIDE_LEFT’ undeclared (first use in this function)
         !even(layout & (AV_CH_WIDE_LEFT            | AV_CH_WIDE_RIGHT))            ||
                         ^
libffabi/src/audio_mix_matrix.c:76:54: error: ‘AV_CH_WIDE_RIGHT’ undeclared (first use in this function)
         !even(layout & (AV_CH_WIDE_LEFT            | AV_CH_WIDE_RIGHT))            ||
                                                      ^
libffabi/src/audio_mix_matrix.c:77:25: error: ‘AV_CH_SURROUND_DIRECT_LEFT’ undeclared (first use in this function)
         !even(layout & (AV_CH_SURROUND_DIRECT_LEFT | AV_CH_SURROUND_DIRECT_RIGHT)))
                         ^
libffabi/src/audio_mix_matrix.c:77:54: error: ‘AV_CH_SURROUND_DIRECT_RIGHT’ undeclared (first use in this function)
         !even(layout & (AV_CH_SURROUND_DIRECT_LEFT | AV_CH_SURROUND_DIRECT_RIGHT)))
                                                      ^
libffabi/src/audio_mix_matrix.c: In function ‘ff_avresample_build_matrix’:
libffabi/src/audio_mix_matrix.c:95:23: error: ‘AV_CH_LAYOUT_STEREO_DOWNMIX’ undeclared (first use in this function)
     if ((out_layout & AV_CH_LAYOUT_STEREO_DOWNMIX) == AV_CH_LAYOUT_STEREO_DOWNMIX) {
                       ^
libffabi/src/audio_mix_matrix.c:96:22: error: ‘AV_CH_LAYOUT_STEREO’ undeclared (first use in this function)
         out_layout = AV_CH_LAYOUT_STEREO;
                      ^
libffabi/src/audio_mix_matrix.c:123:23: error: ‘AV_CH_FRONT_CENTER’ undeclared (first use in this function)
     if (unaccounted & AV_CH_FRONT_CENTER) {
                       ^
libffabi/src/audio_mix_matrix.c:142:23: error: ‘AV_CH_BACK_CENTER’ undeclared (first use in this function)
     if (unaccounted & AV_CH_BACK_CENTER) {
                       ^
libffabi/src/audio_mix_matrix.c:143:26: error: ‘AV_CH_BACK_LEFT’ undeclared (first use in this function)
         if (out_layout & AV_CH_BACK_LEFT) {
                          ^
libffabi/src/audio_mix_matrix.c:146:33: error: ‘AV_CH_SIDE_LEFT’ undeclared (first use in this function)
         } else if (out_layout & AV_CH_SIDE_LEFT) {
                                 ^
libffabi/src/audio_mix_matrix.c:149:33: error: ‘AV_CH_FRONT_LEFT’ undeclared (first use in this function)
         } else if (out_layout & AV_CH_FRONT_LEFT) {
                                 ^
libffabi/src/audio_mix_matrix.c:241:23: error: ‘AV_CH_FRONT_LEFT_OF_CENTER’ undeclared (first use in this function)
     if (unaccounted & AV_CH_FRONT_LEFT_OF_CENTER) {
                       ^
libffabi/src/audio_mix_matrix.c:252:23: error: ‘AV_CH_LOW_FREQUENCY’ undeclared (first use in this function)
     if (unaccounted & AV_CH_LOW_FREQUENCY) {
                       ^
make: *** [out/libmakemkv.so.1.full] Erreur 1
Something is wrong with Libavcodec, I guess. I will investigate further, but if you have an idea, feel free to try and keep me informed!

Regards.

The Spatial Sprite
The Spatial Sprite
Posts: 3
Joined: Sun Feb 02, 2014 11:27 am

Re: MakeMKV 1.8.8 installation fail on Debian Jessie

Post by The Spatial Sprite »

Hello everybody out there!

Well, it seems I do not have much luck with this subject…

For my part, I have not found anything to solve this. Maybe the following while running configure should be fixed:

Code: Select all

checking for av_log_format_line... no
And:

Code: Select all

checking whether av_frame_get_channels is declared... no
checking whether av_frame_get_sample_rate is declared... no
checking whether av_frame_set_channel_layout is declared... no
Still, I do not have a clue on how to solve this.

Here are available versions of libavcode-dev:

Code: Select all

$ aptitude versions libavcodec-dev
Paquet libavcodec-dev :                        
p   6:0.8.6-1                                     stable                    900 
p   6:0.8.9-1                                     stable                    900 
p   6:9.10-1~bpo70+1                              wheezy-backports          100 
i   6:9.10-2                                      testing,unstable          900 
p   6:10~alpha2-1                                 experimental              2   
p   8:1.0.8-dmo1                                  stable                    700 
p   10:1.2.5-dmo1+wheezy+bp1                      stable-backports          500 
p   10:2.1.3-dmo1                                 testing                   700 
p   10:2.1.3-dmo2                                 unstable                  600
Should I try version 10:2.1.3?

Regards.
mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: MakeMKV 1.8.8 installation fail on Debian Jessie

Post by mike admin »

What version of libavcodec do you have now? Alternatively, you can try building with static ffmpeg per instructions at main sticky.
Harri
Posts: 13
Joined: Sat Apr 24, 2010 6:25 pm

Re: MakeMKV 1.8.8 installation fail on Debian Jessie

Post by Harri »

This avcodec stuff makes a lot of build problems. Do you think it would be possible to make this codec support optional? Up to version 1.8.4 (or 1.8.5?) makemkv could be easily compiled without problems, and it did its job perfectly.
mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: MakeMKV 1.8.8 installation fail on Debian Jessie

Post by mike admin »

The makemkv-oss-1.8.8.tar.gz file is updated, it should compile now. The libavcodec is sort of optional even now - the oldest version in any distro will work just fine. Some functionality will not be available, but it would compile.
The Spatial Sprite
Posts: 3
Joined: Sun Feb 02, 2014 11:27 am

Re: MakeMKV 1.8.8 installation fail on Debian Jessie

Post by The Spatial Sprite »

Hello every body out there!

Forgive my late reply.
mike admin wrote: What version of libavcodec do you have now?
Well:
The Spatial Sprite wrote:

Code: Select all

$ aptitude versions libavcodec-dev
Paquet libavcodec-dev :                       
p   6:0.8.6-1                                     stable                    900
p   6:0.8.9-1                                     stable                    900
p   6:9.10-1~bpo70+1                              wheezy-backports          100
i   6:9.10-2                                      testing,unstable          900
p   6:10~alpha2-1                                 experimental              2   
p   8:1.0.8-dmo1                                  stable                    700
p   10:1.2.5-dmo1+wheezy+bp1                      stable-backports          500
p   10:2.1.3-dmo1                                 testing                   700
p   10:2.1.3-dmo2                                 unstable                  600
The “i” meaning “installed.” I may try version 10:2.1.3.
mike admin wrote: Alternatively, you can try building with static ffmpeg per instructions at main sticky.
Yes, I have not test this yet. I should.

Regards.

The Spatial Sprite.
Post Reply