Closed johannesborgstrom closed 3 years ago
Thanks for testing this out @johannesborgstrom. I was unable to reproduce, but a couple of leads that might help us work this out:
I'm still wrapping my head around Homebrew packaging, but it's odd to me that the first line Installing dependencies for lawmurray/birch/birch...
doesn't mention libbirch
, and that's precisely the library that's missing in the configure error. Strange. Maybe try an explicit brew install libbirch
, although you shouldn't have to do this really, the dependency is listed in the Ruby file for the package.
Do you have an old Birch install (from source) lying around by any chance? I've noticed that, for example, if I have some conflicting headers from an installation from source, Homebrew won't install anything for the package, even the libraries that don't conflict. Maybe that's what's happening here. If this might be the case, try cleaning everything up, then reinstalling:
rm -rf /usr/local/include/bi /usr/local/include/libbirch /usr/local/lib/libbirch* /usr/local/share/birch /usr/local/bin/birch
brew uninstall birch libbirch birch-standard birch-cairo birch-sqlite
brew install birch
==> Installing dependencies for lawmurray/birch/birch: birch-standard, freetype, libffi, pcre, gdbm, openssl@1.1, readline, sqlite, xz, python@3.8, glib, pixman, cairo, birch-cairo and birch-sqlite ==> Installing lawmurray/birch/birch dependency: birch-standard ==> ./configure --enable-debug --enable-release --prefix=/usr/local/Cellar/birch-standard/0.195 Last 15 lines from /Users/jobo/Library/Logs/Homebrew/birch-standard/01.configure: checking whether C++ compiler accepts -fprofile-abs-path... no checking whether C++ compiler accepts -Wno-overloaded-virtual... yes checking whether C++ compiler accepts -Wno-inconsistent-missing-override... yes checking whether C++ compiler accepts -Wno-attributes... yes checking whether C++ compiler accepts -Wno-int-to-pointer-cast... yes checking whether C++ compiler accepts -Wno-unused-parameter... yes checking whether C++ compiler accepts -Wno-unused-variable... yes checking whether C++ compiler accepts -Wno-unused-value... yes checking whether C++ compiler accepts -Wno-unused-local-typedefs... yes checking whether C++ compiler accepts -Wno-unknown-pragmas... yes checking for library containing dlopen... none required checking for main in -latomic... no checking for main in -lomp... yes checking for main in -lbirch-debug... no configure: error: required library not found
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):