All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: New kmod {libdir} breaks udev, systemd build
@ 2012-05-14 12:48 Thilo Fromm
  2012-05-14 16:51 ` Marko Lindqvist
  0 siblings, 1 reply; 6+ messages in thread
From: Thilo Fromm @ 2012-05-14 12:48 UTC (permalink / raw)
  To: openembedded-devel

Hi there,

[...]

>> Take meta-openembedded/meta-oe/recipes-core/udev/udev_182.bb, for
>> example. The build predictably fails with
>>
>> checking for KMOD... no
>> configure: error: Package requirements (libkmod >= 5) were not met:
>>
>> No package 'libkmod' found
>>
>>
>> So what's the right thing do do here? Use a different package install
>> path for libkmod, or point udev to /lib/pkgconfig by extending its
>> PKG_CONFIG_PATH correspondingly?
>
> I have some build failure.

Me too. systemd is failing to build for the same reason. For a quick
fix-ish workaround try adding

PKG_CONFIG_PATH =
"${PKG_CONFIG_DIR}:${STAGING_DATADIR}/pkgconfig:${PKG_CONFIG_SYSROOT_DIR}/${base_libdir}/pkgconfig/"

(^^ supposed to be one single line ^^)

to both systemd and udev recipes. Yes, I know, this is a very ugly
hack. I'm still waiting for a response to my either-or question in
this mail thread's first mail before submitting a patch to fix the
issue.

Regards,
Thilo

-- 
Dipl.-Ing (FH) Thilo Fromm, MSc., Embedded Systems Architect
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, D-10319 Berlin, Germany
Tel: +49 (30) 515 932 228   mailto:fromm@dresearch-fe.de
Fax: +49 (30) 515 932 77    http://www.dresearch.de
Amtsgericht: Berlin Charlottenburg, HRB 130120 B
Ust.-IDNr. DE273952058
Geschäftsführer: Dr. M. Weber, W. Mögle



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

end of thread, other threads:[~2012-05-15  9:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-14 12:48 New kmod {libdir} breaks udev, systemd build Thilo Fromm
2012-05-14 16:51 ` Marko Lindqvist
2012-05-14 17:23   ` Thilo Fromm
2012-05-14 17:42     ` Marko Lindqvist
2012-05-15  8:36       ` Thilo Fromm
2012-05-15  9:27       ` Koen Kooi

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.