首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >如何在Ubuntu19.10上安装看守人员以响应本机

如何在Ubuntu19.10上安装看守人员以响应本机
EN

Ask Ubuntu用户
提问于 2019-11-05 04:45:56
回答 1查看 1.3K关注 0票数 2

我试着在Ubuntu19.10上安装看门人,但它引发了一些问题。

我的命令:

$ cd ~

代码语言:javascript
运行
复制
$ git clone https://github.com/facebook/watchman.git

$ cd watchman/

$ git checkout v4.9.0

$ sudo apt-get install -y autoconf automake build-essential
python-dev

$ ./autogen.sh 

$ ./configure 

$ make

$ sudo make install$ watchman --version

问题:

代码语言:javascript
运行
复制
    scm/Mercurial.cpp: In constructor ‘watchman::Mercurial::infoCache::infoCache(std::string)’:
scm/Mercurial.cpp:16:40: error: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct watchman::FileInformation’; use assignment or value-initialization instead [-Werror=class-memaccess]
   16 |   memset(&dirstate, 0, sizeof(dirstate));
      |                                        ^
In file included from scm/Mercurial.h:10,
                 from scm/Mercurial.cpp:3:
./FileInformation.h:18:8: note: ‘struct watchman::FileInformation’ declared here
   18 | struct FileInformation {
      |        ^~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[1]: *** [Makefile:4446: scm/watchman-Mercurial.o] Error 1
make[1]: Leaving directory '/home/elavarasan/watchman-4.9.0'
make: *** [Makefile:1264: all] Error 2

期望:看守人成功安装。守望者4.9.0版

EN

回答 1

Ask Ubuntu用户

发布于 2019-11-16 01:29:10

正在运行

代码语言:javascript
运行
复制
./configure --without-python --without-pcre --enable-lenient

make完成这个任务之前。我找到了答案,在这个AskUbuntu问题中

票数 3
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1186308

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档