-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'makedepend: command not found' when installing on M1 #10
Comments
I found evidence of other people having this exact issue in the past; I'm not sure if it was ever solved for them: #4 (comment) Apparently |
I saw that, but didn't find anyone mentioning solving it. I somewhat assumed the fix you mentioned in the bottom of the thread had worked for them. I saw gcc -M mentioned a couple of times, but not sure if it's something I can make use of to proceed here? |
You could try
|
That's interesting. The grep result for me is the same:
My makefile differs however. Where you have MAKEDEPPROG= clang, I have MAKEDEPPROG=makedepend. I don't really know how homebrew works with stuff like this. Can I alter the makefile and reinitiate the install using the stored temp output, or can I inject what MAKEDEPPROG I want to use when installing? |
I strongly suspect this is what causes the failure on your system and what makes it work on mine. I do not know why the Perl # collect compiler pre-defines from gcc or gcc-alike...
open(PIPE, "$cross_compile_prefix$cc -dM -E -x c /dev/null 2>&1 |");
while (<PIPE>) {
m/^#define\s+(\w+(?:\(\w+\))?)(?:\s+(.+))?/ or last;
$predefined{$1} = defined($2) ? $2 : "";
}
close(PIPE);
# Xcode did not handle $cc -M before clang support
my $cc_as_makedepend = 0;
if ($predefined{__GNUC__} >= 3 && !(defined($predefined{__APPLE_CC__})
&& !defined($predefined{__clang__}))) {
$cc_as_makedepend = 1;
} I think that either
Note that we're trying to debug a build script issue in a version of OpenSSL that is no longer maintained. It's quite possible that this issue was known and fixed in future versions of OpenSSL. If you do manage to find the cause of the bug, I'm open to patching it in this repo. |
I'm unable to run
brew install rbenv/tap/[email protected]
on my M1, with or without makedepend linked to homebrew. Getting the following output:The text was updated successfully, but these errors were encountered: