Open jfirebaugh opened 6 months ago
Same - still missing.
Still missing, stopping my development with React Native
I've been stuck on installing watchman for too long on mac os big sur. Why is there no release for mac os!
RPM package for Fedora 39 is not also available.
Fedora (Prebuilt RPMs)
Warning: Do not install the Fedora-supplied Watchman package. It is old and missing security, bug, and performance fixes.
From the [latest release](https://github.com/facebook/watchman/releases/latest), download the .rpm corresponding to your Fedora version
sudo dnf localinstall watchman-$VERSION.fc$FEDORA_VERSION.x86_64.rpm
Confirm successful installation by running watchman version
I found a solution that we can get prebuilt binary from github actions artifacts. eg: https://github.com/facebook/watchman/actions/runs/8959684395 Once the artifact is downloaded,use the follow command to extract binary to local folder
unzip -o watchman.zip
cp -vfR watchman/mac/bin/* /usr/local/bin/
cp -vfR watchman/mac/lib/* /usr/local/lib/
chmod +x /usr/local/bin/watchman*
watchman watch-del-all
This is the last available mac build: https://github.com/facebook/watchman/releases/tag/v2023.05.01.00
FYI homebrew build still works great for me https://github.com/Homebrew/homebrew-core/blob/9a6fbb3755ba09ebb82fa4f0dbdfa0ce15a4b9d1/Formula/w/watchman.rb
==> Installing watchman
==> cmake -S . -B build -DENABLE_EDEN_SUPPORT=ON -DPython3_EXECUTABLE=/usr/local/opt/python@3.12/bin/python3.12 -DWATCHMAN_VERSION_OVERRIDE=2024.05.06.00 -DWATCHMAN_BUILDINFO_OVERRIDE=Homebrew -DWATCHMAN_STATE_DIR=/usr/local/var/ru
Last 15 lines from /Users/Vaughan/Library/Logs/Homebrew/watchman/01.cmake:
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
CMake Error at /usr/local/Cellar/cmake/3.29.5/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find GMock (missing: LIBGMOCK_MAIN_LIBRARY LIBGMOCK_LIBRARY
LIBGMOCK_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.29.5/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
build/fbcode_builder/CMake/FindGMock.cmake:62 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:133 (find_package)
-- Configuring incomplete, errors occurred!
READ THIS: https://docs.brew.sh/Troubleshooting
I needed to run:
brew install googletest
brew link --overwrite googletest
https://facebook.github.io/watchman/docs/install#prebuilt-binaries-1 says "Download and extract the macOS release from the latest release", with a link to https://github.com/facebook/watchman/releases/latest. Currently, that redirects to https://github.com/facebook/watchman/releases/tag/v2024.03.18.00, which has no files of the form
watchman-vYYYY.MM.DD.00-macos.zip
.Are they supposed to exist or is the documentation out of date?