[Bug 6178] New: Installation failure from source on Linux

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Fri Jul 26 10:48:10 UTC 2019


https://bz.mercurial-scm.org/show_bug.cgi?id=6178

            Bug ID: 6178
           Summary: Installation failure from source on Linux
           Product: Mercurial
           Version: 5.1rc0
          Hardware: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: physicsbeany at gmail.com
                CC: mercurial-devel at mercurial-scm.org

Created attachment 2053
  --> https://bz.mercurial-scm.org/attachment.cgi?id=2053&action=edit
Log from source installation attempt.

Trying to install Mercurial from source on a remote Linux machine ("make
install-home
", since I don't have root privileges). I get a compilation failure while
processing contrib/python-zstandard/zstd/decompress/zstd_decompress.c

Error line:

contrib/python-zstandard/zstd/decompress/zstd_decompress.c:40:50: error:
'ZSTD_WINDOWLOG_LIMIT_DEFAULT' undeclared (first use in this function)
 #  define ZSTD_MAXWINDOWSIZE_DEFAULT (((U32)1 << ZSTD_WINDOWLOG_LIMIT_DEFAULT)
+ 1)

It looks like the undefined MACRO appears in
"contrib/python-zstandard/zstd/zstd.h", though I tried copying this to the
"decompress" subdirectory, and adding #include "zstd.h" to the top of
zstd_decompress.c with no success.

Full installation log attached to this report.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list