forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[SOLVED] Some problems with Ubuntu 7.04

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
_.-noel-._



Joined: 13 Aug 2007
Posts: 49

PostPosted: Fri Oct 19, 2007 2:32 am    Post subject: [SOLVED] Some problems with Ubuntu 7.04 Reply with quote

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
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Fri Oct 19, 2007 4:22 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
_.-noel-._



Joined: 13 Aug 2007
Posts: 49

PostPosted: Fri Oct 19, 2007 4:25 am    Post subject: Reply with quote

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
View user's profile Send private message
CpuWhiz



Joined: 04 Jun 2007
Posts: 42

PostPosted: Fri Oct 19, 2007 7:30 am    Post subject: Reply with quote

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
View user's profile Send private message
_.-noel-._



Joined: 13 Aug 2007
Posts: 49

PostPosted: Fri Oct 19, 2007 7:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group