homebrew-zathura
homebrew-zathura copied to clipboard
Can't install Zathura in MacOS 12.2 Beta
I had the following error when trying to install on MacOS 12.2 beta with latest version of XCode Command Line Tools even after running brew update
and brew upgrade
:
qwinters@qwinters-m1 (base) ❯ brew install zathura
==> Downloading https://github.com/pwmt/zathura/archive/0.4.8.tar.gz
Already downloaded: /Users/qwinters/Library/Caches/Homebrew/downloads/03451fbb4a9fd788239c7c1a3554e340750b4953cf39e5fde1bb306cde16fdde--zathura-0.4.8.tar.gz
==> Installing zathura from zegervdv/zathura
==> mkdir build
==> meson build --prefix /opt/homebrew/Cellar/zathura/0.4.8
Last 15 lines from /Users/qwinters/Library/Logs/Homebrew/zathura/02.0.4.8:
Compiler for C supports arguments -fvisibility=hidden: YES
Run-time dependency sqlite3 found: YES 3.37.2
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency synctex found: NO (tried pkgconfig, framework and cmake)
Library magic found: YES
Run-time dependency libseccomp found: NO (tried pkgconfig, framework and cmake)
Configuring zathura-version.h using configuration
Found pkg-config: /opt/homebrew/Library/Homebrew/shims/mac/super/pkg-config (0.29.2)
Program glib-compile-resources found: YES (/opt/homebrew/opt/glib/bin/glib-compile-resources)
Program rsvg-convert found: YES (/opt/homebrew/opt/librsvg/bin/rsvg-convert)
data/meson.build:22:0: ERROR: Function does not take positional arguments.
A full log can be found at /private/tmp/zathura-20220120-44349-hfrsxe/zathura-0.4.8/build/meson-logs/meson-log.txt
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/zegervdv/homebrew-zathura/issues
These open issues may also help:
Zathura crashing on segmentation fault https://github.com/zegervdv/homebrew-zathura/issues/47
Cannot install zathura on Big Sur 11.5.2 https://github.com/zegervdv/homebrew-zathura/issues/80
Zathura auto focus on open https://github.com/zegervdv/homebrew-zathura/issues/62
Zathura not recognized by tiling window manager chunkwm. https://github.com/zegervdv/homebrew-zathura/issues/38
Method to run zathura as default pdf viewer https://github.com/zegervdv/homebrew-zathura/issues/78
zathura not showing up on MacOS https://github.com/zegervdv/homebrew-zathura/issues/74
brew install zathura-pdf-mupdf fails https://github.com/zegervdv/homebrew-zathura/issues/66
zathura isn't launched from ViM without --with-synctex https://github.com/zegervdv/homebrew-zathura/issues/50
I was able to fix this by running brew install zathura --HEAD
. I believe this issue is related to https://github.com/zegervdv/homebrew-zathura/issues/83, but I'm not completely sure.
Might be low priority (because beta OS version) but just wanted to post here so people had a work around.
Confirming this worked for me on Mac 11.6!
brew install zathura --HEAD
Confirmed working on MacOS 12.2
Worked on macOS 10.15.7 too
brew install zathura
Not working on MacOS 12.2.1
but brew install zathura --HEAD
worked but didn't create symlinks
brew install zathura --with-synctex
does not work on macOS Monterey12.3
❯ brew update
Updated 2 taps (homebrew/command-not-found and homebrew/core).
==> Updated Formulae
apache-pulsar bartycrouch hugo libpulsar
❯ brew upgrade
❯ brew info zathura
zegervdv/zathura/zathura: stable 0.4.8, HEAD
https://pwmt.org/projects/zathura/
Not installed
From: https://github.com/zegervdv/homebrew-zathura/blob/HEAD/zathura.rb
==> Dependencies
Required: pkg-config ✔, libmagic ✔, gettext ✔, girara ✘, gnome-icon-theme ✔, glib ✔, desktop-file-utils ✔, intltool ✔, sphinx-doc ✔, meson ✔, gtk-mac-integration ✔
Optional: synctex ✔
==> Options
❯ brew install zathura --with-synctex
==> Downloading https://github.com/pwmt/girara/archive/0.3.6.tar.gz
Already downloaded: /Users/dehan/Library/Caches/Homebrew/downloads/2656186a6c3e1cf9379e7e76614194f1d8145e5a06e3102936467116f78efcd1--girara-0.3.6.tar.gz
==> Downloading https://github.com/pwmt/zathura/archive/0.4.8.tar.gz
==> Downloading from https://codeload.github.com/pwmt/zathura/tar.gz/refs/tags/0.4.8
#=O=# # #
==> Installing zathura from zegervdv/zathura
==> Installing dependencies for zegervdv/zathura/zathura: girara
==> Installing zegervdv/zathura/zathura dependency: girara
==> mkdir build
==> meson build --prefix /usr/local/Cellar/girara/0.3.6
==> cd build && ninja && ninja install
🍺 /usr/local/Cellar/girara/0.3.6: 42 files, 278.2KB, built in 11 seconds
==> Installing zegervdv/zathura/zathura --with-synctex
==> mkdir build
==> meson build --prefix /usr/local/Cellar/zathura/0.4.8
Last 15 lines from /Users/dehan/Library/Logs/Homebrew/zathura/02.0.4.8:
Run-time dependency sqlite3 found: YES 3.38.1
Run-time dependency synctex found: YES 1.21.0
Library magic found: YES
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libseccomp found: NO (tried pkgconfig, framework and cmake)
meson.build:93: WARNING: You are using a synctex version pre-SONAME bump, but post-ABI-break. Please make sure to always run zathura using the correct synctex version.
Configuring zathura-version.h using configuration
Found pkg-config: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/pkg-config (0.29.2)
Program glib-compile-resources found: YES (/usr/local/opt/glib/bin/glib-compile-resources)
Program rsvg-convert found: YES (/usr/local/opt/librsvg/bin/rsvg-convert)
data/meson.build:22:0: ERROR: Function does not take positional arguments.
A full log can be found at /private/tmp/zathura-20220326-20736-1ycty4c/zathura-0.4.8/build/meson-logs/meson-log.txt
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/zegervdv/homebrew-zathura/issues
These open issues may also help:
Can't install Zathura in MacOS 12.2 Beta https://github.com/zegervdv/homebrew-zathura/issues/87
Zathura crashing on segmentation fault https://github.com/zegervdv/homebrew-zathura/issues/47
Zathura auto focus on open https://github.com/zegervdv/homebrew-zathura/issues/62
Cannot install zathura on Big Sur 11.5.2 https://github.com/zegervdv/homebrew-zathura/issues/80
zathura not showing up on MacOS https://github.com/zegervdv/homebrew-zathura/issues/74
Zathura not recognized by tiling window manager chunkwm. https://github.com/zegervdv/homebrew-zathura/issues/38
brew install zathura-pdf-mupdf fails https://github.com/zegervdv/homebrew-zathura/issues/66
Method to run zathura as default pdf viewer https://github.com/zegervdv/homebrew-zathura/issues/78
zathura isn't launched from ViM without --with-synctex https://github.com/zegervdv/homebrew-zathura/issues/50
I tried to reinstall it with verbose and debug log.
zathura.log
And It led to /private/tmp/zathura-20220326-38965-15gwvk8/zathura-0.4.8/build/meson-logs/meson-log.txt
meson-log.txt
Run-time dependency libseccomp found: NO (tried pkgconfig, framework and cmake)
libseccomp
requires a linux kernel
Try using the --HEAD
flag during install
Try using the
--HEAD
flag during install
brew install zathura --with-synctex --HEAD
brew link --overwrite zathura
works for vimtex Thanks.
Have a good day.