Compiling from source under CentOS 6 -- ./configure fails

Archive of historical bug reports.
Please use the GitHub link above to report issues.
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
RobertPHeller
New User
Posts: 1
Joined: Fri Aug 26, 2016 8:13 pm

Compiling from source under CentOS 6 -- ./configure fails

Post by RobertPHeller »

Please describe the problem in as much detail as possible:
I am trying to compile HandBrake-0.10.5 from the source I just downloaded, but ./configure fails:

probe: host tuple...(pass) x86_64-unknown-linux-gnu
compute: available architectures...(pass) x86_64
find: ar...(pass) /usr/bin/ar
find: cp...(pass) /bin/cp
find: curl...(pass) /usr/bin/curl
find: gcc...(pass) /usr/bin/gcc
find: gmake...(pass) /usr/bin/gmake
find: m4...(pass) /usr/bin/m4
find: mkdir...(pass) /bin/mkdir
find: gpatch...(pass) /usr/bin/patch
find: rm...(pass) /bin/rm
find: ranlib...(pass) /usr/bin/ranlib
find: strip...(pass) /usr/bin/strip
find: gtar...(pass) /bin/gtar
find: wget...(pass) /usr/bin/wget
find: yasm...(fail) not found
find: autoconf...(pass) /usr/bin/autoconf
find: automake...(pass) /usr/bin/automake
find: cmake...(pass) /usr/bin/cmake
find: libtool...(pass) /usr/bin/libtool
find: pkg-config...(pass) /usr/bin/pkg-config
find: xcodebuild...(fail) not found
find: lipo...(fail) not found
select: fetch...(pass) wget (/usr/bin/wget)
compute: build tuple...(pass) x86_64-unknown-linux-gnu
probe: number of CPU cores...(pass) 2
probe: repo info...(fail) code 128
probe: version.txt...(fail)
compute: project data...Traceback (most recent call last):
File "./make/configure.py", line 1529, in <module>
action.run()
File "./make/configure.py", line 274, in run
self._action()
File "./make/configure.py", line 821, in _action
m = re.match( '^([0-9]+)\.([0-9]+)\.([0-9]+)-?(.*)?$', repo.tag )
File "/usr/lib64/python2.6/re.py", line 137, in match
return _compile(pattern, flags).match(string)
File "/usr/lib64/python2.6/re.py", line 245, in _compile
raise error, v # invalid expression
sre_constants.error: nothing to repeat

I am using my 64-bit laptop running CentOS 6.8:
Linux gollum.deepsoft.com 2.6.32-642.3.1.el6.x86_64 #1 SMP Tue Jul 12 18:30:56 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
autoconf-2.63-5.1.el6.noarch
glibc-2.12-1.192.el6.x86_64
libtool-2.2.6-15.5.el6.x86_64
automake-1.11.1-4.el6.noarch
gcc-c++-4.4.7-17.el6.x86_64
glibc-2.12-1.192.el6.i686
gcc-gfortran-4.4.7-17.el6.x86_64
autofs-5.0.5-123.el6_8.x86_64
gcc-4.4.7-17.el6.x86_64

What am I doing wrong?

What are the steps to reproduce this problem:

./configure

What version of HandBrake you are running:

0.10.5

What operating system and version and you running (e.g. OSX 10.11, Windows 7, Ubuntu 14):


Linux (CentOS 6) x86_64
If there was any exception or error displayed, please copy it and paste it here:

Please include the scan or encode log:

N/A

Code: Select all

 Paste your log here between the code brackets, or use a pastebin website. 
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Compiling from source under CentOS 6 -- ./configure fails

Post by Woodstock »

Besides downloading handbrake, what other packages did you download? There are a number of required items that Centos does NOT include in a standard setup, even for development.
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: Compiling from source under CentOS 6 -- ./configure fails

Post by s55 »

He's probably running into the python issue with the regex. It was worked-around but never made it into a public release.

So, you either need to get a version of python that doesn't exhbit the behaviour, or compile the latest source instead.
nhyone
Bright Spark User
Posts: 252
Joined: Fri Jul 24, 2015 4:13 am

Re: Compiling from source under CentOS 6 -- ./configure fails

Post by nhyone »

Or search the forum. I posted a workaround in the CentOS 6 Compile Issue thread. :-)
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Compiling from source under CentOS 6 -- ./configure fails

Post by Woodstock »

Yes, but CentOS 6 Compile Issue was five whole months ago! :)
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: Compiling from source under CentOS 6 -- ./configure fails

Post by s55 »

He's compiling 0.10.5, not git head. So he won't have the fix.
Post Reply