libdvdread configure error

Archive of historical development discussions
Discussions / Development has moved to GitHub
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
brakenit
Posts: 10
Joined: Thu Nov 13, 2014 6:01 pm

libdvdread configure error

Post by brakenit »

Greetings! I've been compiling Handbrake from svn for quite some time, and don't usually have an issue with it... until recently. It seems there's a configure snafu with the contrib/libdvdread, and I'm not sure how to fix it up.

Apologies in advance if this has already been discussed in another thread (I did a few searches).

Console output:

set -e; cd ./contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87/; rm -fr aclocal.m4 autom4te.cache configure; autoreconf -I m4 -fiv; CC=/usr/bin/gcc CFLAGS="-I/home/wls/svn/hb-trunk/build/contrib/include -std=gnu99" CXX=/usr/bin/g++ CXXFLAGS="-I/home/wls/svn/hb-trunk/build/contrib/include " CPPFLAGS="-I/home/wls/svn/hb-trunk/build/contrib/include " LDFLAGS="-L/home/wls/svn/hb-trunk/build/contrib/lib " PKG_CONFIG_PATH="/home/wls/svn/hb-trunk/build/contrib/lib/pkgconfig" ./configure --prefix=/home/wls/svn/hb-trunk/build/contrib/ --disable-dependency-tracking --disable-shared --enable-static
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4 --force -Im4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running: /home/wls/svn/hb-trunk/build/contrib/bin/autoconf --include=m4 --force
autoreconf: running: /home/wls/svn/hb-trunk/build/contrib/bin/autoheader --include=m4 --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:5: installing './config.guess'
configure.ac:5: installing './config.sub'
configure.ac:7: installing './install-sh'
configure.ac:7: installing './missing'
Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... /usr/bin/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 /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to accept ISO C89... none needed
checking dependency style of /usr/bin/gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by /usr/bin/gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from /usr/bin/gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... /usr/bin/gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/gcc supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc option to produce PIC... -fPIC -DPIC
checking if /usr/bin/gcc PIC flag -fPIC -DPIC works... yes
checking if /usr/bin/gcc static flag -static works... yes
checking if /usr/bin/gcc supports -c -o file.o... yes
checking if /usr/bin/gcc supports -c -o file.o... (cached) yes
checking whether the /usr/bin/gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gcc... (cached) /usr/bin/gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/gcc accepts -g... (cached) yes
checking for /usr/bin/gcc option to accept ISO C89... (cached) none needed
checking dependency style of /usr/bin/gcc... (cached) none
checking for sys/param.h... yes
checking for limits.h... yes
checking for dlfcn.h... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
./configure: line 12586: syntax error near unexpected token `CSS,'
./configure: line 12586: ` PKG_CHECK_MODULES(CSS, $CSS_REQUIRES)'
../contrib/libdvdread/module.rules:2: recipe for target 'contrib/libdvdread/.stamp.configure' failed
make: *** [contrib/libdvdread/.stamp.configure] Error 2
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: libdvdread configure error

Post by JohnAStebbins »

You appear to be missing pkg.m4 which is usually part of pkg-config
brakenit
Posts: 10
Joined: Thu Nov 13, 2014 6:01 pm

Re: libdvdread configure error

Post by brakenit »

Thank you for the suggestion.

I double checked, and I do have the pkg-config deb package installed.

dpkg -l | grep pkg-config
ii pkg-config 0.28-1 amd64 manage compile and link flags for libraries

and


dpkg -L pkg-config

/.
/usr
/usr/share
/usr/share/aclocal
/usr/share/aclocal/pkg.m4
/usr/share/pkgconfig
/usr/share/doc
/usr/share/doc/pkg-config
/usr/share/doc/pkg-config/changelog.Debian.gz
/usr/share/doc/pkg-config/README
/usr/share/doc/pkg-config/AUTHORS
/usr/share/doc/pkg-config/pkg-config-guide.html
/usr/share/doc/pkg-config/changelog.gz
/usr/share/doc/pkg-config/NEWS.gz
/usr/share/doc/pkg-config/copyright
/usr/share/pkg-config-crosswrapper
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/pkg-config.1.gz
/usr/bin
/usr/bin/x86_64-pc-linux-gnu-pkg-config
/usr/bin/pkg-config
/usr/lib
/usr/lib/pkgconfig

pkg.m4 is there, just in /usr/share/aclocal.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: libdvdread configure error

Post by JohnAStebbins »

An update to this thread. Debian has split the libtool package into 2 parts. libtool and libtool-bin. libtoolize, which HandBrake needs is in libtool, but we currently probe for the libtool binary which is in libtool-bin. So untill we correct our probe, you will need both libtool and libtool-bin installed.
zak
Posts: 20
Joined: Tue Jun 02, 2009 5:33 pm

Re: libdvdread configure error

Post by zak »

I got the same error and managed to solve it with the help of j45 (Thanks!). If this is helpful to anyone:
On Debian the 'libtool' package only includes the command 'libtoolize'. The additional package 'libtool-bin' is required which includes the command 'libtool'. After I installed the package, the compilation was successful.

Edit: Double post. Never mind.
brakenit
Posts: 10
Joined: Thu Nov 13, 2014 6:01 pm

Re: libdvdread configure error

Post by brakenit »

I have both libtool and libtool-bin installed on Debian Unstable.

Code: Select all

:~/svn/hb-trunk/build$ dpkg -l | grep libtool
ii  libltdl-dev:amd64                                           2.4.2-1.11                             amd64        System independent dlopen wrapper for GNU libtool
ii  libltdl7:amd64                                              2.4.2-1.11                             amd64        System independent dlopen wrapper for GNU libtool
ii  libtool                                                     2.4.2-1.11                             all          Generic library support script
ii  libtool-bin                                                 2.4.2-1.11                             amd64        Generic library support script (libtool binary)
The compile is still failing on libdvdread though.

Code: Select all

/bin/rm -fr ./contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87/
/bin/tar xfC ../download/libdvdread-5.0.0-6-gcb1ae87.tar.gz ./contrib/libdvdread/
touch contrib/libdvdread/.stamp.extract
touch contrib/libdvdread/.stamp.patch
set -e; cd ./contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87/; rm -fr aclocal.m4 autom4te.cache configure; autoreconf -I m4 -fiv; CC=/usr/bin/gcc CFLAGS="-I/home/wls/svn/hb-trunk/build/contrib/include -std=gnu99" CXX=/usr/bin/g++ CXXFLAGS="-I/home/wls/svn/hb-trunk/build/contrib/include " CPPFLAGS="-I/home/wls/svn/hb-trunk/build/contrib/include " LDFLAGS="-L/home/wls/svn/hb-trunk/build/contrib/lib " PKG_CONFIG_PATH="/home/wls/svn/hb-trunk/build/contrib/lib/pkgconfig" ./configure --prefix=/home/wls/svn/hb-trunk/build/contrib/ --disable-dependency-tracking --disable-shared --enable-static
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4 --force -Im4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running: /home/wls/svn/hb-trunk/build/contrib/bin/autoconf --include=m4 --force
autoreconf: running: /home/wls/svn/hb-trunk/build/contrib/bin/autoheader --include=m4 --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:5: installing './config.guess'
configure.ac:5: installing './config.sub'
configure.ac:7: installing './install-sh'
configure.ac:7: installing './missing'
Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... /usr/bin/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 /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to accept ISO C89... none needed
checking dependency style of /usr/bin/gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by /usr/bin/gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from /usr/bin/gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... /usr/bin/gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/gcc supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc option to produce PIC... -fPIC -DPIC
checking if /usr/bin/gcc PIC flag -fPIC -DPIC works... yes
checking if /usr/bin/gcc static flag -static works... yes
checking if /usr/bin/gcc supports -c -o file.o... yes
checking if /usr/bin/gcc supports -c -o file.o... (cached) yes
checking whether the /usr/bin/gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gcc... (cached) /usr/bin/gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/gcc accepts -g... (cached) yes
checking for /usr/bin/gcc option to accept ISO C89... (cached) none needed
checking dependency style of /usr/bin/gcc... (cached) none
checking for sys/param.h... yes
checking for limits.h... yes
checking for dlfcn.h... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
./configure: line 12586: syntax error near unexpected token `CSS,'
./configure: line 12586: `  PKG_CHECK_MODULES(CSS, $CSS_REQUIRES)'
../contrib/libdvdread/module.rules:2: recipe for target 'contrib/libdvdread/.stamp.configure' failed
make: *** [contrib/libdvdread/.stamp.configure] Error 2
Any suggestions? :)
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: libdvdread configure error

Post by JohnAStebbins »

Do you have automake, autoconf, and pkg-config installed as well? Make sure you start with a new clean build directory after all these things are installed.
brakenit
Posts: 10
Joined: Thu Nov 13, 2014 6:01 pm

Re: libdvdread configure error

Post by brakenit »

Thank you! For some reason, automake and autoconf weren't installed (although I swear they were installed months ago... perhaps an upgrade or dist-upgrade removed them for some reason).

Code: Select all

/bin/mkdir -p contrib/libdvdread/
/bin/rm -fr ./contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87/
/bin/tar xfC ../download/libdvdread-5.0.0-6-gcb1ae87.tar.gz ./contrib/libdvdread/
touch contrib/libdvdread/.stamp.extract
touch contrib/libdvdread/.stamp.patch
set -e; cd ./contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87/; rm -fr aclocal.m4 autom4te.cache configure; autoreconf -I m4 -fiv; CC=/usr/bin/gcc CFLAGS="-I/home/wls/svn/hb-trunk/build/contrib/include -std=gnu99" CXX=/usr/bin/g++ CXXFLAGS="-I/home/wls/svn/hb-trunk/build/contrib/include " CPPFLAGS="-I/home/wls/svn/hb-trunk/build/contrib/include " LDFLAGS="-L/home/wls/svn/hb-trunk/build/contrib/lib " PKG_CONFIG_PATH="/home/wls/svn/hb-trunk/build/contrib/lib/pkgconfig" ./configure --prefix=/home/wls/svn/hb-trunk/build/contrib/ --disable-dependency-tracking --disable-shared --enable-static
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4 --force -Im4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --include=m4 --force
autoreconf: running: /usr/bin/autoheader --include=m4 --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:12: installing './compile'
configure.ac:5: installing './config.guess'
configure.ac:5: installing './config.sub'
configure.ac:7: installing './install-sh'
configure.ac:7: installing './missing'
Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... /usr/bin/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 /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to accept ISO C89... none needed
checking whether /usr/bin/gcc understands -c and -o together... yes
checking dependency style of /usr/bin/gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by /usr/bin/gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from /usr/bin/gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... /usr/bin/gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/gcc supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc option to produce PIC... -fPIC -DPIC
checking if /usr/bin/gcc PIC flag -fPIC -DPIC works... yes
checking if /usr/bin/gcc static flag -static works... yes
checking if /usr/bin/gcc supports -c -o file.o... yes
checking if /usr/bin/gcc supports -c -o file.o... (cached) yes
checking whether the /usr/bin/gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gcc... (cached) /usr/bin/gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/gcc accepts -g... (cached) yes
checking for /usr/bin/gcc option to accept ISO C89... (cached) none needed
checking whether /usr/bin/gcc understands -c and -o together... (cached) yes
checking dependency style of /usr/bin/gcc... (cached) none
checking for sys/param.h... yes
checking for limits.h... yes
checking for dlfcn.h... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for library containing dlopen... -ldl
checking if /usr/bin/gcc supports -Wall flag... yes
checking if /usr/bin/gcc supports -Wsign-compare flag... yes
checking if /usr/bin/gcc supports -Wextra flag... yes
checking for doxygen... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/doxygen.cfg
config.status: creating misc/dvdread.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
touch contrib/libdvdread/.stamp.configure
make -C ./contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87/ clean
make[1]: Entering directory '/home/wls/svn/hb-trunk/build/contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87'
test -z "libdvdread.la" || rm -f libdvdread.la
rm -f ./so_locations
rm -rf .libs _libs
rm -rf src/.libs src/_libs
rm -Rf stamp-doxygen doc/html
rm -f *.o
rm -f src/*.o
rm -f src/*.lo
rm -f *.lo
make[1]: Leaving directory '/home/wls/svn/hb-trunk/build/contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87'
/bin/rm -f ./contrib/libdvdread/.stamp.build
make -C ./contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87/
make[1]: Entering directory '/home/wls/svn/hb-trunk/build/contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87'
make  all-am
make[2]: Entering directory '/home/wls/svn/hb-trunk/build/contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87'
  CC       src/bitreader.lo
  CC       src/dvd_input.lo
src/dvd_input.c: In function 'file_error':
src/dvd_input.c:186:37: warning: unused parameter 'dev' [-Wunused-parameter]
 static char *file_error(dvd_input_t dev)
                                     ^
src/dvd_input.c: In function 'file_title':
src/dvd_input.c:210:35: warning: unused parameter 'dev' [-Wunused-parameter]
 static int file_title(dvd_input_t dev, int block)
                                   ^
src/dvd_input.c:210:44: warning: unused parameter 'block' [-Wunused-parameter]
 static int file_title(dvd_input_t dev, int block)
                                            ^
src/dvd_input.c: In function 'file_read':
src/dvd_input.c:218:69: warning: unused parameter 'flags' [-Wunused-parameter]
 static int file_read(dvd_input_t dev, void *buffer, int blocks, int flags)
                                                                     ^
  CC       src/dvd_reader.lo
  CC       src/dvd_udf.lo
  CC       src/ifo_print.lo
  CC       src/ifo_read.lo
  CC       src/md5.lo
  CC       src/nav_print.lo
  CC       src/nav_read.lo
  CCLD     libdvdread.la
cd . && git log > /home/wls/svn/hb-trunk/build/contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87/ChangeLog-tmp
fatal: Not a git repository (or any of the parent directories): .git
Makefile:985: recipe for target 'ChangeLog' failed
make[2]: [ChangeLog] Error 128 (ignored)
test -s ChangeLog-tmp && mv ChangeLog-tmp ChangeLog
Makefile:985: recipe for target 'ChangeLog' failed
make[2]: [ChangeLog] Error 1 (ignored)
rm -f ChangeLog-tmp
test -e ChangeLog || touch ChangeLog
make[2]: Leaving directory '/home/wls/svn/hb-trunk/build/contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87'
make[1]: Leaving directory '/home/wls/svn/hb-trunk/build/contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87'
touch contrib/libdvdread/.stamp.build
make -j 1 -C ./contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87/ install
make[1]: Entering directory '/home/wls/svn/hb-trunk/build/contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87'
make[2]: Entering directory '/home/wls/svn/hb-trunk/build/contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87'
 /bin/mkdir -p '/home/wls/svn/hb-trunk/build/contrib/lib'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   libdvdread.la '/home/wls/svn/hb-trunk/build/contrib/lib'
libtool: install: /usr/bin/install -c .libs/libdvdread.lai /home/wls/svn/hb-trunk/build/contrib/lib/libdvdread.la
libtool: install: /usr/bin/install -c .libs/libdvdread.a /home/wls/svn/hb-trunk/build/contrib/lib/libdvdread.a
libtool: install: chmod 644 /home/wls/svn/hb-trunk/build/contrib/lib/libdvdread.a
libtool: install: ranlib /home/wls/svn/hb-trunk/build/contrib/lib/libdvdread.a
libtool: finish: PATH="/home/wls/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin" ldconfig -n /home/wls/svn/hb-trunk/build/contrib/lib
Of course, the compile trips up later (perhaps another forum help topic at some point):

Code: Select all

make[3]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/home/wls/svn/hb-trunk/build/contrib/lib/pkgconfig'
 /usr/bin/install -c -m 644 jansson.pc '/home/wls/svn/hb-trunk/build/contrib/lib/pkgconfig'
make[3]: Leaving directory '/home/wls/svn/hb-trunk/build/contrib/jansson/jansson-2.6'
make[2]: Leaving directory '/home/wls/svn/hb-trunk/build/contrib/jansson/jansson-2.6'
make[1]: Leaving directory '/home/wls/svn/hb-trunk/build/contrib/jansson/jansson-2.6'
touch contrib/jansson/.stamp.install
/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g0 -O3 -DUSE_LIBAV_AAC -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_X265 -DARCH_X86_64 -I./libhb/ -I./contrib/include -c ../libhb/denoise.c -o libhb/denoise.o
/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g0 -O3 -DUSE_LIBAV_AAC -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_X265 -DARCH_X86_64 -I./libhb/ -I./contrib/include -c ../libhb/audio_resample.c -o libhb/audio_resample.o
/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g0 -O3 -DUSE_LIBAV_AAC -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_X265 -DARCH_X86_64 -I./libhb/ -I./contrib/include -c ../libhb/common.c -o libhb/common.o
../libhb/common.c:16:18: fatal error: x264.h: No such file or directory
 #include "x264.h"
                  ^
compilation terminated.
../libhb/module.rules:12: recipe for target 'libhb/common.o' failed
make: *** [libhb/common.o] Error 1
brakenit
Posts: 10
Joined: Thu Nov 13, 2014 6:01 pm

Re: libdvdread configure error

Post by brakenit »

Update: installed libx264-dev package and it builds.
Post Reply