Advertising (This ad goes away for registered users. You can Login or Register)

Problem installing PSP toolchain

Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
BenMcLean
Posts: 13
Joined: Fri Jun 02, 2017 4:30 am

Problem installing PSP toolchain

Post by BenMcLean » Tue Jun 06, 2017 5:22 am

I'm trying to install psptoolchain from here following the Ubuntu instructions using Bash on Ubuntu on Windows. (since there are no Windows instructions and the minimalist psp sdk for WIndows seems to be missing features I need)

While installing, I got this error:

Code: Select all

Extracting newlib-1.20.0.tar.gz...

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
--2017-06-05 22:44:34--  ftp://sources.redhat.com/pub/newlib/newlib-1.20.0.tar.gz
           => ‘newlib-1.20.0.tar.gz’
Resolving sources.redhat.com (sources.redhat.com)... 209.132.183.64
Connecting to sources.redhat.com (sources.redhat.com)|209.132.183.64|:21... connected.
Logging in as anonymous ...
Error in server response, closing control connection.
Retrying.
Then it retries that a bunch of times, and at the end, it says:

Code: Select all

../scripts/004-newlib-1.20.0.sh: Failed.
ERROR: Could not run the toolchain script.
I guess the redhat site doesn't like me?

Anyone know what might be causing this? If not, how would you suggest I get the psp toolchain going?

I want to compile Wolf3D for PSP with the eventual goal of adapting it to port Super 3D Noah's Ark to the PSP just for fun.
Advertising

BenMcLean
Posts: 13
Joined: Fri Jun 02, 2017 4:30 am

Re: Problem installing PSP toolchain

Post by BenMcLean » Tue Jun 06, 2017 2:32 pm

I probably need something like this! Only with even more current URLs and correct dependencies. (libgmp-dev instead of gmp, and not sure what to do about libtool) Might have to create my own fork just to install all this. Hmm...
Advertising

BenMcLean
Posts: 13
Joined: Fri Jun 02, 2017 4:30 am

Re: Problem installing PSP toolchain

Post by BenMcLean » Tue Jun 06, 2017 9:44 pm


BenMcLean
Posts: 13
Joined: Fri Jun 02, 2017 4:30 am

Re: Problem installing PSP toolchain

Post by BenMcLean » Tue Jun 06, 2017 10:39 pm

That version had the same issue. Help!!

BenMcLean
Posts: 13
Joined: Fri Jun 02, 2017 4:30 am

Re: Problem installing PSP toolchain

Post by BenMcLean » Wed Jun 07, 2017 3:01 am

I think I fixed that but now there is a new issue. The installer ends with this message:

Code: Select all

Failed installing: angelscript libmikmod libpng openal opentri pixman SDL_image SDL_mixer
This is very concerning since I'm pretty sure I need those. Especially the SDL ones.

Going to try what this page suggests and run the installer again.

BenMcLean
Posts: 13
Joined: Fri Jun 02, 2017 4:30 am

Re: Problem installing PSP toolchain

Post by BenMcLean » Wed Jun 07, 2017 5:59 am

Changing sh from Dash to Bash reduced the number of fails to just these last two:

Code: Select all

Failed installing: openal opentri
Still investigating those.

BenMcLean
Posts: 13
Joined: Fri Jun 02, 2017 4:30 am

Re: Problem installing PSP toolchain

Post by BenMcLean » Wed Jun 07, 2017 12:19 pm

On second thought, I think the code I'm trying to compile doesn't use those so I might not bother. I did finally manage to get something to compile.

User avatar
reprep
Posts: 1072
Joined: Tue Dec 17, 2013 4:38 pm

Re: Problem installing PSP toolchain

Post by reprep » Fri Jun 23, 2017 7:15 pm


User avatar
fidelcastro
Posts: 215
Joined: Sat Oct 02, 2010 1:34 pm

Re: Problem installing PSP toolchain

Post by fidelcastro » Fri Jun 23, 2017 8:37 pm

Here is a small tuto of MR Alek, in case he orients something, in spanish sorry.

http://daxhordes.org/forum/viewtopic.php?f=33&t=3419

ivo2376
Posts: 22
Joined: Wed Jan 14, 2015 10:17 pm

Re: Problem installing PSP toolchain

Post by ivo2376 » Sat Sep 02, 2017 8:45 pm

install msys2
https://sourceforge.net/projects/minpspw/files/

after all said and done u should be able to run psptoolchain and pspsdk
but i need help cuz it isnt cuz then there wasnt msys2
im still getting this error when running pspsdk after ./bootsrap ./configure make

make[2]: Map '/home/nick/psp/pspsdk/tools' wordt binnengegaan
Making all in PrxEncrypter
make[3]: Map '/home/nick/psp/pspsdk/tools/PrxEncrypter' wordt binnengegaan
gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -Wall -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
main.c:5:18: fatale fout: zlib.h: No such file or directory
#include <zlib.h>
^
compilatie is beëindigd.
make[3]: *** [Makefile:394: main.o] Fout 1
make[3]: Map '/home/nick/psp/pspsdk/tools/PrxEncrypter' wordt verlaten
need help

Post Reply

Return to “Programming and Security”