homebrew-qt4
homebrew-qt4 copied to clipboard
brew install cartr/qt4/[email protected] fails on Monterey
[email protected] is failing with missing makedepend
when it does exists and in the path
Any idea how to resolve this?
➜ ~ brew install cartr/qt4/[email protected]
==> Downloading https://www.openssl.org/source/openssl-1.0.2t.tar.gz
Already downloaded: /Users/shahar/Library/Caches/Homebrew/downloads/5d2da6a9ed1a20ef9d1b1418d79aa674cf5577b70ca1ce436fdaadfa04f0429c--openssl-1.0.2t.tar.gz
==> Installing [email protected] from cartr/qt4
==> perl ./Configure --prefix=/opt/homebrew/Cellar/[email protected]/1.0.2t --openssldir=/opt/homebrew/etc/openssl no-ssl2 no-ssl3 no-zlib shared enable-cms darwin64-x86_64-cc enabl
==> make depend
Last 15 lines from /Users/shahar/Library/Logs/Homebrew/[email protected]/02.make:
2022-04-07 19:18:45 +0000
make
depend
making depend in crypto...
../util/domd: line 23: makedepend: command not found
mv: Makefile.new: No such file or directory
make[1]: *** [local_depend] Error 127
make: *** [depend] Error 1
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/cartr/homebrew-qt4/issues
➜ ~ which makedepend
/opt/homebrew/bin/makedepend
Any idea how to resolve this?
Please address this issue - This is really frustrating. There doesn't seem to be any way around this.
I suspected if this is caused by brew
architecture. I used to have the same issue because I had the ARM version of brew
installed. But now I installed brew
in x86_64
compatible version (Rosetta 2 = True
)
As you can see from my brew --config
, specifically these two parameters
-
macOS: 12.4-x86_64
-
Rosetta 2: true
Because if you installed brew
in ARM mode (aka Apple M1 native), then all its subsequent packages will be installed in ARM compatible mode by default, however, there is no guarantee of these packages have switched to support ARM (Apple M1), e.g., catr/qt@4
& [email protected]
.
So, I guess not ideal, but in the meantime, perhaps just fall back to use the x86_64
version of homebrew
for now.
brew --config
HOMEBREW_VERSION: 3.5.4
ORIGIN: https://github.com/Homebrew/brew
HEAD: 88a5fac96752f17280e64f60926f58dff45990e0
Last commit: 13 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 83ed91a67fb9855ee5027f7df54a3e086ef3a596
Core tap last commit: 12 days ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: /usr/bin/vim
HOMEBREW_MAKE_JOBS: 10
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: Non of your business :P
Clang: 13.1.6 build 1316
Git: 2.37.0 => /usr/local/bin/git
Curl: 7.79.1 => /usr/bin/curl
macOS: 12.4-x86_64
CLT: 13.4.0.0.1.1651278267
Xcode: 13.4.1
Rosetta 2: true
Resolved the issue by creating a parallel brew-x64 installation