Page 1 of 1

MakeMKV not compiling for me

Posted: Tue Feb 04, 2014 12:14 am
by jfha73
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? :?

Re: MakeMKV not compiling for me

Posted: Sat Feb 08, 2014 7:39 pm
by dawgg
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!

Re: MakeMKV not compiling for me

Posted: Sat Feb 08, 2014 8:41 pm
by jfha73
I tried that and I get:
configure: error: unrecognized option: `--ffmpeg-path'

Re: MakeMKV not compiling for me

Posted: Sun Feb 09, 2014 11:48 am
by dawgg
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!

Re: MakeMKV not compiling for me

Posted: Sun Feb 23, 2014 4:42 pm
by jfha73
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.

Re: MakeMKV not compiling for me

Posted: Wed Mar 12, 2014 3:14 pm
by AliceWonder
Actually it doesn't matter if it is installed from a repo, the configure script just needs to be able locate the header files.