ps3dev / ps3toolchain

A script to autobuild an open source toolchain for the PS3.
BSD 2-Clause "Simplified" License
280 stars 92 forks source link

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

Open kernaltrap8 opened 1 year ago

kernaltrap8 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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