Skip to content
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

Installation fails on yay-installed Sage #2

Closed
upbqdn opened this issue Jul 28, 2020 · 8 comments
Closed

Installation fails on yay-installed Sage #2

upbqdn opened this issue Jul 28, 2020 · 8 comments

Comments

@upbqdn
Copy link

upbqdn commented Jul 28, 2020

I'm trying to install the package into Sage 9.1 and I can't get over the following error:
...
Applying patches.
sh: sage-apply-patches: command not found
Failed to apply patches.

The error pops out when running 'sage setup.py test'.
I'd be happy to fix it on my own and perhaps submit a pull request, but I'm stuck at this.

@upbqdn upbqdn closed this as completed Jul 29, 2020
@upbqdn upbqdn reopened this Jul 29, 2020
@upbqdn
Copy link
Author

upbqdn commented Jul 29, 2020

Similarly to the first issue, I solved this one by using a self-compiled version of Sage. It might be useful to mention this detail in the docs. Now fgb_sage works flawlessly with Sage 9.1. I'd still gladly submit a pull request as regards the docs if there's any will.

@upbqdn upbqdn closed this as completed Jul 29, 2020
@slel
Copy link

slel commented Jul 29, 2020

Could you say how the other Sage was installed?
Via a package manager? apt, conda, pacman, rpm, yum?

@upbqdn
Copy link
Author

upbqdn commented Jul 29, 2020

Sure, I used this package https://www.archlinux.org/packages/community/x86_64/sagemath/, which I installed using the package manager yay on Arch Linux.

@slel
Copy link

slel commented Jul 29, 2020

You could maybe reopen this issue and change the title to
"State assumptions on how Sage was installed".
I think a pull request to amend the docs would be nice.
What do you think @mwageringel?

@slel
Copy link

slel commented Jul 29, 2020

The first two issues in this repo could be renamed:

@slel
Copy link

slel commented Jul 29, 2020

So maybe open a third issue for improving the docs,
and refer to those!

@upbqdn upbqdn changed the title Sage 9.1 Install instructions fail on yay-installed Sage Jul 30, 2020
@mwageringel
Copy link
Owner

Thanks for bringing this up. I was not aware of this – apparently the script sage-apply-patches is only available in Sage the distribution, but in some packaged versions of Sage it is not. I have added a few words about this to the documentation.

The simplest way to fix this might be to copy that file into this repository.

Regarding #1 , the version of Sage (8.1) might just have been too old.

@mwageringel mwageringel reopened this Jul 30, 2020
@mwageringel mwageringel changed the title Install instructions fail on yay-installed Sage Installation fails on yay-installed Sage Jul 30, 2020
@mwageringel
Copy link
Owner

This should be fixed now, finally, at least on Arch. Feel free to reopen if there is still a problem on another distribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants