Open Timi-Duban opened 5 months ago
I am also facing the same issue
I am also facing the same issue
I was also facing a similar issue, but this error I received was
pkg-config appears to be missing (not available to autoconf tools) please install the pkg-config package for your system.
. I honestly just installed homebrew and used that to install watchman
Hello everyone,
I am trying to install Watchman on my laptop (on Ubuntu 22.04.3 LTS), using the "Building from Source" procedure described here (I was initially planning to use the Prebuilt Debs but it seems they are not included on the releases anymore).
I had no problem installing cargo (version 1.70.0) and the required packages (using
sudo ./install-system-packages.sh
). Then, when running the./autogen.sh
script, I have the following error:As far as I understand it, it comes from this fail:
I tried running it with sudo
sudo ./autogen.sh
instead, and restarting my computer, but I ended up with the same result. Does anybody have any idea why it might fail?Full log
```shell + PREFIX=/usr/local + python3 build/fbcode_builder/getdeps.py build --allow-system-packages --src-dir=. --project-install-prefix=watchman:/usr/local watchman Building on {distro=ubuntu, distro_vers=22.04, fb=off, fbsource=off, os=linux, shared_libs=off, test=on} Testing ENV[BOOST_ROOT_1_69_0]: None Assessing cpptoml... Assessing fmt... Assessing googletest... Assessing python-six... Using pinned rev f601d244aac60d591228cfd41a566d0039d4deef for https://github.com/facebook/folly.git Assessing folly... Using pinned rev f601d244aac60d591228cfd41a566d0039d4deef for https://github.com/facebook/folly.git Testing ENV[BOOST_ROOT_1_69_0]: None Assessing fizz... Assessing mvfst... Using pinned rev 0f6bdb225f0eb2a363d9171425966977c2b035d8 for https://github.com/facebook/wangle.git Assessing wangle... Using pinned rev 0f6bdb225f0eb2a363d9171425966977c2b035d8 for https://github.com/facebook/wangle.git Building wangle... --- + CMAKE_PREFIX_PATH=\ + /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/mvfst:\ + /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/fizz:\ + /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly:\ + /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/python-six-bDHnmfeK7u_C8fPEPr_qdaZcEO7qk3rIMnb4AURH4PM:\ + /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/googletest-I6iiULGW2x9jG0ewpeSrrFLkFysc7xySjD4HpNZFmYQ:\ + /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/fmt-0OsqWr9WlgnMtY9ox7a01xiCebaS7tyP8wfT0ATUdns:\ + /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/cpptoml-Q7sVd-KywyhaOKZdlvJqlv4CxqSn1vPsQ0oGVflGe3c:\ + GETDEPS_BUILD_DIR=/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/build \ + GETDEPS_INSTALL_DIR=/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed \ + LD_LIBRARY_PATH=\ + /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/mvfst/lib:\ + /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/fizz/lib:\ + /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/lib:\ + /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/python-six-bDHnmfeK7u_C8fPEPr_qdaZcEO7qk3rIMnb4AURH4PM/lib:\ + /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/googletest-I6iiULGW2x9jG0ewpeSrrFLkFysc7xySjD4HpNZFmYQ/lib:\ + /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/fmt-0OsqWr9WlgnMtY9ox7a01xiCebaS7tyP8wfT0ATUdns/lib:\ + /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/cpptoml-Q7sVd-KywyhaOKZdlvJqlv4CxqSn1vPsQ0oGVflGe3c/lib:\ + PKG_CONFIG_PATH=\ + /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/lib/pkgconfig:\ + /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/googletest-I6iiULGW2x9jG0ewpeSrrFLkFysc7xySjD4HpNZFmYQ/lib/pkgconfig:\ + /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/fmt-0OsqWr9WlgnMtY9ox7a01xiCebaS7tyP8wfT0ATUdns/lib/pkgconfig:\ + PYTHONPATH=/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/python-six-bDHnmfeK7u_C8fPEPr_qdaZcEO7qk3rIMnb4AURH4PM/lib/fb-py-libs/python-six \ + SSL_CERT_DIR=/etc/ssl/certs \ + cd /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/build/wangle && \ + /usr/bin/cmake \ + --build \ + /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/build/wangle \ + --target \ + install \ + --config \ + RelWithDebInfo \ + -j \ + 8 [9/21] Building CXX object CMakeFiles/wangle.dir/acceptor/FizzConfigUtil.cpp.o FAILED: CMakeFiles/wangle.dir/acceptor/FizzConfigUtil.cpp.o /usr/bin/c++ -DBOOST_ALL_NO_LIB -DGFLAGS_IS_A_DLL=0 -DWANGLE_HAVE_SSL_SESSION_DUP -I/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/.. -isystem /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/fizz/include -isystem /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include -isystem /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/fmt-0OsqWr9WlgnMtY9ox7a01xiCebaS7tyP8wfT0ATUdns/include -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT CMakeFiles/wangle.dir/acceptor/FizzConfigUtil.cpp.o -MF CMakeFiles/wangle.dir/acceptor/FizzConfigUtil.cpp.o.d -o CMakeFiles/wangle.dir/acceptor/FizzConfigUtil.cpp.o -c /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/acceptor/FizzConfigUtil.cpp /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/acceptor/FizzConfigUtil.cpp:23:13: error: ‘CertUtils’ has not been declared in ‘fizz’ 23 | using fizz::CertUtils; | ^~~~~~~~~ /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/acceptor/FizzConfigUtil.cpp: In static member function ‘static std::unique_ptr