I used git to get yocto/poky sources and meta-intel too, I built an umodifed qt-demo-image and the toolchain using bitbake meta-toolchain-qte. I get the following error. ~/build/poky/build/tmp/deploy/sdk$ sudo ./poky-eglibc-x86_64-i586-toolchain-qte-1.2+snapshot-20120820.sh [sudo] password for inforcecomputing: Enter target directory for Poky SDK (default: /opt/poky/1.2+snapshot): You are about to install Poky SDK to "/opt/poky/1.2+snapshot". Proceed[Y/n]? Extracting SDK...done Setting it up..../poky-eglibc-x86_64-i586-toolchain-qte-1.2+snapshot-20120820.sh: line 48: /opt/poky/1.2+snapshot/environment-setup-core2-poky-linux: Permission denied SDK could not be set up. Relocate script failed. Abort! inforcecomputing@inforcecomputing-PRIMERGY-TX100-S3:~/build/poky/build/tmp/deploy/sdk$ I changed permission for /opt/poky/1.2+snapshot/environment-setup-core2-poky-linux by chmod +x, while it is being unpacked in a new terminal. This is what I get: inforcecomputing@inforcecomputing-PRIMERGY-TX100-S3:~/build/poky/build/tmp/deploy/sdk$ sudo ./poky-eglibc-x86_64-i586-toolchain-qte-1.2+snapshot-20120820.sh Enter target directory for Poky SDK (default: /opt/poky/1.2+snapshot): You are about to install Poky SDK to "/opt/poky/1.2+snapshot". Proceed[Y/n]?Y Extracting SDK...done Setting it up..../poky-eglibc-x86_64-i586-toolchain-qte-1.2+snapshot-20120820.sh: line 48: /opt/poky/1.2+snapshot/environment-setup-core2-poky-linux: Permission denied SDK could not be set up. Relocate script failed. Abort! inforcecomputing@inforcecomputing-PRIMERGY-TX100-S3:~/build/poky/build/tmp/deploy/sdk$ sudo ./poky-eglibc-x86_64-i586-toolchain-qte-1.2+snapshot-20120820.sh Enter target directory for Poky SDK (default: /opt/poky/1.2+snapshot): You are about to install Poky SDK to "/opt/poky/1.2+snapshot". Proceed[Y/n]? Extracting SDK...done Setting it up...done rm: cannot remove `/opt/poky/1.2+snapshot/sysroots/core2-poky-linux/usr/share/qtopia/relocate_sdk.py': No such file or directory SDK has been successfully set up and is ready to be used. But even after this, my environmental variables are not set on ubuntu 10.10 terminal, I have to copy paste the script in the shell to set variables. After which, I still cannot run qmake, it gives permission error when trying to run, all ownership and permissions look correct root@inforcecomputing-PRIMERGY-TX100-S3:/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin# ls -lrt qma* -rwxr-xr-x 1 root root 4553424 2012-08-17 16:55 qmake2 lrwxrwxrwx 1 root root 6 2012-08-20 14:48 qmake -> qmake2 root@inforcecomputing-PRIMERGY-TX100-S3:/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin# qmake bash: /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/qmake: Permission denied root@inforcecomputing-PRIMERGY-TX100-S3:/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin#
this not met when using poky master newest(commit id:7c40daab587306da25c8d8f566392ee1f57bbef4) --------------- sudo ./poky-eglibc-x86_64-i586-toolchain-qte-1.2+snapshot-20120821.sh [sudo] password for liangli: sudo: ./poky-eglibc-x86_64-i586-toolchain-qte-1.2+snapshot-20120821.sh: command not found --------------- chmod +x poky-eglibc-x86_64-i586-toolchain-qte-1.2+snapshot-20120821.sh --------------- sudo ./poky-eglibc-x86_64-i586-toolchain-qte-1.2+snapshot-20120821.sh Enter target directory for Poky SDK (default: /opt/poky/1.2+snapshot): You are about to install Poky SDK to "/opt/poky/1.2+snapshot". Proceed[Y/n]?y Extracting SDK...done Setting it up...done SDK has been successfully set up and is ready to be used. --------------- qmake can run. --------------- the "poky-eglibc-x86_64-i586-toolchain-qte-1.2+snapshot-20120821.sh" is from "tmp/deploy/sdk" suddir of the build dir in which run "bitbake meta-toolchain-qte". build host: ubuntu 11.10 x86_64
Aditya, can you please verify with the latest master? Thanks
(In reply to comment #2) > Aditya, can you please verify with the latest master? Thanks Saul, I have been trying to build it but getting a few error's like: | ERROR: Function failed: do_configure (see /home/inforcecomputing/build/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/qt4-tools-nativesdk-4.8.1-r11.1/temp/log.do_configure.21167 for further information) will get back to you when the build is complete! Aditya
Aditya, Any update?
Hi Jessica, After the last git pull I was able to install the tool chain! Thank You, Aditya (In reply to comment #4) > Aditya, > > Any update?
update per last comment from Aditya
Verified with e5c3513ca8abb21eb5e9b8c19d1b9199b14ae07c