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 

Toolchain install issue

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



Joined: 25 Jun 2005
Posts: 66

PostPosted: Sun Jan 15, 2006 2:48 am    Post subject: Toolchain install issue Reply with quote

Hey everyone.
I'm having an issue installing the latest version of the toolchain. It appears to download the .tar.gz files fine, but when it gets to the unzipping and patching, this is what I get:



I've tried several times, and I'm not sure I know what's going on.
The /usr/local/psptoolchain/binutils-2.16.1.tar.gz file does exist, so I'm not sure why it says it can't find it

Has anyone else run into this error?

-PMF
_________________
"I'm a little source code, short and stout
Here is my input, here is my out."

Author of PSPQuake and PSPSOne.
Back to top
View user's profile Send private message Send e-mail
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Sun Jan 15, 2006 3:11 am    Post subject: Reply with quote

"latest" = what version? Paste the output of "ls -al /usr/local/psptoolchain" and "md5sum /usr/local/psptoolchain/binutils-2.16.1.tar.gz" (as text). You could also run
Code:
cd /usr/local/psptoolchain
sh -v toolchain.sh 2>&1 | tee log.txt
and upload log.txt somewhere.
Back to top
View user's profile Send private message
PacManFan



Joined: 25 Jun 2005
Posts: 66

PostPosted: Sun Jan 15, 2006 3:22 am    Post subject: toolchain version Reply with quote

It's the psptoolchain-20060110.tgz
However, this happened for me with the previous version of the toolchain as well, I can run and install the psptoolchain from last June just fine, that's the one I've been using for a while.

-PMF
_________________
"I'm a little source code, short and stout
Here is my input, here is my out."

Author of PSPQuake and PSPSOne.
Back to top
View user's profile Send private message Send e-mail
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Sun Jan 15, 2006 4:13 am    Post subject: Reply with quote

If you had actually provided the info I requested, I might have been able to help you, but you're not giving us much to go on here.
Back to top
View user's profile Send private message
PacManFan



Joined: 25 Jun 2005
Posts: 66

PostPosted: Sun Jan 15, 2006 5:03 am    Post subject: results of ls Reply with quote

$ ls -al /usr/local/psptoolchain
total 55141
drwx------+ 4 Administrator None 0 Jan 14 12:01 .
drwx------+ 11 Administrator None 0 Jan 14 12:37 ..
drwx------+ 7 Administrator None 0 Jan 10 10:17 .svn
-rwx------+ 1 Administrator None 2734 Dec 30 12:54 README.TXT
-rwx------+ 1 Administrator None 121914 Dec 30 12:49 binutils-2.16.1.patch
-rwx------+ 1 Administrator None 16378360 Jan 14 12:00 binutils-2.16.1.tar.gz
drwx------+ 4 Administrator None 0 Dec 30 12:49 devel
-rwx------+ 1 Administrator None 36830 Dec 30 12:49 gcc-4.0.2.patch
-rwx------+ 1 Administrator None 31793160 Jan 14 12:01 gcc-4.0.2.tar.bz2
-rwx------+ 1 Administrator None 69612 Dec 30 12:49 gdb-6.3.patch
-rwx------+ 1 Administrator None 251683 Jan 10 10:17 newlib-1.13.0.patch
-rwx------+ 1 Administrator None 7786190 Jan 14 12:02 newlib-1.13.0.tar.gz
-rwx------+ 1 Administrator None 103 Dec 30 12:55 svn-commit.tmp
-rwx------+ 1 Administrator None 11195 Dec 30 12:49 toolchain.sh

Administrator@PCTEL-TEST2 /usr/local
$
_________________
"I'm a little source code, short and stout
Here is my input, here is my out."

Author of PSPQuake and PSPSOne.
Back to top
View user's profile Send private message Send e-mail
PacManFan



Joined: 25 Jun 2005
Posts: 66

PostPosted: Sun Jan 15, 2006 5:07 am    Post subject: log.txt Reply with quote

http://home.comcast.net/~shernandez1337/log.txt
_________________
"I'm a little source code, short and stout
Here is my input, here is my out."

Author of PSPQuake and PSPSOne.
Back to top
View user's profile Send private message Send e-mail
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Sun Jan 15, 2006 5:51 am    Post subject: Reply with quote

First I'd recommend using bash; it looks like you're running ash or something based on the error messages. Second, you're not running the cygwin gzip, you either have some win32 version of gzip earlier in your path, or you didn't install the cygwin gzip package.
Back to top
View user's profile Send private message
PacManFan



Joined: 25 Jun 2005
Posts: 66

PostPosted: Sun Jan 15, 2006 6:00 am    Post subject: Reply with quote

I am using the bash shell, not ash, and I don't have gzip anywhere else on my system. I can use gzip just fine, that's how decompressed the tool chain from the command line in the first place.
_________________
"I'm a little source code, short and stout
Here is my input, here is my out."

Author of PSPQuake and PSPSOne.
Back to top
View user's profile Send private message Send e-mail
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Sun Jan 15, 2006 6:24 am    Post subject: Reply with quote

You are not using bash. "cd nonexistent" in bash gives
Code:
-bash: cd: nonexistent: No such file or directory

while "cd nonexistent" in ash gives
Code:
cd: can't cd to nonexistent

like your output shows. You may be running bash in your shell, but /bin/sh must be different. This is probably not the source of your immediate problem but may cause issues elsewhere.

And for gzip, paste the output of "which gzip" and "gzip --version"; you're certainly not using the right one, because once again the error message it's displaying is not what the proper cygwin gzip displays. The one you have will work fine for decompressing files in the current directory or a relative path but will not handle the cygwin absolute paths.
Back to top
View user's profile Send private message
PacManFan



Joined: 25 Jun 2005
Posts: 66

PostPosted: Sun Jan 15, 2006 12:35 pm    Post subject: Reply with quote


_________________
"I'm a little source code, short and stout
Here is my input, here is my out."

Author of PSPQuake and PSPSOne.
Back to top
View user's profile Send private message Send e-mail
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Sun Jan 15, 2006 12:51 pm    Post subject: Reply with quote

For the last time:
  • regardless of what shell you see at your prompt, your /bin/sh is a copy of /bin/ash, and you should copy /bin/bash there instead to avoid future problems.
  • your gzip is not the right one, it is some other native Win32 version. The cygwin one is currently version 1.3.5 and does not contain "Win32" in the version string.
The toolchain is fine; fix these problems and it will work.
Back to top
View user's profile Send private message
PacManFan



Joined: 25 Jun 2005
Posts: 66

PostPosted: Sun Jan 15, 2006 12:56 pm    Post subject: Reply with quote

Thanks, I'll try it.
_________________
"I'm a little source code, short and stout
Here is my input, here is my out."

Author of PSPQuake and PSPSOne.
Back to top
View user's profile Send private message Send e-mail
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