[yocto] Yocto and Google Protocol Buffers

Burton, Ross ross.burton at intel.com
Wed Jul 25 03:08:20 PDT 2012


On 25 July 2012 11:04, Giovanni Foiani <fnognn at unife.it> wrote:
> Can I do this overriding do_configure task? Like this:
>
> do_configure() {
>     ./configure --with-protoc=/path/to/sysroot/i686-linux/usr/bin/protoc
> }
>
> I tried this way but I got a "permission denied" error..
>
> /bin/bash: line 8: ../-libtool: Permission denied
> | make[3]: *** [install-libLTLIBRARIES] Error 126

By explicitly calling configure you've thrown away all the special
options that are required to cross-compile.  Delete  your
do_configure() block and just set EXTRA_OECONF = "
--with-protoc=protoc" (as the sysroot is in your PATH, and you can't
predict where sysroot is).

Ross



More information about the yocto mailing list