<div dir="ltr"><div><div><div>Ah - I've answered my own question:<br><br></div>One machine, which I built succesfully on, did not have mercurial installed (the source had merely been copied over afer cloning). This worked fine. <br><br></div>The machine that was playing up did have mercurial installed, but only version 1.4, which was exiting with the error "abort: requirement 'dotencode' not supported!"<br><br></div>Either (both were tried and worked) removing mercurial entirely, or upgrading from 1.4 to 4.0, fixed the build problem<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 30, 2016 at 3:45 PM, Ben Barker <span dir="ltr"><<a href="mailto:ben@bbarker.co.uk" target="_blank">ben@bbarker.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hello,<br><br></div>Apologies - this is a user query rather than a development discussion, but I wonder if someone can suggets a solution?<br><br></div>I am attempting to build  x265 on a machine running centos 6.8<br></div>So far as I can see I have all the necessary dependencies, but attemptting to build gives me: <br><br>./make-Makefiles.bash<br>-- cmake version 2.8.12.2<br>-- The C compiler identification is GNU 4.4.7<br>-- The CXX compiler identification is GNU 4.4.7<br>-- Check for working C compiler: /usr/bin/cc<br>-- Check for working C compiler: /usr/bin/cc -- works<br>-- Detecting C compiler ABI info<br>-- Detecting C compiler ABI info - done<br>-- Check for working CXX compiler: /usr/bin/c++<br>-- Check for working CXX compiler: /usr/bin/c++ -- works<br>-- Detecting CXX compiler ABI info<br>-- Detecting CXX compiler ABI info - done<br>-- Detected x86_64 target processor<br>-- Could NOT find NUMA (missing:  NUMA_ROOT_DIR NUMA_INCLUDE_DIR NUMA_LIBRARY) <br>-- Looking for include file inttypes.h<br>-- Looking for include file inttypes.h - found<br>-- Performing Test CC_HAS_NO_STRICT_OVERFLOW<br>-- Performing Test CC_HAS_NO_STRICT_OVERFLOW - Success<br>-- Performing Test CC_HAS_NO_NARROWING<br>-- Performing Test CC_HAS_NO_NARROWING - Success<br>-- Performing Test CC_HAS_NO_ARRAY_BOUNDS<br>-- Performing Test CC_HAS_NO_ARRAY_BOUNDS - Success<br>-- Performing Test CC_HAS_FAST_MATH<br>-- Performing Test CC_HAS_FAST_MATH - Success<br>-- Performing Test CC_HAS_STACK_REALIGN<br>-- Performing Test CC_HAS_STACK_REALIGN - Success<br>-- Performing Test CC_HAS_FNO_EXCEPTIONS_FLAG<br>-- Performing Test CC_HAS_FNO_EXCEPTIONS_FLAG - Success<br>-- Found yasm: /usr/local/bin/yasm (found version "1.3.0") <br>-- Found Yasm 1.3.0 to build assembly primitives<br>-- hg found at /usr/bin/hg<br>CMake Error at cmake/version.cmake:61 (string):<br>  string end index: 12 is out of range -1 - 0<br>Call Stack (most recent call first):<br>  CMakeLists.txt:432 (include)<br><br><br></div>The error: <br><div><br>CMake Error at cmake/version.cmake:61 (string):<br>  string end index: 12 is out of range -1 - 0<br><br></div><div>Seems to refer to:<br><br>    string(SUBSTRING "${X265_REVISION_ID}" 0 12 X265_REVISION_ID)<br><br></div><div><br><br></div></div>
</blockquote></div><br></div>