While installing arm-toolchain (or the other non-intel architecture toolchains) with their default settings (opt/poky) the following error occurs. Installing the x86_64-x86_64 toolchain succeeds in the same conditions. lserban@laurentiu-02:~/Downloads$ ./poky-eglibc-x86_64-arm-toolchain-gmae-1.2+snapshot-20120810.sh Enter target directory for Poky SDK (default: /opt/poky/1.2+snapshot): /opt/poky You are about to install Poky SDK to "/opt/poky". Proceed[Y/n]?y Extracting SDK...done Setting it up..../poky-eglibc-x86_64-arm-toolchain-gmae-1.2+snapshot-20120810.sh: line 48: /opt/poky/environment-setup-armv5te-poky-linux-gnueabi: Permission denied SDK could not be set up. Relocate script failed. Abort! lserban@laurentiu-02:~/Downloads$ Also there is no message requesting for the root password on root owned directory
http://autobuilder.yoctoproject.org/pub/nightly/20120810-2/toolchain/x86_64/
Laurentiu S, for installing under /opt/poky, you need to add sudo. It worked for me.
Yes it is true but this not necessary for all the toolchains.
Hello guys, I will clarify this: If I am trying to install several toolchains in the same directory /opt/poky/1.2+snapshot. The first installation works ok, but the subsequent ones fail as I showed in the description even if using sudo or previously changing the ownership of the opt directory recursively.
Works with nightly : - http://autobuilder.yoctoproject.org/pub/nightly/20120822-2/toolchain/x86_64/poky-eglibc-x86_64-arm-toolchain-gmae-1.2+snapshot-20120823.sh - http://autobuilder.yoctoproject.org/pub/nightly/20120822-2/toolchain/x86_64/poky-eglibc-x86_64-mips-toolchain-gmae-1.2+snapshot-20120823.sh http://autobuilder.yoctoproject.org/pub/nightly/20120822-2/toolchain/x86_64/poky-eglibc-x86_64-i586-toolchain-gmae-1.2+snapshot-20120823.sh
This doesn't reproduce using sudo. I will open a separate bug as a feature request to ask the sudo passwd.