[SOLVED] Some problems with Ubuntu 7.04

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
_.-noel-._
Posts: 49
Joined: Mon Aug 13, 2007 12:57 am

[SOLVED] Some problems with Ubuntu 7.04

Post by _.-noel-._ »

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?
Last edited by _.-noel-._ on Fri Oct 19, 2007 7:50 am, edited 2 times in total.
Sry for my english
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

Find the thread on installing in OSX, and use that list... or find one of the dozens of threads stating the dependencies. SHEESH! Noobies...
_.-noel-._
Posts: 49
Joined: Mon Aug 13, 2007 12:57 am

Post by _.-noel-._ »

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
CpuWhiz
Posts: 42
Joined: Mon Jun 04, 2007 1:30 am

Post by CpuWhiz »

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: Select all

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: 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
(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.
_.-noel-._
Posts: 49
Joined: Mon Aug 13, 2007 12:57 am

Post by _.-noel-._ »

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
Post Reply