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 

psptoolchain-20050712 username with spaces error

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



Joined: 13 Jul 2005
Posts: 4

PostPosted: Wed Jul 13, 2005 5:46 pm    Post subject: psptoolchain-20050712 username with spaces error Reply with quote

I apologize in advance if this is already in the forums, i did spend some time looking through the forums and could not find anything.


I am running into issues with installing psptoolchain with a space in my username. Unfortunately I do not have enough bash experience to fix this myself... I will take a look around google in a bit to figure it out, but I figured somebody would have a quick fix for this. I have narrowed it down to

SRCDIR="`pwd`"

needing to replace the space with a "\ "


Username = "Neil White"
the error I am receiveing is

-----------------------------------------
START ERROR
-----------------------------------------
00:27:50 (96.91 KB/s) - `newlib-1.13.0.tar.gz' saved [7786190]

tar (child): /home/Neil: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: White/psphome/psptoolchain/binutils-2.16.tar.gz: Not found in archive
tar: Error exit delayed from previous errors
./toolchain.sh: line 138: cd: binutils-2.16: No such file or directory
cat: /home/Neil: No such file or directory
cat: White/psphome/psptoolchain/binutils-2.16.patch: No such file or directory
tar (child): /home/Neil: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: White/psphome/psptoolchain/gcc-4.0.0.tar.bz2: Not found in archive
tar: Error exit delayed from previous errors
./toolchain.sh: line 145: cd: gcc-4.0.0: No such file or directory
cat: /home/Neil: No such file or directory
cat: White/psphome/psptoolchain/gcc-4.0.0.patch: No such file or directory
tar (child): /home/Neil: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: White/psphome/psptoolchain/newlib-1.13.0.tar.gz: Not found in archive
tar: Error exit delayed from previous errors
./toolchain.sh: line 152: cd: newlib-1.13.0: No such file or directory
cat: /home/Neil: No such file or directory
cat: White/psphome/psptoolchain/newlib-1.13.0.patch: No such file or directory
./toolchain.sh: line 164: cd: binutils-2.16: No such file or directory
./toolchain.sh: line 170: ../configure: No such file or directory
ERROR CONFIGURING BINUTILS
-----------------------------------------
END ERROR
-----------------------------------------

Thank You,
Neil
Back to top
View user's profile Send private message
sourtimes



Joined: 13 Jul 2005
Posts: 4

PostPosted: Wed Jul 13, 2005 6:03 pm    Post subject: Reply with quote

Is it possible to just set the

SRCDIR="~"
instead of pwd ? or is this a cygwin only feature?


...

still searching...
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Wed Jul 13, 2005 6:11 pm    Post subject: Reply with quote

Obviously it needs to be fixed in toolchain.sh by ooPo or someone else. In the meantime, in-between time, why don't you just run it from a directory that contains no spaces in the name?
Back to top
View user's profile Send private message
sourtimes



Joined: 13 Jul 2005
Posts: 4

PostPosted: Wed Jul 13, 2005 6:16 pm    Post subject: Reply with quote

mrbrown wrote:
Obviously it needs to be fixed in toolchain.sh by ooPo or someone else. In the meantime, in-between time, why don't you just run it from a directory that contains no spaces in the name?



yeah, i just realized i started in that directory, realizing `pwd` means current directory, I have minimal experience in the *nix world. so I am still learning. I changed it to the root / dir and all is working now.

Sorry for the posts.
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Thu Jul 14, 2005 12:32 am    Post subject: Reply with quote

sourtimes wrote:
Is it possible to just set the

SRCDIR="~"
instead of pwd ? or is this a cygwin only feature?



It would be possible, but what if you're not running the script in your home directory?
Back to top
View user's profile Send private message Visit poster's website
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Thu Jul 14, 2005 12:45 am    Post subject: Reply with quote

Fixed, updated in svn and on my website.

Enjoy!
Back to top
View user's profile Send private message Visit poster's website
sourtimes



Joined: 13 Jul 2005
Posts: 4

PostPosted: Thu Jul 14, 2005 5:50 am    Post subject: Reply with quote

ooPo wrote:
sourtimes wrote:
Is it possible to just set the

SRCDIR="~"
instead of pwd ? or is this a cygwin only feature?



It would be possible, but what if you're not running the script in your home directory?



yeah I realized my mistake after posting that.

Thanks for the quick update!
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