-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Mark bc
as a package dependency
#2974
Comments
isn't it bc not gc? |
Ooops yeah, editing |
gc
as a package dependencybc
as a package dependency
I can't reproduce the error that you describe. I think the problem is in your OS. First, fish.rpm depends on 'bc':
How did you install the package without dependencies? Yum must install them. Second. I installed CentOS-7-x86_64-Minimal-1511.iso, download a repo-file with:
Then install fish-shell:
|
On CentOS, I did the same as you (
On debian, there indeed is a problem with my system, as |
I just found the root cause on centos :
So I guess the culprits are the epel maintainers and not the fish maintainers :/ |
@Tuetuopay Good for you! Is it time to close the issue? |
I guess so, unless the package in the epel repo is maintained by the fish maintainers |
Hmm.. According to the changelog (https://dl.fedoraproject.org/pub/epel/7/SRPMS/f/fish-2.2.0-7.el7.src.rpm):
the maintainer is from RedHat... |
Yup, filing an issue in their bugzilla atm, the issue can be closed. |
Yep - please take this up with downstream. |
In Cygwin I added |
See fish-shell/fish-shell#2974 This will only fail at runtime in some autocomplete commands, if the dependency is not installed.
See fish-shell/fish-shell#2974 This will only fail at runtime in some autocomplete commands, if the dependency is not installed.
See fish-shell/fish-shell#2974 This will only fail at runtime in some autocomplete commands, if the dependency is not installed.
On some systems, the
bc
utility is not present in the default install, making themath
command unusable. This has been tested on CentOS 7 Minimal and Debian 7, where fish was installed through the package manager, as explained here.Reproduction Steps:
math 2+2
Expected behavior:
We should get the expected
math
output, as stated in the docs.Observed behavior:
The
math
command fails saying thebc
is unknown.(the error message might be a little off, as I translated it from French)
Additional information:
Clean CentOS 7 Minimal install. The problem was fixed by installing the
bc
package with yum.Fish version: 2.2.0
Operating system: CentOS 7 Minimal and Debian 7, and fish was installed from the repositories from OpenSUSE following this guide (linked from fish's homepage).
Terminal or terminal emulator: Cygwin
The text was updated successfully, but these errors were encountered: