| View previous topic :: View next topic |
| Author |
Message |
sourtimes
Joined: 13 Jul 2005 Posts: 4
|
Posted: Wed Jul 13, 2005 5:46 pm Post subject: psptoolchain-20050712 username with spaces error |
|
|
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 |
|
 |
sourtimes
Joined: 13 Jul 2005 Posts: 4
|
Posted: Wed Jul 13, 2005 6:03 pm Post subject: |
|
|
Is it possible to just set the
SRCDIR="~"
instead of pwd ? or is this a cygwin only feature?
...
still searching... |
|
| Back to top |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Wed Jul 13, 2005 6:11 pm Post subject: |
|
|
| 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 |
|
 |
sourtimes
Joined: 13 Jul 2005 Posts: 4
|
Posted: Wed Jul 13, 2005 6:16 pm Post subject: |
|
|
| 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 |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Thu Jul 14, 2005 12:32 am Post subject: |
|
|
| 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 |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Thu Jul 14, 2005 12:45 am Post subject: |
|
|
Fixed, updated in svn and on my website.
Enjoy! |
|
| Back to top |
|
 |
sourtimes
Joined: 13 Jul 2005 Posts: 4
|
Posted: Thu Jul 14, 2005 5:50 am Post subject: |
|
|
| 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 |
|
 |
|