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

check-gmp always fails, even though gmp is installed (Cygwin) #116

Open
kernaltrap8 opened this issue Dec 7, 2022 · 5 comments
Open

check-gmp always fails, even though gmp is installed (Cygwin) #116

kernaltrap8 opened this issue Dec 7, 2022 · 5 comments

Comments

@kernaltrap8
Copy link

Hello,
Im trying to install the toolchain to build PSL1GHT. I don't dual boot, so im using Cygwin since it's open-source. When running toolchain.sh in bash, it runs for a bit and then says this:
image
I have GMP installed, I even broke Ruby to install it.
image
Any help is appreciated,
James

@zeldin
Copy link
Member

zeldin commented Dec 7, 2022

I don't use Cygwin (I don't dual boot either :), but I suspect the libgmp-devel package is the one you need.
https://cygwin.com/packages/summary/libgmp-devel.html

If you end up with a list of Cygwin packages you needed to install, I'm sure we could add it to the readme to help other Cygwin users.

@kernaltrap8
Copy link
Author

I don't use Cygwin (I don't dual boot either :), but I suspect the libgmp-devel package is the one you need. https://cygwin.com/packages/summary/libgmp-devel.html

If you end up with a list of Cygwin packages you needed to install, I'm sure we could add it to the readme to help other Cygwin users.

Hello,
Seems installing libgmp-devel fixed the gmp issue, but now it gets stuck on libelf
image

@zeldin
Copy link
Member

zeldin commented Dec 8, 2022

So, since you got the same problem with libelf that you got with gmp, maybe you should try the same solution (install the -devel package)? Just a thought...

@kernaltrap8
Copy link
Author

kernaltrap8 commented Dec 8, 2022

So, since you got the same problem with libelf that you got with gmp, maybe you should try the same solution (install the -devel package)? Just a thought...

yup, seems installing the devel packages of the dependencies works. add to the readme that Cygwin users must install the devel packages as well as the other dependencies.

now i got another issue.
image

@bucanero
Copy link
Contributor

well, the error is clear, you need to set the $PS3DEV environment variable before running the script.

You can: export PS3DEV=/usr/local/ps3dev
or try running toolchain-sudo.sh

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