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 

"psp-gcc: Command not found" psplink

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



Joined: 09 Oct 2008
Posts: 18

PostPosted: Tue Jul 28, 2009 5:03 am    Post subject: "psp-gcc: Command not found" psplink Reply with quote

Hi all,
I'm trying to install psplink and I have some errors:
[code]
xxx@yyy-u:~/prj/psp/psplink$ sudo make release
[sudo] password for xxx:
make -C libpsplink all
make[1]: psp-config: Command not found
make[1]: Entering directory `/home/actarus/prj/psp/psplink/libpsplink'
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/include -DF_psplink_0000 psplink.S -c -o psplink_0000.o
make[1]: psp-gcc: Command not found
make[1]: *** [psplink_0000.o] Error 127
make[1]: Leaving directory `/home/actarus/prj/psp/psplink/libpsplink'
make: *** [all] Error 2
xxx@yyy-u:~/prj/psp/psplink$
[/code]

psp-config and psp-gcc are not found but they're in the path..
[code]
xxx@yyy-u:~/prj/psp/psplink$ psp-config
Usage: psp-config [opts]
Options:
-p, --pspsdk-path : Print the base directory of PSPSDK
-d, --pspdev-path : Print the base install directory
-P, --psp-prefix : Print the prefix of PSP-hosted software
xxx@yyy-u:~/prj/psp/psplink$


xxx@yyy-u:~/prj/psp/psplink$ psp-gcc
psp-gcc: no input files

[/code]

What's happening ?
I have already install:
[code]
sudo aptitude install build-essential autoconf automake bison flex libncurses5-dev libreadline-dev libusb-dev texinfo subversion libgmp3-dev libmpfr-dev libsdl1.2-dev
[/code]

I'm using ubuntu 9.04.

Thanks!
Back to top
View user's profile Send private message
svxs



Joined: 19 Jun 2009
Posts: 15

PostPosted: Tue Jul 28, 2009 5:33 am    Post subject: Reply with quote

User xxx's PATH variable may be set up, but root's isn't.

When you use sudo, PATH is not inherited.
Back to top
View user's profile Send private message
bubugian



Joined: 09 Oct 2008
Posts: 18

PostPosted: Tue Jul 28, 2009 5:51 am    Post subject: Reply with quote

'echo $PATH' give same output of 'sudo echo $PATH' so, I was believing that paths are same.

In effect, trying with 'sudo su' and updating PATH, all it's OK.
Many thanks!
Back to top
View user's profile Send private message
Mon Ouïe



Joined: 05 Jul 2009
Posts: 36

PostPosted: Thu Jul 30, 2009 6:33 pm    Post subject: Reply with quote

It has the same output simply because $PATH is parsed by your shell, and it won't use the root variable if you're not already root.
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