Bug 6629 - New libXCBShm needs help; fails xcb-util/image/test*.c
Summary: New libXCBShm needs help; fails xcb-util/image/test*.c
Status: RESOLVED FIXED
Alias: None
Product: XCB
Classification: Unclassified
Component: Library (show other bugs)
Version: unspecified
Hardware: All All
: high major
Assignee: Josh Triplett
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-17 17:41 UTC by Bart Massey
Modified: 2006-04-27 14:36 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Bart Massey 2006-04-17 17:41:27 UTC
Currently, xcb-util/image/test_image.c and xcb-util/image/test_image_shm.c fail
to build, because they don't pull in the newly-split-out libXCBShm.so from
anywhere.  I think this problem will affect most any XCB program that uses
shared memory, and maybe more than that; the old assumption that building
normally will include XCBShm support is no longer valid post-split.

I can think of a *lot* of ways to fix this. Somebody more clueful than me needs
to pick one.
Comment 1 Vincent Torri 2006-04-17 18:17:40 UTC
maybe adding a .pc file for each new extension lib ?
Comment 2 Bart Massey 2006-04-18 16:17:49 UTC
I think the consensus of Josh and I is that we need to do both the pkgconfig
thing and make the shared libraries dependent (on platforms that support this
latter thing).
Comment 3 Ian Osgood 2006-04-28 00:43:46 UTC
After yesterday's changes, configure succeeds, but make fails immediately:

host-226-230:~/xcb/xcb/xcb-util iosgood$ make
 cd . && /bin/sh /Users/iosgood/xcb/xcb/xcb-util/missing --run automake-1.9 --foreign 
atom/Makefile.am: required file `./compile' not found
make: *** [Makefile.in] Error 1
Comment 4 Ian Osgood 2006-04-28 05:08:06 UTC
After a little digging on the net, I found I had to run autoreconf -i to rebuild xcb-util/compile.  (On my OS 
X system, I first had to export LIBTOOLIZE=glibtoolize.)  Now xcb-util builds.

Ain't automake grand?
Comment 5 Josh Triplett 2006-04-28 07:36:39 UTC
Fixed this in git commit 34850b55d7eb245a3b3bbd065b4d00f0e1017c5d; closing bug.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.