All of lore.kernel.org
 help / color / mirror / Atom feed
* Compile with ADT and recipe fails builds on target.
@ 2015-08-05 16:40 Edward Vidal
  2015-08-05 18:31 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Edward Vidal @ 2015-08-05 16:40 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1814 bytes --]

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

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 develone@sbcglobal.net
915-595-1613

[-- Attachment #2: Type: text/html, Size: 2550 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Compile with ADT and recipe fails builds on target.
  2015-08-05 16:40 Compile with ADT and recipe fails builds on target Edward Vidal
@ 2015-08-05 18:31 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2015-08-05 18:31 UTC (permalink / raw)
  To: Edward Vidal; +Cc: yocto

On Wed, Aug 5, 2015 at 9:40 AM, Edward Vidal <develone@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 develone@sbcglobal.net
> 915-595-1613
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-05 18:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-05 16:40 Compile with ADT and recipe fails builds on target Edward Vidal
2015-08-05 18:31 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.