After giving up on the Cygwin method, I got some Virtualization going and installed Edgy. The PSP toolchain has installed perfectly, and I've built a good ol' Hello World without a problem..
But, now I want to port my SDL games over to the psp. I downloaded SDL over SVN, and ran the commands according to README.PSP. The 1st three work fine:
Code: Select all
./autogen.sh
LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
./configure --host psp --prefix=$(psp-config --psp-prefix)
make
Code: Select all
make install
When I run make install, here is what I get:
Code: Select all
matt@kubuntu:~/trunk/SDL$ make install
make: Warning: File `Makefile' has modification time 3.1e+04 s in the future
Making install in src
make[1]: Entering directory `/home/matt/trunk/SDL/src'
make[1]: Warning: File `.deps/SDL_loadso.Plo' has modification time 3.1e+04 s in the future
Making install in main
make[2]: Entering directory `/home/matt/trunk/SDL/src/main'
make[2]: Warning: File `.deps/arch.Plo' has modification time 3.1e+04 s in the future
make[3]: Entering directory `/home/matt/trunk/SDL/src/main'
make[3]: Warning: File `.deps/arch.Plo' has modification time 3.1e+04 s in the future
test -z "/usr/local/pspdev/psp/lib" || mkdir -p -- "/usr/local/pspdev/psp/lib"
/usr/bin/install -c -m 644 'libSDLmain.a' '/usr/local/pspdev/psp/lib/libSDLmain.a'
/usr/bin/install: cannot remove `/usr/local/pspdev/psp/lib/libSDLmain.a': Permission denied
make[3]: *** [install-libLIBRARIES] Error 1
make[3]: Leaving directory `/home/matt/trunk/SDL/src/main'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/matt/trunk/SDL/src/main'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/matt/trunk/SDL/src'
make: *** [install-recursive] Error 1
Code: Select all
matt@kubuntu:~/trunk/SDL$ sudo make install
Password:
make: Warning: File `Makefile' has modification time 3.1e+04 s in the future
Making install in src
make[1]: Entering directory `/home/matt/trunk/SDL/src'
make[1]: Warning: File `.deps/SDL_loadso.Plo' has modification time 3.1e+04 s in the future
Making install in main
make[2]: Entering directory `/home/matt/trunk/SDL/src/main'
make[2]: Warning: File `.deps/arch.Plo' has modification time 3.1e+04 s in the future
make[3]: Entering directory `/home/matt/trunk/SDL/src/main'
make[3]: Warning: File `.deps/arch.Plo' has modification time 3.1e+04 s in the future
test -z "/usr/local/pspdev/psp/lib" || mkdir -p -- "/usr/local/pspdev/psp/lib"
/usr/bin/install -c -m 644 'libSDLmain.a' '/usr/local/pspdev/psp/lib/libSDLmain.a'
psp-ranlib '/usr/local/pspdev/psp/lib/libSDLmain.a'
/bin/bash: line 4: psp-ranlib: command not found
make[3]: *** [install-libLIBRARIES] Error 127
make[3]: Leaving directory `/home/matt/trunk/SDL/src/main'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/matt/trunk/SDL/src/main'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/matt/trunk/SDL/src'
make: *** [install-recursive] Error 1
and here is my $PATH :D
Code: Select all
matt@kubuntu:~/trunk/SDL$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:/usr/local/pspdev/bin
Anyway, I bet this is a really simple fix, my best bet is it must be something to do with Ubuntu not having a root account or something.
Thanks for the help :)