On Wed, Aug 5, 2015 at 9:40 AM, Edward Vidal <devel...@sbcglobal.net> wrote:
> Hello All,
>
> Trying to use ADT to compile a package.  The package compiles and installs
> on the target core-image-sato for the Raspberry Pi 2 B.  Also trying to
> create a recipe. see
> recipe_gtkwave/gtkwave/gtkwave_3.6.66.bb at
> https://github.com/develone/raspberrypi2_yocto.git
> The recipe downloads the source code, unpacks and runs do_configure, but
> fails at
>  ERROR: Function failed: do_qa_configure.
>
> 1.) "cd wkg/yocto/RaspberryPi2/poky/"
>
> 2.) ". oe-init-build-env"
>
> 3.) "bitbale core-image-sato -c populate_sdk"
>
> 4.) "sudo
> tmp/deploy/sdk/poky-glibc-x86_64-core-image-sato-cortexa7hf-vfp-vfpv4-neon-toolchain-1.8+snapshot.sh"
>
> 5.) "cd ~/"
>
> 6.) "tar xfz wkg/yocto/downloads/gtkwave-3.3.66.tar.gz"
>
> 7.) "cd gtkwave-3.3.66/"
>
> 8.) "source
> /opt/poky/1.8+snapshot/environment-setup-cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi"
>
> 9.a) "./configure ${CONFIGURE_FLAGS}"
> checking for Tcl configuration... configure: error: Can't find Tcl
> configuration definitions. Use --with-tcl to specify a directory containing
> tclConfig.sh
>
> Should the ADT be able to find theses since they are located at
> ls
> /opt/poky/1.8+snapshot/sysroots/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/usr/lib/tclConfig.sh
> ls
> /opt/poky/1.8+snapshot/sysroots/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/usr/lib/tkConfig.sh
> without have to set the path

you need to find out how TCL is used here. If its used during build or
is it required during runtime as well.
its not different when you do native compile but OE is all about cross
compiling where it will matter.
If its only needed during build then you will depend on tcl-native in
recipe. If its also needed during runtime you will add tcl
to DEPENDS as well. You will also need to add nativesdk-tcl and any
other dependencies when creating SDK


>
> 9.b) "./configure ${CONFIGURE_FLAGS}
> --with-tcl=/home/vidal/wkg/yocto/RaspberryPi2/poky/build/tmp/sysroots/raspberrypi2/usr/lib
> --with-tk=/home/vidal/wkg/yocto/RaspberryPi2/poky/build/tmp/sysroots/raspberrypi2/usr/lib"
>
> This goes further with the following warning
>
> config.status: executing depfiles commands
> configure: WARNING: unrecognized options: --with-libtool-sysroot
>
> Thanks in advance.
>
> Edward Vidal Jr.
> e-mail devel...@sbcglobal.net
> 915-595-1613
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to