MakeMKV not compiling for me

The place to discuss linux version of MakeMKV
Post Reply
Message
Author
jfha73
Posts: 6
Joined: Fri Jun 08, 2012 6:46 pm

MakeMKV not compiling for me

#1 Post by jfha73 » Tue Feb 04, 2014 12:14 am

It claims I don't have ffmpeg and libavcodec but when I run ffmpeg -version it shows this:

ffmpeg -version
ffmpeg version 2.1.git
built on Feb 3 2014 18:49:39 with gcc 4.8 (SUSE Linux)
libavutil 52. 63.100 / 52. 63.100
libavcodec 55. 49.101 / 55. 49.101
libavformat 55. 29.101 / 55. 29.101
libavdevice 55. 7.100 / 55. 7.100
libavfilter 4. 1.102 / 4. 1.102
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104

What can I do? :?

dawgg
Posts: 8
Joined: Wed Jan 29, 2014 1:42 pm

Re: MakeMKV not compiling for me

#2 Post by dawgg » Sat Feb 08, 2014 7:39 pm

run

Code: Select all

./configure --help
and this will show you how to pass which params.
then you run configure with the correct suse-path to ffmpeg, eg

Code: Select all

configure --ffmpeg-path /ffmpeg/path/on/suse-systems
or you directly edit the makefile.
if you just invoke ffmpeg w/out params it should tell you the important stuff, eg (on my system):

Code: Select all

ice@x2 ~ $ ffmpeg   
ffmpeg version 1.2.5 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jan 22 2014 12:30:08 with gcc 4.8.2 (Gentoo 4.8.2 p1.0, pie-0.5.8)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man (...)
GOOD LUCK!

jfha73
Posts: 6
Joined: Fri Jun 08, 2012 6:46 pm

Re: MakeMKV not compiling for me

#3 Post by jfha73 » Sat Feb 08, 2014 8:41 pm

I tried that and I get:
configure: error: unrecognized option: `--ffmpeg-path'

dawgg
Posts: 8
Joined: Wed Jan 29, 2014 1:42 pm

Re: MakeMKV not compiling for me

#4 Post by dawgg » Sun Feb 09, 2014 11:48 am

configure: error: unrecognized option: `--ffmpeg-path'
OK, i was just guessing because my package-manager does all this for me.

have you run this:

Code: Select all

ice@x2 ~/tmp/makemkv-oss-1.8.8 $ ./configure --help
<SNIP>
ffmpeg_CFLAGS
              C compiler flags for ffmpeg, overriding pkg-config
ffmpeg_LIBS linker flags for ffmpeg, overriding pkg-config

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
so it should look sth. like

Code: Select all

ice@x2 ~/tmp/makemkv-oss-1.8.8 $ ./configure --ffmpeg_LIBS=/where/ever/SUSE/stores/them
GOOD LUCK!

jfha73
Posts: 6
Joined: Fri Jun 08, 2012 6:46 pm

Re: MakeMKV not compiling for me

#5 Post by jfha73 » Sun Feb 23, 2014 4:42 pm

I finally got it,

You have to install ffmpeg from a repo so it's listed in your database, I used the packman repository and afetr I installed ffmpeg with it, MakeMKV compiled with no problems.

AliceWonder
Posts: 11
Joined: Mon Mar 10, 2014 1:16 am

Re: MakeMKV not compiling for me

#6 Post by AliceWonder » Wed Mar 12, 2014 3:14 pm

Actually it doesn't matter if it is installed from a repo, the configure script just needs to be able locate the header files.

Post Reply