Build HandBrake 1.0.1 on OpenSUSE Leap 42.1

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
Budgie
Posts: 31
Joined: Fri Jan 13, 2017 2:48 pm

Build HandBrake 1.0.1 on OpenSUSE Leap 42.1

Post by Budgie »

Please detail your question or problem in as much detail as possible:

My problem is that I cannot achieve successful HandBrake installation on openSUSE from the tarball.

Tell us about your environment. What version of HandBrake? What version of Linux / Unix are you running. etc.

The environment is openSUSE Leap 42.1 with a KDE Desktop. The tarball download is HandBrake-1.0.1.tar.bz2 from the HandBrake site.

If there was any exception or error displayed, please copy it and paste it here:

Configure identified a couple of dependencies which I installed. I was then able to compile or so I thought but I could not install. The terminal is no longer open so I do not have the output during my attempts but I do have logs config.info.txt:-

Code: Select all

probe: host tuple...(pass) x86_64-unknown-linux-gnu
compute: available architectures...(pass) x86_64
find: ar...(pass) /usr/bin/ar
find: cp...(pass) /usr/bin/cp
find: gcc...(pass) /usr/bin/gcc
find: gmake...(pass) /usr/bin/gmake
find: gm4...(pass) /usr/bin/m4
find: mkdir...(pass) /usr/bin/mkdir
find: gpatch...(pass) /usr/bin/patch
find: rm...(pass) /usr/bin/rm
find: ranlib...(pass) /usr/bin/ranlib
find: strip...(pass) /usr/bin/strip
find: gtar...(pass) /bin/tar
find: yasm...(pass) /usr/bin/yasm
find: autoconf...(fail) not found
find: automake...(fail) not found
find: cmake...(fail) not found
find: libtool...(fail) not found
find: pkg-config...(pass) /usr/bin/pkg-config
find: xcodebuild...(fail) not found
find: lipo...(fail) not found
compute: build tuple...(pass) x86_64-unknown-linux-gnu
probe: number of CPU cores...(pass) 8
probe: repo info...(fail) code 128
probe: version.txt...(fail)
compute: project data...(pass) HandBrake (release)
version probe: yasm...(pass) 1.2.0
probe: strerror_r...(pass) end
compute: makevar SRC/    = ..
compute: makevar BUILD/  = .
compute: makevar PREFIX/ = /usr/local
chdir: ./build
write: GNUmakefile
write: project/handbrake.m4
write: distfile.cfg
and the config.verbose.txt:-

Code: Select all

probe: host tuple...(pass) x86_64-unknown-linux-gnu
  + ./make/config.guess
  : x86_64-unknown-linux-gnu
compute: available architectures...(pass) x86_64
  : <NO-OUTPUT>
find: ar...(pass) /usr/bin/ar
  : name[0] = ar
find: cp...(pass) /usr/bin/cp
  : name[0] = cp
find: gcc...(pass) /usr/bin/gcc
  : name[0] = gcc
find: gmake...(pass) /usr/bin/gmake
  : name[0] = gmake
  : name[1] = make
find: gm4...(pass) /usr/bin/m4
  : name[0] = gm4
  : name[1] = m4
find: mkdir...(pass) /usr/bin/mkdir
  : name[0] = mkdir
find: gpatch...(pass) /usr/bin/patch
  : name[0] = gpatch
  : name[1] = patch
find: rm...(pass) /usr/bin/rm
  : name[0] = rm
find: ranlib...(pass) /usr/bin/ranlib
  : name[0] = ranlib
find: strip...(pass) /usr/bin/strip
  : name[0] = strip
find: gtar...(pass) /bin/tar
  : name[0] = gtar
  : name[1] = tar
find: yasm...(pass) /usr/bin/yasm
  : name[0] = yasm
find: autoconf...(fail) not found
  : name[0] = autoconf
find: automake...(fail) not found
  : name[0] = automake
find: cmake...(fail) not found
  : name[0] = cmake
find: libtool...(fail) not found
  : name[0] = libtool
find: pkg-config...(pass) /usr/bin/pkg-config
  : name[0] = pkg-config
find: xcodebuild...(fail) not found
  : name[0] = xcodebuild
find: lipo...(fail) not found
  : name[0] = lipo
compute: build tuple...(pass) x86_64-unknown-linux-gnu
  : <NO-OUTPUT>
probe: number of CPU cores...(pass) 8
  : <NO-OUTPUT>
probe: repo info...(fail) code 128
  + ./scripts/repo-info.sh .
  : fatal: Not a git repository (or any parent up to mount point /home)
  : Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
  : fatal: Not a git repository (or any parent up to mount point /home)
  : Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
  : Not a valid repository.
probe: version.txt...(fail)
compute: project data...(pass) HandBrake (release)
  : <NO-OUTPUT>
version probe: yasm...(pass) 1.2.0
  + /usr/bin/yasm --version
  : yasm 1.2.0
  : Copyright (c) 2001-2011 Peter Johnson and other Yasm developers.
  : Run yasm --license for licensing overview and summary.
probe: strerror_r...(pass) end
  + /usr/bin/gcc
  : <NO-OUTPUT>
compute: makevar SRC/    = ..
compute: makevar BUILD/  = .
compute: makevar PREFIX/ = /usr/local
chdir: ./build
write: GNUmakefile
write: project/handbrake.m4
write: distfile.cfg
write: log/config.info.txt
write: log/config.verbose.txt
Clearly a few issues I need to sort out. It is a pity there is not an installation file in the tarball and what is the problem with the GIT repo site. Please could somebody give me some guidance here. What should I add/change to get this to run?

Please include the scan or encode log:

N/A

Hope somebody can help.
Budgie
DanDan
Posts: 1
Joined: Thu Feb 02, 2017 10:16 pm

Re: Build HandBrake 1.0.1 on OpenSUSE Leap 42.1

Post by DanDan »

Code: Select all

find: autoconf...(fail) not found
find: automake...(fail) not found
find: cmake...(fail) not found
find: libtool...(fail) not found
find: pkg-config...(pass) /usr/bin/pkg-config
find: xcodebuild...(fail) not found
find: lipo...(fail) not found
The fails should be easy enough to fix via YAST. You can ignore the 'xcodebuild' and 'lipo' as these are Mac only.

Few things I found:

1. Don't use './configure --enable-local-autotools'. I just ended up with errors regarding the 'opus' package later on.
2. I periodically deleted the extracted directories/files and re-extracted them again before running ./configure and make. I'm pretty sure some of the compiling errored without me seeing it, so even though I was fixing subsequent package errors I already had issues with the files. There's probably an easy way of doing this (I thought make clean would do that? couldn't get that to work anyway), but starting from scratch each time seemed the cleanest way to me.
3. I had loads of package dependency errors later on, with various '....-devel' packages being needed. A bit of Googling of the file names, and searching in YAST sorted them out. From what I can remember, there was gcc, libass-devel, and lots more (maybe 30 or so?)

After about 3 hours of repeatedly installing packages, re-running the compile, deleting files and starting again I finally got a successful completion.

Pretty fed up though, all that effort and it still crashes when trying to open up certain DVD sources such as SW:ROTJ, or BFG. :(

EDIT: Just seen your other thread here where you managed to get it working -> viewtopic.php?f=13&t=35744. Congratulations! That does sound exactly like my experience with the various dependencies etc.I also had to install the dvdnav and bluray libraries.I managed to find the lame and x264 libraries so didn't have to hack any config files.I couldn't find any Linux build instructions anywhere in the directories I extracted though, so getting it all working was a good learning experience (if a little frustrating)
Post Reply