<div dir="ltr"><div>Hi,</div><div><br></div><div>Thanks for the reply Yu Ke.I have made changes as per said by you,but still getting the same error</div><div>Regarding the Error no xcb found in libx11 library</div><div>Following is the my libx11 bb file : --</div>
<div><br></div><div>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</div><div>require libx11.inc</div><div><br></div><div>LICENSE = "MIT & MIT-style & BSD"</div><div>LIC_FILES_CHKSUM = "file://COPYING;md5=bf75bfe4d05068311b5e6862d4b5f2c5"</div>
<div><br></div><div>PE = "1"</div><div>PR = "r0"</div><div><br></div><div>SRC_URI += "file://x11_disable_makekeys.patch \</div><div>            file://nodolt.patch \</div><div>            file://include_fix.patch"</div>
<div><br></div><div>DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \</div><div>            libxdmcp xf86bigfontproto kbproto inputproto xproto-native gettext"</div><div><br></div><div>EXTRA_OECONF += "--with-xcb"</div>
<div>EXTRA_OECONF_native += "--without-xcb"</div><div><br></div><div>BBCLASSEXTEND = "native nativesdk"</div><div><br></div><div>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</div>
<div><br></div><div>But stiil getting the same error :-- </div><div><br></div><div>| checking for sys/param.h... yes</div><div>| checking for getpagesize... yes</div><div>| checking for working mmap... yes</div><div>| checking for nl_langinfo... yes</div>
<div>| checking for X11... no</div><div>| configure: error: Package requirements (xproto >= 7.0.13 xextproto xtrans xcb >= 1.1.92 kbproto inputproto) were not met:</div><div>| </div><div>| No package 'xcb' found</div>
<div>| </div><div>| Consider adjusting the PKG_CONFIG_PATH environment variable if you</div><div>| installed software in a non-standard prefix.</div><div>| </div><div>| Alternatively, you may set the environment variables X11_CFLAGS</div>
<div>| and X11_LIBS to avoid the need to call pkg-config.</div><div>| See the pkg-config man page for more details.</div><div>| FATAL: oe_runconf failed</div><div>| ERROR: Task failed: ('function do_configure failed', '/home/sct/laverne_git/laverne-4.0.1/build/tmp/work/x86_64-linux/libx11-native-1_1.3.4-r0/temp/log.do_configure.16900')</div>
<div>NOTE: package libx11-native-1_1.3.4-r0: task do_configure: Failed</div><div>ERROR: Task 20 (virtual:native:/home/sct/laverne_git/laverne-4.0.1/meta/recipes-graphics/xorg-lib/<a href="http://libx11_1.3.4.bb">libx11_1.3.4.bb</a>, do_configure) failed with 1</div>
<div>ERROR: 'virtual:native:/home/sct/laverne_git/laverne-4.0.1/meta/recipes-graphics/xorg-lib/<a href="http://libx11_1.3.4.bb">libx11_1.3.4.bb</a>' failed</div><div><br></div><div>Chinmaya </div><div><br></div><div class="gmail_quote">
On Sat, Apr 2, 2011 at 2:35 PM, Yu Ke <span dir="ltr"><<a href="mailto:ke.yu@intel.com">ke.yu@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">on 2011-4-2 15:46, Martin Jansa wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sat, Apr 02, 2011 at 11:35:08AM +0800, Yu Ke wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
on 2011-4-1 17:43, chinmaya hoshing wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I am trying to get X11 with libxcb file so accordingly I changed in the<br>
bb file of libx11,also I have included libxcb and xcb-utils as runtime<br>
dependencies<br>
<br>
Initially it was in libx11 bb file :--<br>
EXTRA_OECONF += "--without-xcb"<br>
I changed it to<br>
EXTRA_OECONF += "--with-xcb"<br>
<br>
Following is the error I get :-<br>
checking for unistd.h... (cached) yes<br>
| checking for sys/param.h... yes<br>
| checking for getpagesize... yes<br>
| checking for working mmap... yes<br>
| checking for nl_langinfo... yes<br>
| checking for X11... no<br>
| configure: error: Package requirements (xproto>= 7.0.13 xextproto<br>
xtrans xcb>= 1.1.92 kbproto inputproto) were not met:<br>
|<br>
| No package 'xcb' found<br>
|<br>
| Consider adjusting the PKG_CONFIG_PATH environment variable if you<br>
| installed software in a non-standard prefix.<br>
|<br>
| Alternatively, you may set the environment variables X11_CFLAGS<br>
| and X11_LIBS to avoid the need to call pkg-config.<br>
| See the pkg-config man page for more details.<br>
| FATAL: oe_runconf failed<br>
| ERROR: Task failed: ('function do_configure failed',<br>
'/home/laverne-4.0.1/build/tmp/work/x86_64-linux/libx11-native-1_1.3.4-r0/temp/log.do_configure.13755')<br>
NOTE: package libx11-native-1_1.3.4-r0: task do_configure: Failed<br>
ERROR: Task 3573<br>
(virtual:native:/home/laverne-4.0.1/meta/recipes-graphics/xorg-lib/<a href="http://libx11_1.3.4.bb" target="_blank">libx11_1.3.4.bb</a><br>
<<a href="http://libx11_1.3.4.bb" target="_blank">http://libx11_1.3.4.bb</a>>, do_configure) failed with 1<br>
ERROR:<br>
'virtual:native:/home/laverne-4.0.1/meta/recipes-graphics/xorg-lib/<a href="http://libx11_1.3.4.bb" target="_blank">libx11_1.3.4.bb</a><br>
<<a href="http://libx11_1.3.4.bb" target="_blank">http://libx11_1.3.4.bb</a>>' failed<br>
<br>
I have libxcb_1.6 version ,also xproto is libxproto_7.0.17<br>
<br>
Please can  you help me to find the solution for it.<br>
<br>
Chinmaya<br>
<br>
<br>
</blockquote>
<br>
I see it is libx11-native do_configure failure, and the xcb-native is<br>
missing. that make sense because xcb recipes does not have BBCLASSEXTEND<br>
= "native nativesdk", thus xcb is not built for native.<br>
<br>
I have tried to add BBCLASSEXTEND = "native" in xcb recipe, it turn out<br>
requiring more dependent recipes to be built for native, which is a bit<br>
way too far and undesirable.<br>
<br>
so let's try another way, since you only care about the runtime libx11<br>
with xcb support, how about the following patches, with which only<br>
native disable xcb, and the runtime libx11 will have xcb support.<br>
</blockquote>
<br>
Hi,<br>
<br>
for libx11-1.4.0 and newer --without-xcb is not an option anymore, so<br>
better to fix it with native xcb sooner than later, for details see<br>
<br>
d28cdb2d2e6c910afbaa14b17bd2c0003052df7d in openembedded/master<br>
and the rest of xorg/xcb recipes in openembedded :)<br>
<br>
Cheers,<br>
<br>
</blockquote>
<br></div></div>
In this case. your are right, native xcb should also be added. Will upgrade it soon. Thanks for the info.<br>
<br>
Regards<br>
Ke<br>
_______________________________________________<br>
poky mailing list<br>
<a href="mailto:poky@yoctoproject.org" target="_blank">poky@yoctoproject.org</a><br>
<a href="https://lists.yoctoproject.org/listinfo/poky" target="_blank">https://lists.yoctoproject.org/listinfo/poky</a><br>
</blockquote></div><br></div>