Ошибка при установке Watchman на Ubuntu 20.04

Попытка установить Watchman для React Native на свежую установку Ubuntu 20.04.

Я использую следующие шаги (но если есть способ сделать это лучше - или если вы вообще можете избежать использования Watchman, мне было бы интересно услышать) ...

  git clone https://github.com/facebook/watchman.git -b v4.9.0 --depth 1
  cd watchman/
  git checkout 
  ./autogen.sh
  ./configure --without-python --without-pcre --enable-lenient
  make

Я получаю показанную ниже ошибку во время шаг «сделать».

Я видел число из вопросов , связанных со строительным сторожем, но я не видел такой ситуации.

tests/integration/cppclient.cpp: In function ‘int main(int, char**)’:
tests/integration/cppclient.cpp:114:12: error: ‘TimedOut’ does not name a type
  114 |    } catch(TimedOut& e) {
      |            ^~~~~~~~
tests/integration/cppclient.cpp:120:12: error: ‘TimedOut’ does not name a type
  120 |    } catch(TimedOut& e) {
      |            ^~~~~~~~
tests/integration/cppclient.cpp:25:9: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
   25 |   system("rm -f hit");
      |   ~~~~~~^~~~~~~~~~~~~
tests/integration/cppclient.cpp:75:9: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
   75 |   system("touch hit");
      |   ~~~~~~^~~~~~~~~~~~~
tests/integration/cppclient.cpp:88:9: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
   88 |   system("rm hit");
      |   ~~~~~~^~~~~~~~~~
make[1]: *** [Makefile:2766: tests/integration/cppclient_t-cppclient.o] Error 1
make[1]: Leaving directory '/home/rshea/src/watchman'
make: *** [Makefile:1264: all] Error 2
1
задан 16 November 2021 в 09:46

0 ответов

Другие вопросы по тегам:

Похожие вопросы: