Unable to configure 1.8.7 under Debian Wheezy

The place to discuss linux version of MakeMKV
Post Reply
lrhorer
Posts: 3
Joined: Sat Dec 14, 2013 1:15 am

Unable to configure 1.8.7 under Debian Wheezy

Post by lrhorer »

I've been using MakeMKV for a year or so, now. I just upgraded my server to Debian Wheezy, and I tried to install the ne version of MakeMKV, but the configure script fails. I'm not exactly sure where. I compiled a new version of ffmpeg (Debian is now using a spoofed version of aconv), but it didn't help. The kernel is 3.2.0-4-amd64. The compiler is gcc 4.7.2 (Debian 4.7.2-5).

Here is the output of the configure script:

Code: Select all

RAID-Server:/RAID/Server-Main/Downloads/Linux/MakeMKV/makemkv-oss-1.8.7# PKG_CONFIG_PATH=/tmp/ffmpeg/lib/pkgconfig ./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... no                                                                                                                           
checking for ffmpeg... no                                                                                                                               
configure: error: .   
There are quite a few nasty looking things in the log, but I'm not sure which one(s) are the killer:

Code: Select all

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 = RAID-Server
uname -m = x86_64
uname -r = 3.2.0-4-amd64
uname -s = Linux
uname -v = #1 SMP Debian 3.2.46-1+deb7u1

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

/bin/arch              = unknown
/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/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin


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

configure:2529: checking build system type
configure:2543: result: x86_64-unknown-linux-gnu
configure:2563: checking host system type
configure:2576: result: x86_64-unknown-linux-gnu
configure:2596: checking target system type
configure:2609: result: x86_64-unknown-linux-gnu
configure:2696: checking for gcc
configure:2712: found /usr/bin/gcc
configure:2723: result: gcc
configure:2952: checking for C compiler version
configure:2961: gcc --version >&5
gcc (Debian 4.7.2-5) 4.7.2
Copyright (C) 2012 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:2972: $? = 0
configure:2961: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.2 (Debian 4.7.2-5) 
configure:2972: $? = 0
configure:2961: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2972: $? = 4
configure:2961: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:2972: $? = 4
configure:2992: checking whether the C compiler works
configure:3014: gcc    conftest.c  >&5
configure:3018: $? = 0
configure:3066: result: yes
configure:3069: checking for C compiler default output file name
configure:3071: result: a.out
configure:3077: checking for suffix of executables
configure:3084: gcc -o conftest    conftest.c  >&5
configure:3088: $? = 0
configure:3110: result: 
configure:3132: checking whether we are cross compiling
configure:3140: gcc -o conftest    conftest.c  >&5
configure:3144: $? = 0
configure:3151: ./conftest
configure:3155: $? = 0
configure:3170: result: no
configure:3175: checking for suffix of object files
configure:3197: gcc -c   conftest.c >&5
configure:3201: $? = 0
configure:3222: result: o
configure:3226: checking whether we are using the GNU C compiler
configure:3245: gcc -c   conftest.c >&5
configure:3245: $? = 0
configure:3254: result: yes
configure:3263: checking whether gcc accepts -g
configure:3283: gcc -c -g  conftest.c >&5
configure:3283: $? = 0
configure:3324: result: yes
configure:3341: checking for gcc option to accept ISO C89
configure:3405: gcc  -c -g -O2  conftest.c >&5
configure:3405: $? = 0
configure:3418: result: none needed
configure:3496: checking for g++
configure:3512: found /usr/bin/g++
configure:3523: result: g++
configure:3550: checking for C++ compiler version
configure:3559: g++ --version >&5
g++ (Debian 4.7.2-5) 4.7.2
Copyright (C) 2012 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:3570: $? = 0
configure:3559: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.2 (Debian 4.7.2-5) 
configure:3570: $? = 0
configure:3559: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:3570: $? = 4
configure:3559: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
compilation terminated.
configure:3570: $? = 4
configure:3574: checking whether we are using the GNU C++ compiler
configure:3593: g++ -c   conftest.cpp >&5
configure:3593: $? = 0
configure:3602: result: yes
configure:3611: checking whether g++ accepts -g
configure:3631: g++ -c -g  conftest.cpp >&5
configure:3631: $? = 0
configure:3672: result: yes
configure:3697: checking for -objcopy
configure:3727: result: no
configure:3737: checking for objcopy
configure:3753: found /usr/bin/objcopy
configure:3765: result: objcopy
configure:3782: checking for -ld
configure:3812: result: no
configure:3822: checking for ld
configure:3838: found /usr/bin/ld
configure:3850: result: ld
configure:3881: checking for a BSD-compatible install
configure:3949: result: /usr/bin/install -c
configure:3968: checking how to run the C preprocessor
configure:3999: gcc -E  conftest.c
configure:3999: $? = 0
configure:4013: gcc -E  conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4013: $? = 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:4038: result: gcc -E
configure:4058: gcc -E  conftest.c
configure:4058: $? = 0
configure:4072: gcc -E  conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4072: $? = 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:4101: checking for grep that handles long lines and -e
configure:4159: result: /bin/grep
configure:4164: checking for egrep
configure:4226: result: /bin/grep -E
configure:4231: checking for ANSI C header files
configure:4251: gcc -c -g -O2  conftest.c >&5
configure:4251: $? = 0
configure:4324: gcc -o conftest -g -O2   conftest.c  >&5
configure:4324: $? = 0
configure:4324: ./conftest
configure:4324: $? = 0
configure:4335: result: yes
configure:4348: checking for sys/types.h
configure:4348: gcc -c -g -O2  conftest.c >&5
configure:4348: $? = 0
configure:4348: result: yes
configure:4348: checking for sys/stat.h
configure:4348: gcc -c -g -O2  conftest.c >&5
configure:4348: $? = 0
configure:4348: result: yes
configure:4348: checking for stdlib.h
configure:4348: gcc -c -g -O2  conftest.c >&5
configure:4348: $? = 0
configure:4348: result: yes
configure:4348: checking for string.h
configure:4348: gcc -c -g -O2  conftest.c >&5
configure:4348: $? = 0
configure:4348: result: yes
configure:4348: checking for memory.h
configure:4348: gcc -c -g -O2  conftest.c >&5
configure:4348: $? = 0
configure:4348: result: yes
configure:4348: checking for strings.h
configure:4348: gcc -c -g -O2  conftest.c >&5
configure:4348: $? = 0
configure:4348: result: yes
configure:4348: checking for inttypes.h
configure:4348: gcc -c -g -O2  conftest.c >&5
configure:4348: $? = 0
configure:4348: result: yes
configure:4348: checking for stdint.h
configure:4348: gcc -c -g -O2  conftest.c >&5
configure:4348: $? = 0
configure:4348: result: yes
configure:4348: checking for unistd.h
configure:4348: gcc -c -g -O2  conftest.c >&5
configure:4348: $? = 0
configure:4348: result: yes
configure:4362: checking zlib.h usability
configure:4362: gcc -c -g -O2  conftest.c >&5
configure:4362: $? = 0
configure:4362: result: yes
configure:4362: checking zlib.h presence
configure:4362: gcc -E  conftest.c
configure:4362: $? = 0
configure:4362: result: yes
configure:4362: checking for zlib.h
configure:4362: result: yes
configure:4372: checking for compress2 in -lz
configure:4397: gcc -o conftest -g -O2   conftest.c -lz   >&5
configure:4397: $? = 0
configure:4406: result: yes
configure:4421: checking openssl/opensslconf.h usability
configure:4421: gcc -c -g -O2  conftest.c >&5
configure:4421: $? = 0
configure:4421: result: yes
configure:4421: checking openssl/opensslconf.h presence
configure:4421: gcc -E  conftest.c
configure:4421: $? = 0
configure:4421: result: yes
configure:4421: checking for openssl/opensslconf.h
configure:4421: result: yes
configure:4431: checking for AES_encrypt in -lcrypto
configure:4456: gcc -o conftest -g -O2   conftest.c -lcrypto  -lz  >&5
configure:4456: $? = 0
configure:4465: result: yes
configure:4480: checking expat.h usability
configure:4480: gcc -c -g -O2  conftest.c >&5
configure:4480: $? = 0
configure:4480: result: yes
configure:4480: checking expat.h presence
configure:4480: gcc -E  conftest.c
configure:4480: $? = 0
configure:4480: result: yes
configure:4480: checking for expat.h
configure:4480: result: yes
configure:4490: checking for XML_ParserCreate in -lexpat
configure:4515: gcc -o conftest -g -O2   conftest.c -lexpat  -lcrypto -lz  >&5
configure:4515: $? = 0
configure:4524: result: yes
configure:4591: checking for pkg-config
configure:4624: result: no
configure:4659: checking for ffmpeg
configure:4718: result: no
configure:4720: error: .

## ---------------- ##
## 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=set
ac_cv_env_PKG_CONFIG_PATH_value=/tmp/ffmpeg/lib/pkgconfig
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_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_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
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

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

CC='gcc'
CFLAGS='-g -O2'
CFLAGS_OPT='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXFLAGS='-g -O2'
DEFS=''
DESTDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
ENABLE_GUI='yes'
EXEEXT=''
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='ld'
LDFLAGS=''
LIBOBJS=''
LIBS='-lexpat -lcrypto -lz '
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=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH='/tmp/ffmpeg/lib/pkgconfig'
SHELL='/bin/bash'
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='NONE'
ffmpeg_CFLAGS=''
ffmpeg_LIBS=''
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}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
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

configure: exit 1
mike admin
Posts: 4065
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Unable to configure 1.8.7 under Debian Wheezy

Post by mike admin »

Code: Select all

checking for pkg-config... no                                                                                                                           
checking for ffmpeg... no
You need to have pkg-config installed.
lrhorer
Posts: 3
Joined: Sat Dec 14, 2013 1:15 am

Re: Unable to configure 1.8.7 under Debian Wheezy

Post by lrhorer »

That worked. Thanks. You might consider adding that to the list of essential packages in your installation instructions for 1.8.7.
Post Reply