All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
To: "Sven Schönfeld" <sven.schoenfeld@automationselektronik.de>
Cc: yocto@yoctoproject.org
Subject: Re: directory doesn't contain library
Date: Mon, 13 Mar 2017 10:01:11 -0600	[thread overview]
Message-ID: <1489420871.3261.66.camel@linux.intel.com> (raw)
In-Reply-To: <ecc88f5f-e58d-4ac8-8cd6-1e3ce98b061d@automationselektronik.de>

On Mon, 2017-03-13 at 10:32 +0100, Sven Schönfeld wrote:
> Dear Yocto-Community
> 
>  
> 
> I’m trying to create an image containing gnash_0.8.7.bb with yocto
> morty (2.2.1) and bitbake 1.32.0. I added the folders to my
> bblayers.conf and included the recipe for gnash in my local.conf file.
> 
>  
> 
> In my bblayers.conf :
> 
>  
> 
> …
> 
> BBLAYERS = „ \
> 
>                 …
> 
>                 \
> 
>                 ${BSPDIR}/sources/meta-qt5 \
> 
>                 ${BSPDIR}/sources/meta-SFA \
> 
>                 „
> 
>  
> 
> In my local.conf:
> 
>  
> 
> …
> 
> IMAGE_INSTALL_append = „ cairo gnash“
> 
>  
> 
> LICENSE_FLAGS_WHITELIST = „commercial_ffmpeg commercial_libav
> commercial_x264“
> 
>  
> 
> Now when I try to bitbake my image, I receive the following error:
> 
>  
> 
> | checking for libatk library… -latk-1.0
> 
> | checking for cairo.h header in specified directory… yes
> 
> | checking for libcairo library in specified directory… configure:
> error: /home/name/yocto/build/tmp/sysroots/sfa2/usr/lib directory
> doesn’t contain library cairo.
> 
> | ERROR: Function failed: do_configure (log file is located
> at /home/name/yocto/build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/gnash/0.8.7-r0/temp/log.do_configure.2556)
> 
>  
> 
> Obviously it can’t find the library in the directory. However, when I
> check the directory in my file browser, I find a folder named cairo as
> well as several files called libcairo-* (see below).
> 
>  
> 
> cairo
> 
> cairo/libcairo-trace.so.0
> 
> cairo/libcairo-trace.so
> 
> cairo/libcairo-trace.la
> 
> cairo/libcairo-trace.so.0.0.0
> 
>  
> 
> libcairo-gobject.la
> 
> libcairo-gobject.so
> 
> libcairo-gobject.so.2
> 
> libcairo-gobject.so.2.11400.6
> 
> libcairo-script-interpreter.la 
> 
> libcairo-script-interpreter.so 
> 
> libcairo-script-interpreter.so.2
> 
> libcairo-script-interpreter.so.2.11400.6
> 
> libcairo.la
> 
> libcairo.so 
> 
> libcairo.so.2
> 
> libcairo.so.2.11400.6
> 
>  

Take a look at the cairo recipe. The recipes creates several packages,
so on the IMAGE_INSTALL_append variable you need to append those "cairo
cairo-gobject ..."



> 
> As I’m pretty new to yocto I don’t really understand why this error
> occurs. Searching the web didn’t bring up anything helpful so I’m
> asking you for help. Please light my path and tell me how I can fix
> this error.
> 
>  
> 
> Thanks in advance
> 
>  
> 
> Sven
> 
> 
> -- 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto




      parent reply	other threads:[~2017-03-13 15:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-13  9:32 directory doesn't contain library Sven Schönfeld
2017-03-13 15:22 ` Leonardo Sandoval
2017-03-13 16:01 ` Leonardo Sandoval [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1489420871.3261.66.camel@linux.intel.com \
    --to=leonardo.sandoval.gonzalez@linux.intel.com \
    --cc=sven.schoenfeld@automationselektronik.de \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.