-
-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
/usr/local/bin/apachectl: line 95: lynx: command not found #170930
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Bump |
I think the command is highly optional, and so the default httpd does not depends on the lynx. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
brew doctor
outputVerification
brew doctor
output" above saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
twice and am still able to reproduce my issue.brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.brew config
outputWhat were you trying to do (and why)?
I was just trying to call
apachectl status
(or withsudo
) and I get the errorThe following command does not return anything, so this dependency, which seems to be needed, was not installed when I installed
httpd
, so I think this is a bugMy MacOS (Monterey) already comes with an apache server, but I didn't want to use this one, so I installed it with brew too. Now, it seems that
apachectl
is automatically referring to the brew'shttpd
, because of the order of the exported paths (I suppose). Anyway, I don't know if this has anything to do with the issue.I saw this discussion https://github.com/orgs/Homebrew/discussions/2960, but I still don't get why after 2 years this has not yet been solved and what the official solution is and why. If I do
brew reinstall $(brew deps httpd) httpd
, it does not solve the issue, because, indeed, lynx will not appear inbrew deps httpd
Doing
brew install lynx
does seem to solve this specific issue, but then shouldn't thehttpd
formula depend onlynx
and so automatically install it, if it uses it?What happened (include all command output)?
What did you expect to happen?
No error
Step-by-step reproduction instructions (by running
brew
commands)brew install httpd php
apachectl status
The text was updated successfully, but these errors were encountered: