I have been in Ubuntu10.04 download and installation of arm-elf-tools-20030314.sh (or arm-elf-tools-20040427.sh) during the problem many times, there is no detailed solution on the Internet, it is listed in this hope to provide you with some convenience. correct installation method: in the directory where the file is located, type: $ su # ls-larm-elf-tools-20030314.sh this command to display various properties of the file if the script file is
I have been in Ubuntu 10.04 download and installation of arm-elf-tools-20030314.sh (or arm-elf-tools-20040427.sh) during the many problems, there is no detailed solution on the Internet, it is listed in this hope to provide you with some convenience.
Correct installation method:
In the directory where the file is located, type:
$ Su
# Ls-l arm-elf-tools-20030314.sh
This command displays the various properties of the file, if the script file property is not executable, you also need to enter the command: # chmod 755 arm-elf-tools-20030314.sh
To change its property to an executable property, and then type the command (you must use this command, otherwise there may be problems ):
# Sh./arm-elf-tools-20030314.sh
Question 1:
Tail: cannot open '+ 43' for reading: No such file or directory
Solution: Download a arm-elf-tools-20030314.sh again in Linux (Note: Do not in Win)
We recommend that you use VIM (Note: Do not use Win)
Run the following code:
Tail + $ {SKIP }$ {SCRIPT} | gunzip | tar xvf-
Changed:
Tail-n + $ {SKIP }$ {SCRIPT} | gunzip | tar xvf-
Question 2:
Gunzip: stdin: unexpected end of file
Work und: add an empty row to the last line of the arm-elf-tools-20030314.sh (note, do not modify it under Win, VIM is recommended ).