Current HandBrake is 0.9.5 but doesn't do XviD encoding, so I want to compile 0.9.3 for Debian Sid.
I've added the Debian Multimedia repos for Lenny, which has 0.9.3:
Code:
deb http://www.debian-multimedia.org/ lenny main
deb-src http://www.debian-multimedia.org/ lenny main
I've got the build dependencies:
Code:
mkdir handbrake
cd handbrake/
apt-cache policy handbrake-gtk
handbrake-gtk:
Installed: 0.9.4+svn20100902-0.0
Candidate: 0.9.4+svn20100902-0.0
Version table:
*** 0.9.4+svn20100902-0.0 0
991 http://www.debian-multimedia.org/ sid/main i386 Packages
500 http://www.debian-multimedia.org/ testing/main i386 Packages
0.9.3-0.1 0
500 http://www.debian-multimedia.org/ lenny/main i386 Packages
sudo aptitude build-dep handbrake-gtk=0.9.3-0.1
But when I try to get and build the source it fails:
Code:
sudo apt-get -b source handbrake-gtk=0.9.3-0.1
...
...
echo cc -g -O2 -I/usr/include -I../contrib/include -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -O3 -funroll-loops
cc -g -O2 -I/usr/include -I../contrib/include -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -O3 -funroll-loops
muxmkv.c: In function ‘MKVMux’:
muxmkv.c:295: error: too few arguments to function ‘mk_setFrameFlags’
muxmkv.c:314: error: too few arguments to function ‘mk_setFrameFlags’
muxmkv.c:326: error: too few arguments to function ‘mk_setFrameFlags’
Compile line for muxmkv.o was:
cc -g -O2 -I/usr/include -I../contrib/include -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -O3 -funroll-loops -o muxmkv.o -c muxmkv.c
make[2]: *** [muxmkv.o] Error 1
make[1]: *** [libhb/libhb.a] Error 2
make[1]: Leaving directory `/home/jthomas/handbrake/handbrake-0.9.3'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Build command 'cd handbrake-0.9.3 && dpkg-buildpackage -b -uc' failed.
E: Child process failed
Can anyone tell me what I am missing or explain to me how to further troubleshoot this compile?