| View previous topic :: View next topic |
| Author |
Message |
_.-noel-._
Joined: 13 Aug 2007 Posts: 49
|
Posted: Fri Oct 19, 2007 2:32 am Post subject: [SOLVED] Some problems with Ubuntu 7.04 |
|
|
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? _________________ Sry for my english
Last edited by _.-noel-._ on Fri Oct 19, 2007 7:50 am; edited 2 times in total |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Fri Oct 19, 2007 4:22 am Post subject: |
|
|
| Find the thread on installing in OSX, and use that list... or find one of the dozens of threads stating the dependencies. SHEESH! Noobies... |
|
| Back to top |
|
 |
_.-noel-._
Joined: 13 Aug 2007 Posts: 49
|
Posted: Fri Oct 19, 2007 4:25 am Post subject: |
|
|
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? _________________ Sry for my english |
|
| Back to top |
|
 |
CpuWhiz
Joined: 04 Jun 2007 Posts: 42
|
Posted: Fri Oct 19, 2007 7:30 am Post subject: |
|
|
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:
| Code: | cp -R /usr/local/pspdev/psp/sdk/samples/gu/blit ~/blit
cd ~/blit
make |
(2) You can change the permissions on the samples folder:
| Code: | chown -R user:group /usr/local/pspdev/psp/sdk/samples
--or--
chmod -R g+w,o+w /usr/local/pspdev/psp/sdk/samples |
(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. |
|
| Back to top |
|
 |
_.-noel-._
Joined: 13 Aug 2007 Posts: 49
|
Posted: Fri Oct 19, 2007 7:49 am Post subject: |
|
|
wow...
where did you know, that i will compill a sample?
i have used #1...
i compiled the sample, to check the toolchain work...
and it work ^^
befor i had used devkid for windows...
now i will complet my project on linux...
thx for help
SOLVED _________________ Sry for my english |
|
| Back to top |
|
 |
|