Skip to contentSkip to conversation

Nothing provides libxcb-*

DISCUSSION Jack Mitchell 3 participants 9 messages Sep 14, 2012

lore
Share & tools
lore
#0 lore raw

I am trying to use the package libxcb-xfixes in a recipe however when I add 'libxcb-xfixes' to DEPENDS I get the error that nothing provides libxcb-xfixes however the libxcb package clearly has it in the PACKAGES variable

recipes-graphics/xcb/libxcb.inc:PACKAGES =+ "libxcb-composite libxcb-damage libxcb-dpms libxcb-glx \
recipes-graphics/xcb/libxcb.inc: libxcb-randr libxcb-record libxcb-render libxcb-res \
recipes-graphics/xcb/libxcb.inc: libxcb-screensaver libxcb-shape libxcb-shm libxcb-sync \
recipes-graphics/xcb/libxcb.inc: libxcb-xevie libxcb-xf86dri libxcb-xfixes libxcb-xlib \
recipes-graphics/xcb/libxcb.inc: libxcb-xprint libxcb-xtest libxcb-xv libxcb-xvmc \
recipes-graphics/xcb/libxcb.inc: libxcb-dri2"

I have also tried using others in this package list to no avail, can anybody comment on how I should be using these packages?

Regards,

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#1 lore raw
Quoted 4 lines · Jack Mitchell

I am trying to use the package libxcb-xfixes in a recipe however when I add 'libxcb-xfixes' to DEPENDS I get the error that nothing provides libxcb-xfixes however the libxcb package clearly has it in the PACKAGES variable

Build-time dependencies are on source recipes, so you'll DEPEND on just libxcb.

Ross

#2 lore raw
In reply to Jack Mitchell
Quoted 17 lines · Jack Mitchell

I am trying to use the package libxcb-xfixes in a recipe however when I add 'libxcb-xfixes' to DEPENDS I get the error that nothing provides libxcb-xfixes however the libxcb package clearly has it in the PACKAGES variable

recipes-graphics/xcb/libxcb.inc:PACKAGES =+ "libxcb-composite libxcb-damage libxcb-dpms libxcb-glx \
recipes-graphics/xcb/libxcb.inc: libxcb-randr libxcb-record libxcb-render libxcb-res \
recipes-graphics/xcb/libxcb.inc: libxcb-screensaver libxcb-shape libxcb-shm libxcb-sync \
recipes-graphics/xcb/libxcb.inc: libxcb-xevie libxcb-xf86dri libxcb-xfixes libxcb-xlib \
recipes-graphics/xcb/libxcb.inc: libxcb-xprint libxcb-xtest libxcb-xv libxcb-xvmc \
recipes-graphics/xcb/libxcb.inc: libxcb-dri2"

Quoted 2 lines

I have also tried using others in this package list to no avail, can anybody comment on how I should be using these packages?

You're mixing up the build time and runtime namespaces. You would add DEPENDS = "libxcb" or RDEPENDS_${PN}-xxx = "libxcb-xfixes".

DEPENDS is build time and you use PN

RDEPENDS/RRECOMMENDS/R* is runtime and values from PACKAGES

Cheers,

Richard

#3 lore raw
Quoted 23 lines · Richard Purdie
Quoted 17 lines · Jack Mitchell

I am trying to use the package libxcb-xfixes in a recipe however when I add 'libxcb-xfixes' to DEPENDS I get the error that nothing provides libxcb-xfixes however the libxcb package clearly has it in the PACKAGES variable

recipes-graphics/xcb/libxcb.inc:PACKAGES =+ "libxcb-composite libxcb-damage libxcb-dpms libxcb-glx \
recipes-graphics/xcb/libxcb.inc: libxcb-randr libxcb-record libxcb-render libxcb-res \
recipes-graphics/xcb/libxcb.inc: libxcb-screensaver libxcb-shape libxcb-shm libxcb-sync \
recipes-graphics/xcb/libxcb.inc: libxcb-xevie libxcb-xf86dri libxcb-xfixes libxcb-xlib \
recipes-graphics/xcb/libxcb.inc: libxcb-xprint libxcb-xtest libxcb-xv libxcb-xvmc \
recipes-graphics/xcb/libxcb.inc: libxcb-dri2"

Quoted 2 lines

I have also tried using others in this package list to no avail, can anybody comment on how I should be using these packages?

You're mixing up the build time and runtime namespaces. You would add DEPENDS = "libxcb" or RDEPENDS_${PN}-xxx = "libxcb-xfixes".

Quoted 8 lines

DEPENDS is build time and you use PN

RDEPENDS/RRECOMMENDS/R* is runtime and values from PACKAGES

Cheers,

Richard

Ok, thanks! I guess I have a bigger problem then, the error I am recieving is:

| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing shell function do_configure
| ERROR: Xfixes not found
|
| If you think configure made a mistake, make sure you are using the latest
| version from Git.  If the latest version fails, report the problem to the
| [email protected] mailing list or IRC #libav on irc.freenode.net.
| Include the log file "config.log" produced by configure as this will help
| solving the problem.

Now, I have libxcb in DEPENDS and I have the following configure options:

EXTRA_OECONF = " \
        --cross-prefix=${TARGET_PREFIX} \
        --enable-cross-compile \
        --sysroot="${STAGING_DIR_TARGET}" \
        --sysinclude="${STAGING_DIR_TARGET}${includedir}" \
        --target-os="linux" \
        --extra-cflags="${TARGET_CFLAGS} 
${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
        --extra-ldflags="${TARGET_LDFLAGS}" \
        --arch=${TARGET_ARCH} \
        --enable-hardcoded-tables \
        --enable-shared \
        --enable-pthreads \
        --enable-gpl \
        --enable-avfilter \
        --prefix=${prefix} \
        --enable-x11grab \
        --enable-libtheora  \
        --enable-libvorbis \
        ${EXTRA_FFCONF} \

"

Is there anything glaringly wrong?I am worried about these two:

        --sysroot="${STAGING_DIR_TARGET}" \
        --sysinclude="${STAGING_DIR_TARGET}${includedir}" \

Cheers,

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#4 lore raw
Quoted 69 lines · Jack Mitchell
Quoted 23 lines · Richard Purdie
Quoted 17 lines · Jack Mitchell

I am trying to use the package libxcb-xfixes in a recipe however when I add 'libxcb-xfixes' to DEPENDS I get the error that nothing provides libxcb-xfixes however the libxcb package clearly has it in the PACKAGES variable

recipes-graphics/xcb/libxcb.inc:PACKAGES =+ "libxcb-composite libxcb-damage libxcb-dpms libxcb-glx \
recipes-graphics/xcb/libxcb.inc: libxcb-randr libxcb-record libxcb-render libxcb-res \
recipes-graphics/xcb/libxcb.inc: libxcb-screensaver libxcb-shape libxcb-shm libxcb-sync \
recipes-graphics/xcb/libxcb.inc: libxcb-xevie libxcb-xf86dri libxcb-xfixes libxcb-xlib \
recipes-graphics/xcb/libxcb.inc: libxcb-xprint libxcb-xtest libxcb-xv libxcb-xvmc \
recipes-graphics/xcb/libxcb.inc: libxcb-dri2"

Quoted 2 lines

I have also tried using others in this package list to no avail, can anybody comment on how I should be using these packages?

You're mixing up the build time and runtime namespaces. You would add DEPENDS = "libxcb" or RDEPENDS_${PN}-xxx = "libxcb-xfixes".

Quoted 8 lines

DEPENDS is build time and you use PN

RDEPENDS/RRECOMMENDS/R* is runtime and values from PACKAGES

Cheers,

Richard

Ok, thanks! I guess I have a bigger problem then, the error I am recieving is:

| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing shell function do_configure
| ERROR: Xfixes not found
|
| If you think configure made a mistake, make sure you are using the latest
| version from Git.  If the latest version fails, report the problem to the
| [email protected] mailing list or IRC #libav on irc.freenode.net.
| Include the log file "config.log" produced by configure as this will help
| solving the problem.

Now, I have libxcb in DEPENDS and I have the following configure options:

EXTRA_OECONF = " \
        --cross-prefix=${TARGET_PREFIX} \
        --enable-cross-compile \
        --sysroot="${STAGING_DIR_TARGET}" \
        --sysinclude="${STAGING_DIR_TARGET}${includedir}" \
        --target-os="linux" \
        --extra-cflags="${TARGET_CFLAGS} 
${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
        --extra-ldflags="${TARGET_LDFLAGS}" \
        --arch=${TARGET_ARCH} \
        --enable-hardcoded-tables \
        --enable-shared \
        --enable-pthreads \
        --enable-gpl \
        --enable-avfilter \
        --prefix=${prefix} \
        --enable-x11grab \
        --enable-libtheora  \
        --enable-libvorbis \
        ${EXTRA_FFCONF} \
Quoted 9 lines

"

Is there anything glaringly wrong?I am worried about these two:

        --sysroot="${STAGING_DIR_TARGET}" \
        --sysinclude="${STAGING_DIR_TARGET}${includedir}" \

Cheers,

Possibly of use?

check_lib X11/extensions/Xfixes.h XFixesGetCursorImage -lXfixes
check_header X11/extensions/Xfixes.h
check_cpp
BEGIN /tmp/ffconf.RboCj6pF.c
1 #include <X11/extensions/Xfixes.h>
2 int x;
END /tmp/ffconf.RboCj6pF.c
arm-poky-linux-gnueabi-gcc --sysroot=/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/raspberrypi -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -march=armv6 -mthumb-interwork -mfloat-abi=softfp -mtune=arm1176jzf-s --sysroot=/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/raspberrypi -std=c99 -fomit-frame-pointer -marm -pthread -E -o /tmp/ffconf.IQTkUVuf.o /tmp/ffconf.RboCj6pF.c /tmp/ffconf.RboCj6pF.c:1:35: fatal error: X11/extensions/Xfixes.h: No such file or directory
compilation terminated.
ERROR: Xfixes not found

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#5 lore raw
Quoted 98 lines · Jack Mitchell
Quoted 69 lines · Jack Mitchell
Quoted 23 lines · Richard Purdie
Quoted 17 lines · Jack Mitchell

I am trying to use the package libxcb-xfixes in a recipe however when I add 'libxcb-xfixes' to DEPENDS I get the error that nothing provides libxcb-xfixes however the libxcb package clearly has it in the PACKAGES variable

recipes-graphics/xcb/libxcb.inc:PACKAGES =+ "libxcb-composite libxcb-damage libxcb-dpms libxcb-glx \
recipes-graphics/xcb/libxcb.inc: libxcb-randr libxcb-record libxcb-render libxcb-res \
recipes-graphics/xcb/libxcb.inc: libxcb-screensaver libxcb-shape libxcb-shm libxcb-sync \
recipes-graphics/xcb/libxcb.inc: libxcb-xevie libxcb-xf86dri libxcb-xfixes libxcb-xlib \
recipes-graphics/xcb/libxcb.inc: libxcb-xprint libxcb-xtest libxcb-xv libxcb-xvmc \
recipes-graphics/xcb/libxcb.inc: libxcb-dri2"

Quoted 2 lines

I have also tried using others in this package list to no avail, can anybody comment on how I should be using these packages?

You're mixing up the build time and runtime namespaces. You would add DEPENDS = "libxcb" or RDEPENDS_${PN}-xxx = "libxcb-xfixes".

Quoted 8 lines

DEPENDS is build time and you use PN

RDEPENDS/RRECOMMENDS/R* is runtime and values from PACKAGES

Cheers,

Richard

Ok, thanks! I guess I have a bigger problem then, the error I am recieving is:

| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing shell function do_configure
| ERROR: Xfixes not found
|
| If you think configure made a mistake, make sure you are using the latest
| version from Git.  If the latest version fails, report the problem to the
| [email protected] mailing list or IRC #libav on irc.freenode.net.
| Include the log file "config.log" produced by configure as this will help
| solving the problem.

Now, I have libxcb in DEPENDS and I have the following configure options:

EXTRA_OECONF = " \
        --cross-prefix=${TARGET_PREFIX} \
        --enable-cross-compile \
        --sysroot="${STAGING_DIR_TARGET}" \
--sysinclude="${STAGING_DIR_TARGET}${includedir}" \
        --target-os="linux" \
        --extra-cflags="${TARGET_CFLAGS} 
${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
        --extra-ldflags="${TARGET_LDFLAGS}" \
        --arch=${TARGET_ARCH} \
        --enable-hardcoded-tables \
        --enable-shared \
        --enable-pthreads \
        --enable-gpl \
        --enable-avfilter \
        --prefix=${prefix} \
        --enable-x11grab \
        --enable-libtheora  \
        --enable-libvorbis \
        ${EXTRA_FFCONF} \
Quoted 9 lines

"

Is there anything glaringly wrong?I am worried about these two:

        --sysroot="${STAGING_DIR_TARGET}" \

--sysinclude="${STAGING_DIR_TARGET}${includedir}" \

Cheers,

Possibly of use?

check_lib X11/extensions/Xfixes.h XFixesGetCursorImage -lXfixes check_header X11/extensions/Xfixes.h
check_cpp
BEGIN /tmp/ffconf.RboCj6pF.c
1 #include <X11/extensions/Xfixes.h>
2 int x;
END /tmp/ffconf.RboCj6pF.c
arm-poky-linux-gnueabi-gcc --sysroot=/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/raspberrypi

(quoted diff) +0 -7
-D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -O2 -pipe -g 
-feliminate-unused-debug-types -O2 -pipe -g 
-feliminate-unused-debug-types -march=armv6 -mthumb-interwork 
-mfloat-abi=softfp -mtune=arm1176jzf-s 
--sysroot=/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/raspberrypi 
-std=c99 -fomit-frame-pointer -marm -pthread -E -o 
Quoted 6 lines

/tmp/ffconf.IQTkUVuf.o /tmp/ffconf.RboCj6pF.c
/tmp/ffconf.RboCj6pF.c:1:35: fatal error: X11/extensions/Xfixes.h: No such file or directory compilation terminated.
ERROR: Xfixes not found

I can confirm that there is indeed no X11/extensions/Xfixes.h:

[jack@archHP raspberrypi]$ find . -name X11
./usr/include/X11
./usr/lib/X11
./usr/share/X11
[jack@archHP raspberrypi]$ find . -name Xfixes.h
[jack@archHP raspberrypi]$

Even though I have:

RDEPENDS_${PN} = "libxcb-xfixes"

What do I have to do to get it in the sysroot so it can compile against it?

Thanks,

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#6 lore raw
Quoted 123 lines · Jack Mitchell
Quoted 105 lines · Jack Mitchell
Quoted 76 lines · Jack Mitchell
Quoted 25 lines · Richard Purdie
Quoted 19 lines · Jack Mitchell

I am trying to use the package libxcb-xfixes in a recipe however when I
add 'libxcb-xfixes' to DEPENDS I get the error that nothing provides libxcb-xfixes however the libxcb package clearly has it in the PACKAGES
variable

recipes-graphics/xcb/libxcb.inc:PACKAGES =+ "libxcb-composite libxcb-damage libxcb-dpms libxcb-glx \
recipes-graphics/xcb/libxcb.inc: libxcb-randr libxcb-record libxcb-render libxcb-res \
recipes-graphics/xcb/libxcb.inc: libxcb-screensaver libxcb-shape libxcb-shm libxcb-sync \
recipes-graphics/xcb/libxcb.inc: libxcb-xevie libxcb-xf86dri libxcb-xfixes libxcb-xlib \
recipes-graphics/xcb/libxcb.inc: libxcb-xprint libxcb-xtest libxcb-xv libxcb-xvmc \
recipes-graphics/xcb/libxcb.inc: libxcb-dri2"

Quoted 2 lines

I have also tried using others in this package list to no avail, can anybody comment on how I should be using these packages?

You're mixing up the build time and runtime namespaces. You would add DEPENDS = "libxcb" or RDEPENDS_${PN}-xxx = "libxcb-xfixes".

Quoted 8 lines

DEPENDS is build time and you use PN

RDEPENDS/RRECOMMENDS/R* is runtime and values from PACKAGES

Cheers,

Richard

Ok, thanks! I guess I have a bigger problem then, the error I am recieving is:

| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing shell function do_configure
| ERROR: Xfixes not found
|
| If you think configure made a mistake, make sure you are using the 

latest
| version from Git. If the latest version fails, report the problem to the
| [email protected] mailing list or IRC #libav on irc.freenode.net. | Include the log file "config.log" produced by configure as this will help
| solving the problem.

Now, I have libxcb in DEPENDS and I have the following configure options:

EXTRA_OECONF = " \
        --cross-prefix=${TARGET_PREFIX} \
        --enable-cross-compile \
        --sysroot="${STAGING_DIR_TARGET}" \
--sysinclude="${STAGING_DIR_TARGET}${includedir}" \
        --target-os="linux" \
        --extra-cflags="${TARGET_CFLAGS} 
${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
        --extra-ldflags="${TARGET_LDFLAGS}" \
        --arch=${TARGET_ARCH} \
        --enable-hardcoded-tables \
        --enable-shared \
        --enable-pthreads \
        --enable-gpl \
        --enable-avfilter \
        --prefix=${prefix} \
        --enable-x11grab \
        --enable-libtheora  \
        --enable-libvorbis \
        ${EXTRA_FFCONF} \
Quoted 9 lines

"

Is there anything glaringly wrong?I am worried about these two:

        --sysroot="${STAGING_DIR_TARGET}" \

--sysinclude="${STAGING_DIR_TARGET}${includedir}" \

Cheers,

Possibly of use?

check_lib X11/extensions/Xfixes.h XFixesGetCursorImage -lXfixes check_header X11/extensions/Xfixes.h
check_cpp
BEGIN /tmp/ffconf.RboCj6pF.c
1 #include <X11/extensions/Xfixes.h>
2 int x;
END /tmp/ffconf.RboCj6pF.c
arm-poky-linux-gnueabi-gcc --sysroot=/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/raspberrypi

(quoted diff) +0 -7
-D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -O2 -pipe -g 
-feliminate-unused-debug-types -O2 -pipe -g 
-feliminate-unused-debug-types -march=armv6 -mthumb-interwork 
-mfloat-abi=softfp -mtune=arm1176jzf-s 
--sysroot=/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/raspberrypi 
-std=c99 -fomit-frame-pointer -marm -pthread -E -o 
Quoted 7 lines

/tmp/ffconf.IQTkUVuf.o /tmp/ffconf.RboCj6pF.c /tmp/ffconf.RboCj6pF.c:1:35: fatal error: X11/extensions/Xfixes.h: No such file or directory
compilation terminated.
ERROR: Xfixes not found

I can confirm that there is indeed no X11/extensions/Xfixes.h:

[jack@archHP raspberrypi]$ find . -name X11
./usr/include/X11
./usr/lib/X11
./usr/share/X11
[jack@archHP raspberrypi]$ find . -name Xfixes.h
[jack@archHP raspberrypi]$

Quoted 5 lines

Even though I have:

RDEPENDS_${PN} = "libxcb-xfixes"

What do I have to do to get it in the sysroot so it can compile against it?

You didn't say you were doing that ;-).

You need -dev packages, try libxcb-dev?

Cheers,

Richard

#7 lore raw
In reply to Jack Mitchell
Quoted 102 lines · Jack Mitchell
Quoted 73 lines · Jack Mitchell
Quoted 23 lines · Richard Purdie
Quoted 17 lines · Jack Mitchell

I am trying to use the package libxcb-xfixes in a recipe however when I add 'libxcb-xfixes' to DEPENDS I get the error that nothing provides libxcb-xfixes however the libxcb package clearly has it in the PACKAGES variable

recipes-graphics/xcb/libxcb.inc:PACKAGES =+ "libxcb-composite libxcb-damage libxcb-dpms libxcb-glx \
recipes-graphics/xcb/libxcb.inc: libxcb-randr libxcb-record libxcb-render libxcb-res \
recipes-graphics/xcb/libxcb.inc: libxcb-screensaver libxcb-shape libxcb-shm libxcb-sync \
recipes-graphics/xcb/libxcb.inc: libxcb-xevie libxcb-xf86dri libxcb-xfixes libxcb-xlib \
recipes-graphics/xcb/libxcb.inc: libxcb-xprint libxcb-xtest libxcb-xv libxcb-xvmc \
recipes-graphics/xcb/libxcb.inc: libxcb-dri2"

Quoted 2 lines

I have also tried using others in this package list to no avail, can anybody comment on how I should be using these packages?

You're mixing up the build time and runtime namespaces. You would add DEPENDS = "libxcb" or RDEPENDS_${PN}-xxx = "libxcb-xfixes".

Quoted 8 lines

DEPENDS is build time and you use PN

RDEPENDS/RRECOMMENDS/R* is runtime and values from PACKAGES

Cheers,

Richard

Ok, thanks! I guess I have a bigger problem then, the error I am recieving is:

| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing shell function do_configure
| ERROR: Xfixes not found
|
| If you think configure made a mistake, make sure you are using the 

latest
| version from Git. If the latest version fails, report the problem to the
| [email protected] mailing list or IRC #libav on irc.freenode.net. | Include the log file "config.log" produced by configure as this will help
| solving the problem.

Now, I have libxcb in DEPENDS and I have the following configure options:

EXTRA_OECONF = " \
        --cross-prefix=${TARGET_PREFIX} \
        --enable-cross-compile \
        --sysroot="${STAGING_DIR_TARGET}" \
        --sysinclude="${STAGING_DIR_TARGET}${includedir}" \
        --target-os="linux" \
        --extra-cflags="${TARGET_CFLAGS} 
${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
        --extra-ldflags="${TARGET_LDFLAGS}" \
        --arch=${TARGET_ARCH} \
        --enable-hardcoded-tables \
        --enable-shared \
        --enable-pthreads \
        --enable-gpl \
        --enable-avfilter \
        --prefix=${prefix} \
        --enable-x11grab \
        --enable-libtheora  \
        --enable-libvorbis \
        ${EXTRA_FFCONF} \
Quoted 9 lines

"

Is there anything glaringly wrong?I am worried about these two:

        --sysroot="${STAGING_DIR_TARGET}" \
        --sysinclude="${STAGING_DIR_TARGET}${includedir}" \

Cheers,

Possibly of use?

check_lib X11/extensions/Xfixes.h XFixesGetCursorImage -lXfixes check_header X11/extensions/Xfixes.h
check_cpp
BEGIN /tmp/ffconf.RboCj6pF.c
1 #include <X11/extensions/Xfixes.h>
2 int x;
END /tmp/ffconf.RboCj6pF.c
arm-poky-linux-gnueabi-gcc --sysroot=/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/raspberrypi

(quoted diff) +0 -7
-D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -O2 -pipe -g 
-feliminate-unused-debug-types -O2 -pipe -g 
-feliminate-unused-debug-types -march=armv6 -mthumb-interwork 
-mfloat-abi=softfp -mtune=arm1176jzf-s 
--sysroot=/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/raspberrypi 
-std=c99 -fomit-frame-pointer -marm -pthread -E -o 
Quoted 5 lines

/tmp/ffconf.IQTkUVuf.o /tmp/ffconf.RboCj6pF.c /tmp/ffconf.RboCj6pF.c:1:35: fatal error: X11/extensions/Xfixes.h: No such file or directory
compilation terminated.
ERROR: Xfixes not found

Sorry, I misunderstood this, ignore my last reply. That header comes from libxfixes so you probably need a DEPENDS on that too.

Cheers,

Richard

#8 lore raw
Quoted 109 lines · Richard Purdie
Quoted 100 lines · Jack Mitchell
Quoted 72 lines · Jack Mitchell
Quoted 23 lines · Richard Purdie
Quoted 17 lines · Jack Mitchell

I am trying to use the package libxcb-xfixes in a recipe however when I add 'libxcb-xfixes' to DEPENDS I get the error that nothing provides libxcb-xfixes however the libxcb package clearly has it in the PACKAGES variable

recipes-graphics/xcb/libxcb.inc:PACKAGES =+ "libxcb-composite libxcb-damage libxcb-dpms libxcb-glx \
recipes-graphics/xcb/libxcb.inc: libxcb-randr libxcb-record libxcb-render libxcb-res \
recipes-graphics/xcb/libxcb.inc: libxcb-screensaver libxcb-shape libxcb-shm libxcb-sync \
recipes-graphics/xcb/libxcb.inc: libxcb-xevie libxcb-xf86dri libxcb-xfixes libxcb-xlib \
recipes-graphics/xcb/libxcb.inc: libxcb-xprint libxcb-xtest libxcb-xv libxcb-xvmc \
recipes-graphics/xcb/libxcb.inc: libxcb-dri2"

Quoted 2 lines

I have also tried using others in this package list to no avail, can anybody comment on how I should be using these packages?

You're mixing up the build time and runtime namespaces. You would add DEPENDS = "libxcb" or RDEPENDS_${PN}-xxx = "libxcb-xfixes".

Quoted 8 lines

DEPENDS is build time and you use PN

RDEPENDS/RRECOMMENDS/R* is runtime and values from PACKAGES

Cheers,

Richard

Ok, thanks! I guess I have a bigger problem then, the error I am recieving is:

| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing shell function do_configure
| ERROR: Xfixes not found
|
| If you think configure made a mistake, make sure you are using the

latest
| version from Git. If the latest version fails, report the problem to the
| [email protected] mailing list or IRC #libav on irc.freenode.net. | Include the log file "config.log" produced by configure as this will help
| solving the problem.

Now, I have libxcb in DEPENDS and I have the following configure options:

EXTRA_OECONF = " \
         --cross-prefix=${TARGET_PREFIX} \
         --enable-cross-compile \
         --sysroot="${STAGING_DIR_TARGET}" \
         --sysinclude="${STAGING_DIR_TARGET}${includedir}" \
         --target-os="linux" \
         --extra-cflags="${TARGET_CFLAGS}
${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
         --extra-ldflags="${TARGET_LDFLAGS}" \
         --arch=${TARGET_ARCH} \
         --enable-hardcoded-tables \
         --enable-shared \
         --enable-pthreads \
         --enable-gpl \
         --enable-avfilter \
         --prefix=${prefix} \
         --enable-x11grab \
         --enable-libtheora  \
         --enable-libvorbis \
         ${EXTRA_FFCONF} \
Quoted 9 lines

"

Is there anything glaringly wrong?I am worried about these two:

         --sysroot="${STAGING_DIR_TARGET}" \
         --sysinclude="${STAGING_DIR_TARGET}${includedir}" \

Cheers,

Possibly of use?

check_lib X11/extensions/Xfixes.h XFixesGetCursorImage -lXfixes check_header X11/extensions/Xfixes.h
check_cpp
BEGIN /tmp/ffconf.RboCj6pF.c
1 #include <X11/extensions/Xfixes.h>
2 int x;
END /tmp/ffconf.RboCj6pF.c
arm-poky-linux-gnueabi-gcc --sysroot=/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/raspberrypi

(quoted diff) +0 -7
-D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -O2 -pipe -g
-feliminate-unused-debug-types -O2 -pipe -g
-feliminate-unused-debug-types -march=armv6 -mthumb-interwork
-mfloat-abi=softfp -mtune=arm1176jzf-s
--sysroot=/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/raspberrypi
-std=c99 -fomit-frame-pointer -marm -pthread -E -o
Quoted 5 lines

/tmp/ffconf.IQTkUVuf.o /tmp/ffconf.RboCj6pF.c /tmp/ffconf.RboCj6pF.c:1:35: fatal error: X11/extensions/Xfixes.h: No such file or directory
compilation terminated.
ERROR: Xfixes not found

Sorry, I misunderstood this, ignore my last reply. That header comes from libxfixes so you probably need a DEPENDS on that too.

Quoted 4 lines

Cheers,

Richard

Sigh.... That is indeed what I was looking for.

Cheers all!

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--