build issues for Debian 11
I think I have successfully built most of the ps3toolchain repo under debian 11 but I had to make a few small changes before I was able to get it to start building.
I used Debian 11 because you can still install python2 from the Debian 11 repos but using python2 is trickier under Debian 12 and later so I installed Debian 11 in a incus container. Ideally the ps3toolchain build scripts will get updated to use python3 instead.
I had to use the following command to install the build dependencies:
```
apt-get install autoconf automake bison flex gcc libelf-dev make \
texinfo libncurses5-dev patch python2 subversion wget zlib1g-dev \
libtool libtool-bin python2-dev bzip2 libgmp3-dev pkg-config g++ libssl-dev clang
```
The only differences in that command compared to the apt command in the README is that I have replaced `python` with `python2` and `python-dev` with `python2-dev`. These packages no longer exist in Debian 12 so we should maybe add a warning to the README about this until the build scripts get updated for python3?
I also had to change `depends/check-python.sh` to use `python2-config` instead of `python-config` or else it would fail to find my Python.h.
`pyprefix=$(python2-config --prefix)`
I have attached the last part of my attempt to build the repo. It fails when building PSL1GHT.
[ps3dev-build-error.txt](https://github.com/user-attachments/files/16470750/ps3dev-build-error.txt)
关闭于 2024-08-03 11 条评论