ps3dev / ps3libraries

A script to automatically build various open source libraries for use on the PS3.
86 stars 74 forks source link

Update 001-zlib-1.2.7.sh to 001-zlib-1.2.8.sh #27

Closed rurika closed 11 years ago

koklimabc commented 11 years ago

Regarding the error come out after I've execute ./toolchain.sh, can you help me to fix this?

[code] ./libraries.sh: 47: ./libraries.sh: ../scripts/001-zlib-1.2.8.sh: Permission denied ../scripts/001-zlib-1.2.8.sh: Failed. ../scripts/009-ps3libraries.sh: Failed. [/Code]

Parlane commented 11 years ago

Did the last commit fix this ?

Parlane commented 11 years ago

koklimabc, please:

chmod +x scripts/001-zlib-1.2.8.sh

koklimabc commented 11 years ago

thank for reply. FYI, I didn't able to find 001-zlib-1.2.8.sh and 009-ps3libraries.sh exists under /scripts, can youi guide me where can i download both sh files. Thanks.

koklimabc commented 11 years ago

Please verify that the code from "https://github.com/ps3dev/ps3libraries/blob/master/scripts/001-zlib-1.2.8.sh" is weather correct or not ?if correct I could paste it into scripts folder location.Thanks

Parlane commented 11 years ago

Just do a git pull to get latest....

koklimabc commented 11 years ago

Hi Parlane,

I'm having new issues of problem after finished to compile the ps3toolchain under ubuntu platform.

Kindly take a look at below, Thanks. [code] zlib-1.2.8/zutil.h patching file Makefile.in Hunk #1 succeeded at 72 (offset -1 lines). patching file configure Hunk #1 FAILED at 182. Hunk #2 FAILED at 231. 2 out of 2 hunks FAILED -- saving rejects to file configure.rej ../scripts/001-zlib-1.2.8.sh: Failed. ../scripts/009-ps3libraries.sh: Failed. [/code]

koklimabc commented 11 years ago

Problem solved. it is a patching problem and only failed at last line libraries.sh for everytime execute on 009-ps3libraries.sh .

cd ps3toolchain/scripts after extracted those content, cd ps3libraries/scripts "sh 001.xxxxxx.sh" until "020.xxxxxx.sh" to extract entire content in same directory, then copy those extracted folder into build folder under "ps3libraries" folder. After that Copy entire "ps3libraries" into "/pstoolchain/build". Not end yet, setup your environment by "gkssudo gedit ~/.bashrc" as liked this below

[code] export PS3DEV=~/ps3toolchain/build/psl1ght export PSL1GHT=$PS3DEV/libpsl1ght export PATH=$PATH:$PS3DEV/bin:$PS3DEV/ppu/bin:$PS3DEV/spu/bin [/code]

cd ps3toolchain/build/psl1ght/samples/audio make

Success.