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 

Tutorial: How to setup a ps2dev env in cygwin
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
dlanor



Joined: 28 Oct 2004
Posts: 269
Location: Stockholm, Sweden

PostPosted: Mon Aug 07, 2006 6:47 am    Post subject: Reply with quote

frcol wrote:
Do you know why am I having problem with the mkdir -p $PS2SDK?

$ mkdir -p $PS2SDK
mkdir: missing operand
Try `mkdir --help' for more information.
Let's first clarify what that command means:

You ask the command interpreter to expand the environment variable $PS2SDK into a whatever string it has been defined to contain, and then to create a new folder with that string as the new folder name.

Apparently the environment variable is still undefined, so the command interpreter complains about not having been given a name to use with "mkdir".

You need to double-check your environment variable definitions, and make sure that they are made correctly, and in a file that actually gets used.

For use with 'bash' I put all my definitions in "Cygwin/etc/bash.bashrc", and that works fine with all PS2SDK usage. Naturally this also assumes that you use "Cygwin/bin/bash.exe" as your command interpreter for all such usage, otherwise all bets are off...

Best regards: dlanor
Back to top
View user's profile Send private message
underrisk



Joined: 14 Sep 2006
Posts: 7

PostPosted: Thu Oct 05, 2006 7:33 am    Post subject: Reply with quote

Hello all

i know its too late for me to ask about this subject, but really iam knew for this topic

iam trying to set my toolchain for cygwin but when i arrive to point :
chmod a+x ./toolchain.sh
i wrote this ( chmod a+x /home/administrator/ps2toolchain/toolchain.sh )
nothing happen and just passed by then i wrote
(/home/administrator/ps2toolchain/toolchain.sh)
then i get that comment :
(/home/administrator/ps2toolchain/toolchain.sh: line 68: gmake: command not found

mkdir: missing operand
Try `mkdir --help' for more information.
ERROR: Please make sure you're root.)

so please if any one can help to give e some hint about where my falt
thanks for all

PS: Thanks alot I was able to solve the problem .... i just run old cygwin setup and everything went fine
Back to top
View user's profile Send private message
Lukasz



Joined: 19 Jan 2004
Posts: 248
Location: Denmark

PostPosted: Mon Jul 09, 2007 8:05 pm    Post subject: Reply with quote

As an alternative, check out my MinGW tutorial: http://lukasz.dk/programming/playstation-2/mingw-tutorial/
_________________
Lukasz.dk
Back to top
View user's profile Send private message Visit poster's website
cosmito



Joined: 04 Mar 2007
Posts: 314
Location: Portugal

PostPosted: Mon Jul 09, 2007 9:07 pm    Post subject: Reply with quote

@Lukasz,

On your cygwin tutorial :
Quote:
For compiling the PS2 toolchain, you need the following packages besides from the preselected packages.

gcc
make
wget
svn

I think it's needed some more packages ... at least binutils and patch are a must, as far I recall.
Back to top
View user's profile Send private message Visit poster's website
Lukasz



Joined: 19 Jan 2004
Posts: 248
Location: Denmark

PostPosted: Mon Jul 09, 2007 11:30 pm    Post subject: Reply with quote

ptek wrote:
@Lukasz,

On your cygwin tutorial :
Quote:
For compiling the PS2 toolchain, you need the following packages besides from the preselected packages.

gcc
make
wget
svn

I think it's needed some more packages ... at least binutils and patch are a must, as far I recall.


I tried to build the toolchains in Cygwin yesterday, you need patch, perl and diff-utils. You get binutils when you select gcc. The build still fails with the error reported in this thread.
_________________
Lukasz.dk
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 
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