[x265] Build query...

Ben Barker ben at bbarker.co.uk
Fri Dec 30 17:19:09 CET 2016


Ah - I've answered my own question:

One machine, which I built succesfully on, did not have mercurial installed
(the source had merely been copied over afer cloning). This worked fine.

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!"

Either (both were tried and worked) removing mercurial entirely, or
upgrading from 1.4 to 4.0, fixed the build problem


On Fri, Dec 30, 2016 at 3:45 PM, Ben Barker <ben at bbarker.co.uk> wrote:

> Hello,
>
> Apologies - this is a user query rather than a development discussion, but
> I wonder if someone can suggets a solution?
>
> I am attempting to build  x265 on a machine running centos 6.8
> So far as I can see I have all the necessary dependencies, but attemptting
> to build gives me:
>
> ./make-Makefiles.bash
> -- cmake version 2.8.12.2
> -- The C compiler identification is GNU 4.4.7
> -- The CXX compiler identification is GNU 4.4.7
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detected x86_64 target processor
> -- Could NOT find NUMA (missing:  NUMA_ROOT_DIR NUMA_INCLUDE_DIR
> NUMA_LIBRARY)
> -- Looking for include file inttypes.h
> -- Looking for include file inttypes.h - found
> -- Performing Test CC_HAS_NO_STRICT_OVERFLOW
> -- Performing Test CC_HAS_NO_STRICT_OVERFLOW - Success
> -- Performing Test CC_HAS_NO_NARROWING
> -- Performing Test CC_HAS_NO_NARROWING - Success
> -- Performing Test CC_HAS_NO_ARRAY_BOUNDS
> -- Performing Test CC_HAS_NO_ARRAY_BOUNDS - Success
> -- Performing Test CC_HAS_FAST_MATH
> -- Performing Test CC_HAS_FAST_MATH - Success
> -- Performing Test CC_HAS_STACK_REALIGN
> -- Performing Test CC_HAS_STACK_REALIGN - Success
> -- Performing Test CC_HAS_FNO_EXCEPTIONS_FLAG
> -- Performing Test CC_HAS_FNO_EXCEPTIONS_FLAG - Success
> -- Found yasm: /usr/local/bin/yasm (found version "1.3.0")
> -- Found Yasm 1.3.0 to build assembly primitives
> -- hg found at /usr/bin/hg
> CMake Error at cmake/version.cmake:61 (string):
>   string end index: 12 is out of range -1 - 0
> Call Stack (most recent call first):
>   CMakeLists.txt:432 (include)
>
>
> The error:
>
> CMake Error at cmake/version.cmake:61 (string):
>   string end index: 12 is out of range -1 - 0
>
> Seems to refer to:
>
>     string(SUBSTRING "${X265_REVISION_ID}" 0 12 X265_REVISION_ID)
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20161230/59aac5c5/attachment.html>


More information about the x265-devel mailing list