Bug 2271 - Reconfigure fail with Yocto ADT Project used to be built by old toolchainSDK
Summary: Reconfigure fail with Yocto ADT Project used to be built by old toolchainSDK
Status: RESOLVED NOTABUG
Alias: None
Product: ADT
Classification: Yocto Project Subprojects
Component: adt (show other bugs)
Version: 1.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.2 M4
Assignee: Lianhao Lu
QA Contact:
URL:
Whiteboard: (1.2)
Depends on:
Blocks:
 
Reported: 2012-04-10 06:35 UTC by Hongna Xu
Modified: 2012-04-10 14:17 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
the project based on Hello World ANSI C Autotools Project Template (997.59 KB, application/gzip)
2012-04-10 06:35 UTC, Hongna Xu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hongna Xu 2012-04-10 06:35:28 UTC
Created attachment 453 [details]
the project based on Hello World ANSI C Autotools Project Template

I reconfigure the projects based on Yocot ADT Templates, they are created on last test circle 1.2M4 rc1 and cross build using meta-toolchain, ADT-insatller's toolchain and the toolchainSDK from yocto build tree, i got configure problem show: cannot find install-sh,install.sh,or shtool in "." "./.." "./../.."

To install the new version og plugin, i uninstall the old one the install the new version.

Tree/Branch: Poky/1.2_M4 rc1
Commit id: 4d9f4d6ac25f39fe6d5491d05c7a26195bab648b
Plug-in location: http://autobuilder.pokylinux.org/pub/nightly/20120328-1/eclipse-plugin/indigo/org.yocto.sdk-rc1-201203281325-archive.zip 

Tree/Branch:1.2_M4 rc2
Commit id: 27aa5489fb40d99c58bb2a4bbf2311e2c502a091
Plug-in location:http://autobuilder.pokylinux.org/pub/nightly/20120405-1/eclipse-plugin/indigo/org.yocto.sdk-rc1-201203281325-archive.zip
Comment 2 Jessica 2012-04-10 07:25:10 UTC
Lianhao,

Can you take a look of Hongna's issue, I'm not quite following her bug report.  If it's a real issue, feel free to reassign to me with more info on how to reproduce. thx
Comment 3 Hongna Xu 2012-04-10 10:28:23 UTC
It caused by Toolchian Root Location change.In 1.2M4 rc2 change to /opt/poky/1.2 from /opt/poky/1.1+snapshot. In Yocto ADT Project template source the file install-sh is a linked file, which links to /opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.11/install-sh, cause the folder /opt/poky/1.1+snapshot is gone, so report the error.

with lianhao's help, make a workaround for it:
1.Let the project selected, Project->Change Yocto Project Setting,set the new toolchain root location and sysroot location.
2.Eclipse menu,Project->Invoke Autotools->Invoke automake, input --add-missing as option.
3.Eclipse menu,Project->Invoke Autotools->Invoke autoreconf, input -f as option.
4.Eclipse menu,Project->Invoke Autotools->Invoke Libtoolize, input --automake as option.
5.Then Reconfigure Project, in eclipse's menu Project.
6.At last, cross build the project, it will pass without error.