LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-11-2011, 12:36 PM   #1
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Rep: Reputation: 32
Help compiling HandBrake 0.9.3 on Debian Sid ?


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?
 
Old 01-11-2011, 01:10 PM   #2
vorbote
Member
 
Registered: Aug 2009
Location: 2,625 m of paranoia above sea level
Distribution: Arch Linux, Debian GNU/Linux, Fedora, Void Linux, FreeBSD, OpenBSD and Win10
Posts: 77

Rep: Reputation: Disabled
I'd suggest you try with something that handles dependencies better for you while keeping everything tidy, such as pbuilder. It is easier to spot anything you miss that way.
 
Old 01-11-2011, 03:58 PM   #3
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Original Poster
Rep: Reputation: 32
> I'd suggest you try with something that handles dependencies
> better for you while keeping everything tidy, such as pbuilder.

Wow, pbuilder looks far too complex for what I wanted. Might anyone else have suggestions for what I'd like to do?
 
Old 01-12-2011, 03:17 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Debian Sid, Handbrake 0.9.3.

May be the patch handbrake_0.9.3-0.1.diff.gz adds some flags or options
not being usable by the compilers ?
Or may be handbrake 0.9.3 prefers the older Lenny dependencies / libraries ?

Using "the other compiler" : 1) # export CC=gcc-4.3 CXX=g++-4.3
2) # apt-get -b source handbrake-gtk=0.9.3-0.1
... and it will just spit out some other errors.


However : tar xvf handbrake_0.9.3.orig.tar.gz && cd handbrake-0.9.3/
&& make && cd gtk/ && sh autogen.sh && make : No errors.
# make install : OK too.

But $ ghb : Not working. Please see the attached image.
.
Attached Thumbnails
Click image for larger version

Name:	screen.jpg
Views:	26
Size:	8.9 KB
ID:	5831  

Last edited by knudfl; 01-12-2011 at 03:20 AM.
 
  


Reply

Tags
handbrake xvid compile



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Compiling and Running Handbrake in Ubuntu LXer Syndicated Linux News 0 05-06-2010 06:30 PM
does Debian Lenny/sid support Debian Sarge Binary Installer..? @nthoon Debian 1 06-14-2009 10:47 AM
will the ltmodem drivers work in debian sid (knoppix sid) maximalred Debian 5 05-29-2009 10:44 AM
Debian Etch to Sid? How Stable is Sid? xxAlk3XKidXx Debian 28 02-25-2007 06:32 PM
What our the differences between debian (Sid) and knoppix 3.4 (Sid)? maximalred Debian 6 06-06-2004 08:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration