I'M getting the following error while trying to make the program handbrake in in my Mint Linux.

Build is configured!
You may now cd into ./build and run make (/usr/bin/make).
garrett@mint-desktop ~/Downloads/HandBrake-0.9.8 $ cd build
garrett@mint-desktop ~/Downloads/HandBrake-0.9.8/build $ make
/bin/mkdir -p libhb
/usr/bin/m4 -Iproject ../libhb/project.h.m4 > libhb/project.h
/bin/cp ../libhb/common.h libhb/common.h
/bin/cp ../libhb/deccc608sub.h libhb/deccc608sub.h
/bin/cp ../libhb/downmix.h libhb/downmix.h
/bin/cp ../libhb/dvd.h libhb/dvd.h
/bin/cp ../libhb/eedi2.h libhb/eedi2.h
/bin/cp ../libhb/hbffmpeg.h libhb/hbffmpeg.h
/bin/cp ../libhb/hb.h libhb/hb.h
/bin/cp ../libhb/internal.h libhb/internal.h
/bin/cp ../libhb/lang.h libhb/lang.h
/bin/cp ../libhb/mcdeint.h libhb/mcdeint.h
/bin/cp ../libhb/ports.h libhb/ports.h
/bin/mkdir -p ../download
/usr/bin/wget -O ../download/a52dec-0.7.4.tar.gz http://download.handbrake.fr/handbrake/contrib/a52dec-0.7.4.tar.gz
--2012-08-17 17:47:34--  http://download.handbrake.fr/handbrake/contrib/a52dec-0.7.4.tar.gz
Resolving download.handbrake.fr (download.handbrake.fr)... 88.190.242.142
Connecting to download.handbrake.fr (download.handbrake.fr)|88.190.242.142|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 242978 (237K) [text/plain]
Saving to: `../download/a52dec-0.7.4.tar.gz'

100%[======================================>] 242,978      135K/s   in 1.8s    

2012-08-17 17:47:36 (135 KB/s) - `../download/a52dec-0.7.4.tar.gz' saved [242978/242978]

/bin/mkdir -p contrib/a52dec
/bin/rm -fr ./contrib/a52dec/a52dec/
/bin/tar xfC ../download/a52dec-0.7.4.tar.gz ./contrib/a52dec/
touch contrib/a52dec/.stamp.extract
/usr/bin/patch -t -N -p1 -d ./contrib/a52dec/a52dec/ < ../contrib/a52dec/A00-dpl2.patch
patching file include/a52.h
patching file liba52/a52_internal.h
patching file liba52/downmix.c
/usr/bin/patch -t -N -p1 -d ./contrib/a52dec/a52dec/ < ../contrib/a52dec/A01-thread-safe.patch
patching file liba52/a52_internal.h
patching file liba52/imdct.c
patching file liba52/parse.c
/usr/bin/patch -t -N -p1 -d ./contrib/a52dec/a52dec/ < ../contrib/a52dec/A02-imdct-shutup.patch
patching file liba52/imdct.c
Hunk #1 succeeded at 406 (offset -19 lines).
touch contrib/a52dec/.stamp.patch
set -e; cd ./contrib/a52dec/a52dec/; rm -fr aclocal.m4 autom4te.cache; autoreconf -fiv; CC=/usr/bin/gcc CFLAGS="" CXX=/usr/bin/g++ CXXFLAGS="" CPPFLAGS="" LDFLAGS="" PKG_CONFIG_PATH="/home/garrett/Downloads/HandBrake-0.9.8/build/contrib/lib/pkgconfig" ./configure --prefix=/home/garrett/Downloads/HandBrake-0.9.8/build/contrib/ --disable-dependency-tracking --disable-shared --enable-static
/bin/sh: 1: autoreconf: not found
make: *** [contrib/a52dec/.stamp.configure] Error 127

Any ideas? Thanks.

I made some progress on the install. Here's an update on my error output:

libhb/render.o libhb/rotate.o libhb/scan.o libhb/stream.o libhb/sync.o libhb/update.o libhb/work.o
/usr/bin/ar: creating libhb/libhb.a
/bin/mkdir -p test
/usr/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -I./libhb/ -I./contrib/include -c ../test/parsecsv.c -o test/parsecsv.o
/usr/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -I./libhb/ -I./contrib/include -c ../test/test.c -o test/test.o
../test/test.c: In function ‘HandleEvents’:
../test/test.c:2287:24: warning: variable ‘token’ set but not used [-Wunused-but-set-variable]
/usr/bin/g++ -pipe -Wl,-S -fmessage-length=0 -Wall -g0 -O3 -I./libhb/ -I./contrib/include -o HandBrakeCLI -Wl,--start-group test/parsecsv.o test/test.o ./libhb/libhb.a ./contrib/lib/liba52.a ./contrib/lib/libass.a ./contrib/lib/libavcodec.a ./contrib/lib/libavformat.a ./contrib/lib/libavutil.a ./contrib/lib/libdca.a ./contrib/lib/libdvdnav.a ./contrib/lib/libdvdread.a ./contrib/lib/libfaac.a ./contrib/lib/libfontconfig.a ./contrib/lib/libfreetype.a ./contrib/lib/libmkv.a ./contrib/lib/libmpeg2.a ./contrib/lib/libmp3lame.a ./contrib/lib/libmp4v2.a ./contrib/lib/libogg.a ./contrib/lib/libsamplerate.a ./contrib/lib/libswscale.a ./contrib/lib/libtheora.a ./contrib/lib/libvorbis.a ./contrib/lib/libvorbisenc.a ./contrib/lib/libx264.a ./contrib/lib/libxml2.a ./contrib/lib/libbluray.a -lbz2 -lz -lfribidi -lpthread -ldl -lm -Wl,--end-group
/usr/bin/ld: cannot find -lbz2
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [HandBrakeCLI] Error 1
garrett@mint-desktop ~/Downloads/HandBrake-0.9.8/build $ 

Any ideas?

The first issue about autoreconf means you don't have the correct autoconf package installed. You need 2.63 I do believe. What version do you have installed? Anyway, since you have made it past that error, obviously you sorted out that particular issue.

Missing libbz2 and libz means that in the first case you need to install the bzip2 package. Not 100% sure about which package libz is in. It may also bin in the bzip2 package, but I am not certain about that.

I check my synapitc package manager and it is showing that I already have bzip2. When I type in libz into the SPM noting is showing up?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.