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: bugzi...@mercurial-scm.org
          Reporter: physicsbe...@gmail.com
                CC: mercurial-devel@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.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to