ps2dev / ps2toolchain

This program will automatically build and install a compiler and other tools used in the creation of homebrew software for the Sony PlayStation® 2 videogame system.
BSD 2-Clause "Simplified" License
236 stars 71 forks source link

Error after try A LOT to install toolchain in Ubuntu 20.04 #79

Closed terremoth closed 3 years ago

terremoth commented 3 years ago

I am trying to build, in ubuntu, for GOD'S SAKE, someone could do a little better tutorial of how to install PS2DEV on Ubuntu?
It gives errors. I tried a lot, installed all the dependencies, created the dirs, exported the PS2* vars, tryed to install from root and with my user. Just don't works

The final part of the error:

[...]
makeinfo --no-split -I ../../../gas/doc ../../../gas/doc/as.texinfo
../../../gas/doc/as.texinfo:3628: @itemx must follow @item
../../../gas/doc/as.texinfo:3630: @itemx must follow @item
../../../gas/doc/as.texinfo:3632: @itemx must follow @item
../../../gas/doc/c-hppa.texi:184: warning: undefined flag: as
../../../gas/doc/c-mips.texi:142: @itemx must follow @item
../../../gas/doc/c-tic54x.texi:112: @code expected braces
../../../gas/doc/c-tic54x.texi:129: @code expected braces
../../../gas/doc/c-tic54x.texi:136: @code expected braces
../../../gas/doc/c-tic54x.texi:312: @code expected braces
../../../gas/doc/c-tic54x.texi:347: @itemx must follow @item
../../../gas/doc/as.texinfo:4573: warning: node next `Line' in menu `Ln' and in sectioning `Linkonce' differ
../../../gas/doc/as.texinfo:4613: warning: node next `Linkonce' in menu `List' and in sectioning `Ln' differ
../../../gas/doc/as.texinfo:4613: warning: node prev `Linkonce' in menu `Ln' and in sectioning `Line' differ
../../../gas/doc/as.texinfo:4650: warning: node next `Ln' in menu `Linkonce' and in sectioning `MRI' differ
../../../gas/doc/as.texinfo:4650: warning: node prev `Ln' in menu `Line' and in sectioning `Linkonce' differ
../../../gas/doc/as.texinfo:4671: warning: node next `MRI' in menu `Nolist' and in sectioning `List' differ
../../../gas/doc/as.texinfo:4671: warning: node prev `MRI' in menu `Macro' and in sectioning `Ln' differ
../../../gas/doc/as.texinfo:4681: warning: node prev `List' in menu `Linkonce' and in sectioning `MRI' differ
../../../gas/doc/as.texinfo:4723: warning: node next `Macro' in menu `MRI' and in sectioning `Nolist' differ
../../../gas/doc/as.texinfo:4816: warning: node prev `Nolist' in menu `MRI' and in sectioning `Macro' differ
../../../gas/doc/as.texinfo:4876: warning: node next `P2align' in menu `PopSection' and in sectioning `Previous' differ
../../../gas/doc/as.texinfo:4914: warning: node next `Previous' in menu `Print' and in sectioning `PopSection' differ
../../../gas/doc/as.texinfo:4914: warning: node prev `Previous' in menu `PopSection' and in sectioning `P2align' differ
../../../gas/doc/as.texinfo:4934: warning: node next `PopSection' in menu `Previous' and in sectioning `Print' differ
../../../gas/doc/as.texinfo:4934: warning: node prev `PopSection' in menu `P2align' and in sectioning `Previous' differ
../../../gas/doc/as.texinfo:4949: warning: node prev `Print' in menu `Previous' and in sectioning `PopSection' differ
../../../gas/doc/as.texinfo:5293: warning: node next `Size' in menu `Skip' and in sectioning `Sleb128' differ
../../../gas/doc/as.texinfo:5339: warning: node next `Sleb128' in menu `Space' and in sectioning `Skip' differ
../../../gas/doc/as.texinfo:5339: warning: node prev `Sleb128' in menu `Skip' and in sectioning `Size' differ
../../../gas/doc/as.texinfo:5348: warning: node next `Skip' in menu `Sleb128' and in sectioning `Space' differ
../../../gas/doc/as.texinfo:5348: warning: node prev `Skip' in menu `Size' and in sectioning `Sleb128' differ
../../../gas/doc/as.texinfo:5358: warning: node prev `Space' in menu `Sleb128' and in sectioning `Skip' differ
../../../gas/doc/c-i386.texi:608: warning: node next `i386-16bit' in menu `i386-Arch' and in sectioning `i386-Bugs' differ
../../../gas/doc/c-i386.texi:659: warning: node next `i386-Bugs' in menu `i386-Notes' and in sectioning `i386-Arch' differ
../../../gas/doc/c-i386.texi:659: warning: node prev `i386-Bugs' in menu `i386-Arch' and in sectioning `i386-16bit' differ
../../../gas/doc/c-i386.texi:680: warning: node next `i386-Arch' in menu `i386-Bugs' and in sectioning `i386-Notes' differ
../../../gas/doc/c-i386.texi:680: warning: node prev `i386-Arch' in menu `i386-16bit' and in sectioning `i386-Bugs' differ
../../../gas/doc/c-i386.texi:728: warning: node prev `i386-Notes' in menu `i386-Bugs' and in sectioning `i386-Arch' differ
../../../gas/doc/c-msp430.texi:6: warning: node next `MSP430-Dependent' in menu `SH-Dependent' and in sectioning `PDP-11-Dependent' differ
../../../gas/doc/c-pdp11.texi:6: warning: node prev `PDP-11-Dependent' in menu `SH64-Dependent' and in sectioning `MSP430-Dependent' differ
../../../gas/doc/c-ppc.texi:7: warning: node next `PPC-Dependent' in menu `Sparc-Dependent' and in sectioning `SH-Dependent' differ
../../../gas/doc/c-sh.texi:6: warning: node prev `SH-Dependent' in menu `MSP430-Dependent' and in sectioning `PPC-Dependent' differ
../../../gas/doc/c-sh64.texi:5: warning: node next `SH64-Dependent' in menu `PDP-11-Dependent' and in sectioning `Sparc-Dependent' differ
../../../gas/doc/c-sparc.texi:7: warning: node prev `Sparc-Dependent' in menu `PPC-Dependent' and in sectioning `SH64-Dependent' differ
../../../gas/doc/c-tic54x.texi:7: warning: node next `TIC54X-Dependent' in menu `V850-Dependent' and in sectioning `Z8000-Dependent' differ
../../../gas/doc/c-z8k.texi:6: warning: node prev `Z8000-Dependent' in menu `Xtensa-Dependent' and in sectioning `TIC54X-Dependent' differ
../../../gas/doc/c-vax.texi:7: warning: node `V850-Dependent' is next for `Vax-Dependent' in sectioning but not in menu
../../../gas/doc/c-v850.texi:5: warning: node prev `V850-Dependent' in menu `TIC54X-Dependent' and in sectioning `Vax-Dependent' differ
../../../gas/doc/c-xtensa.texi:7: warning: node `Z8000-Dependent' is next for `Xtensa-Dependent' in menu but not in sectioning
make[2]: *** [Makefile:232: as.info] Erro 1
make[2]: exiting directory '/root/ps2toolchain/build/binutils-2.14/build-ee/gas/doc'
make[1]: *** [Makefile:2631: install-recursive] Erro 1
make[1]: exiting directory '/root/ps2toolchain/build/binutils-2.14/build-ee/gas'
make: *** [Makefile:2675: install-gas] Erro 2
../scripts/001-binutils-2.14.sh: Failed.

Please, someone HELP

fjtrujy commented 3 years ago

Hello, Our CI/CD is still using ubuntu 18.04, however I have tried it in Ubuntu 20.04 and it worked without any issue. The requirements are quite clear in the readme document

Install gcc/clang, make, patch, git, texinfo and wget if you don't have those.

Anyway you can also take a look to the CI/CD, to see what are the needed tools https://github.com/ps2dev/ps2toolchain/blob/master/.github/workflows/compilation.yml#L23

Finally, if you are trying to install the whole PS2 development environment, you shouldn't use this repo. As the Readme as well says you need to use https://github.com/ps2dev/ps2dev

And over here you can see, how it is compiled for MacOS and Ubuntu as well. Over there you can see the tools needed to install and the environment variables that you need to declare https://github.com/ps2dev/ps2dev/blob/master/.github/workflows/compilation.yml#L23

Please if this solves your issues, close the issue. Thanks

terremoth commented 3 years ago

Yes, I read both readme's, and tried for both! No success... always appeared some error in compilation.
I have ALL these packages installed...

I will close the issue, because I probably won't be helped now.

I just downloaded the release from Ubuntu @rickgaiser made on May 21, and I think there is okay. I just couldn't compile the examples, but now I am going to close this issue, and open 2 new ones. Thanks.