Well I used Fedora 8 on this but will work about the same for any other. This is for people that are having a problem getting ps2toolchain to compile & ps2sdk.
Run the following command as root in the terminal
Code:
yum install kernel-devel
You should have updated the kernel with the regular updates but just in case also run this
Code:
yum install kernel-headers
Afterwards lets install the development tools just in case you haven't already.
Code:
yum groupinstall "development-tools"
yum install mpfr-devel
yum install compat-gcc*
yum install subversion
Now lets install wget if you haven't already.
Time to edit the login
Code:
gedit /home/???/.bashrc
replace ??? with your username for your directory. Then add the following lines at the end
Code:
export PS2DEV=/usr/local/ps2dev
export PATH=$PATH:$PS2DEV/bin
export PATH=$PATH:$PS2DEV/ee/bin
export PATH=$PATH:$PS2DEV/iop/bin
export PATH=$PATH:$PS2DEV/dvp/bin
export PS2SDK=$PS2DEV/ps2sdk
export PATH=$PATH:$PS2SDK/bin
Restart the terminal and enter the following command
Login back as root and type the following commands in the terminal
Code:
svn checkout svn://ps2dev.org/ps2/trunk/ps2toolchain
cd ps2toolchain
Now execute the following commands
Code:
export CC=gcc34
./toolchain.sh
Process will take awhile but once the process is fully done update the ps2sdk fully with the following command.
Code:
svn checkout http://svn.ps2dev.org/trunk/ps2sdk && cd ps2sdk
make
make install
Afterwards you should be all setup with ps2toolchain & ps2sdk. I've done this twice and so far no problems compiling sources. I myself am new at this but this will get you started, hope it helps beginners with ps2dev & linux.