I have changed my OS from Windows to Linux...
Now i will install the Toolchain, but i don't know, what i must Install...
gcc
auto make
....
i don't know the list...
is the list for Ubuntu the same as for Cygwin?
[SOLVED] Some problems with Ubuntu 7.04
-
- Posts: 49
- Joined: Mon Aug 13, 2007 12:57 am
[SOLVED] Some problems with Ubuntu 7.04
Last edited by _.-noel-._ on Fri Oct 19, 2007 7:50 am, edited 2 times in total.
Sry for my english
-
- Posts: 49
- Joined: Mon Aug 13, 2007 12:57 am
Okay, now i have installed toolchain...
when i compill now, with
Code:
make
there give me a error:
Code:
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150 -c -o main.o main.c
Assembler messages:
FATAL: can't create main.o: Permission denied
make: *** [main.o] Error 1
and when i write "sudo" at first, it give me this error:
Code:
make: psp-config: Command not found
Makefile:12: /lib/build.mak: No such file or directory
make: *** No rule to make »/lib/build.mak«.
??
Someone can help me?
when i compill now, with
Code:
make
there give me a error:
Code:
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150 -c -o main.o main.c
Assembler messages:
FATAL: can't create main.o: Permission denied
make: *** [main.o] Error 1
and when i write "sudo" at first, it give me this error:
Code:
make: psp-config: Command not found
Makefile:12: /lib/build.mak: No such file or directory
make: *** No rule to make »/lib/build.mak«.
??
Someone can help me?
Sry for my english
I am going to assume you want to compile one of the samples that was installed with the toolchain. These were installed with root permissions so only root can add files to the directories. There is three ways to fix this. (1) You can copy the sample out of the folder and compile the copy:
(2) You can change the permissions on the samples folder:
(3) You can add the enviroment variables to /etc/profile so all users (including root) can find the psp toolchain. Then run sudo make again.
I prefer method #1, but it's up to you.
Code: Select all
cp -R /usr/local/pspdev/psp/sdk/samples/gu/blit ~/blit
cd ~/blit
make
Code: Select all
chown -R user:group /usr/local/pspdev/psp/sdk/samples
--or--
chmod -R g+w,o+w /usr/local/pspdev/psp/sdk/samples
I prefer method #1, but it's up to you.
-
- Posts: 49
- Joined: Mon Aug 13, 2007 12:57 am