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 

Problems after updating cygwin/pspsdk

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



Joined: 24 Jul 2005
Posts: 78

PostPosted: Fri Oct 06, 2006 12:16 pm    Post subject: Problems after updating cygwin/pspsdk Reply with quote

Hello everyone, long time no see!

I just updated my cygwin installation, and I updated the pspsdk part of the most recent toolchain (20060120 I believe)

But now the bash shell puts out this error when I try to compile

Quote:

: command not found

Owner@Pavilion1200 ~
$ cd ../../usr/local/pspdev/psp/sdk/My_Homebrew/TestProgram

Owner@Pavilion1200 /usr/local/pspdev/psp/sdk/My_Homebrew/TestProgram
$ make
/psp/sdk/lib/build.mak: No such file or directory
/psp/sdk/lib/build.mak'. Stop.t `/usr/local/pspdev


Owner@Pavilion1200 /usr/local/pspdev/psp/sdk/My_Homebrew/TestProgram
$


I've looked for this file in the cygwin directory listed, and it is there. Any clue what's going on?
_________________
Ask not for whom the bell tolls, it tolls for thee, besides, I'm playing my PSP, tee hee!
------------------------------------------------------
Visit my website for my PSP Homebrew!
Back to top
View user's profile Send private message Visit poster's website
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Fri Oct 06, 2006 7:57 pm    Post subject: Reply with quote

More than likely your paths aren't set or are set incorrectly in your cygwin.bat file.
Back to top
View user's profile Send private message
jason867



Joined: 24 Jul 2005
Posts: 78

PostPosted: Sat Oct 07, 2006 11:09 pm    Post subject: Reply with quote

would the updateing even touch that file?

Here's the contents of that file
Quote:
@echo off

C:
chdir C:\cygwin\bin

bash --login -i


And I have a laptop that I installed cygwin/pspsdk into (which means it's the same up to date version as my pc) and it's cygwin.bat file shows the exact same thing as above, and it compiles and works fine...
_________________
Ask not for whom the bell tolls, it tolls for thee, besides, I'm playing my PSP, tee hee!
------------------------------------------------------
Visit my website for my PSP Homebrew!
Back to top
View user's profile Send private message Visit poster's website
jason867



Joined: 24 Jul 2005
Posts: 78

PostPosted: Sun Oct 08, 2006 12:03 am    Post subject: Reply with quote

Well, somehow I fixed it.

I looked into my .bashrc file, and under the pspdev export paths section, there was 3 different export path lines. I had copied them there from an earlier installation of pspsdk. However, this website, http://wiki.ps2dev.org/psp:programming_faq
only listed one export path line (it was updated I am assuming). So I tried deleting all my old lines and copying the new line from the website. That made everything work, however, whenever I started up the bash shell, it would spit out several ": command not found" lines before showing the prompt. But after that it would work fine...

That just bugged me, so I tried one thing that I thought might work, before completely reinstalling my cygwin installation. I deleted my home/(username) directory. Just the username directory, not home itself.

I started up the bash shell again and it went through it's initial setup process, creating the directory and it's files I had just deleted. I re-copied the export path line from the website into my new .bashrc file, saved. And started up bash shell once again.

There were no more ": command not found" lines
and it compiled fine, and seems to work just fine now.

So anyways make of that what you will, and thanks anyway "insert_witty_name" for your help.
_________________
Ask not for whom the bell tolls, it tolls for thee, besides, I'm playing my PSP, tee hee!
------------------------------------------------------
Visit my website for my PSP Homebrew!
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 -> 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