psptoolchain-20050712 username with spaces error

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
sourtimes
Posts: 4
Joined: Wed Jul 13, 2005 5:41 pm

psptoolchain-20050712 username with spaces error

Post by sourtimes »

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
sourtimes
Posts: 4
Joined: Wed Jul 13, 2005 5:41 pm

Post by sourtimes »

Is it possible to just set the

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


...

still searching...
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

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?
sourtimes
Posts: 4
Joined: Wed Jul 13, 2005 5:41 pm

Post by sourtimes »

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.
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

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?
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Fixed, updated in svn and on my website.

Enjoy!
sourtimes
Posts: 4
Joined: Wed Jul 13, 2005 5:41 pm

Post by sourtimes »

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!
Post Reply