 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
jason867
Joined: 24 Jul 2005 Posts: 78
|
Posted: Fri Oct 06, 2006 12:16 pm Post subject: Problems after updating cygwin/pspsdk |
|
|
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 |
|
 |
Insert_witty_name
Joined: 10 May 2006 Posts: 376
|
Posted: Fri Oct 06, 2006 7:57 pm Post subject: |
|
|
| More than likely your paths aren't set or are set incorrectly in your cygwin.bat file. |
|
| Back to top |
|
 |
jason867
Joined: 24 Jul 2005 Posts: 78
|
Posted: Sat Oct 07, 2006 11:09 pm Post subject: |
|
|
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 |
|
 |
jason867
Joined: 24 Jul 2005 Posts: 78
|
Posted: Sun Oct 08, 2006 12:03 am Post subject: |
|
|
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 |
|
 |
|
|
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
|