[Xcb] xcb with BSD make and on DragonFly

Josh Triplett josh at freedesktop.org
Wed Mar 8 02:21:02 PST 2006


Jeremy C. Reed wrote:
> I need to have latest libX11, so I retrieved it. And it needed xcb. (Thank 
> you for your detailed wiki it was very useful -- the modular Xorg wiki 
> needs same git info!)

Glad to hear that it helped.  The best plan would probably be to move
the git information to one canonical location on the main
freedesktop.org wiki and then reference it from the xcb wiki and the
xorg wiki.  We don't want to end up maintaining several copies of the
same information.  We should, however, continue to provide conveniently
copy-paste-able command lines for checking out xcb and libX11.

> I installed xcb-proto. Then started on xcb.
> 
> 1) Will released versions of xcb source require it? (I haven't looked yet, 
> but didn't see discussion on wiki or INSTALL.)

See my other reply in this thread: we should most likely generate these
as part of "make dist{,check}", so that they end up in release tarballs.
 Just as you shouldn't need autoconf unless you hack configure.ac, you
probably shouldn't need xsltproc unless you hack *.xml or c-client.xsl.

One minor issue with this, however, is that it would embed information
from a particular xcb-proto version into an xcb release tarball.  This
may or may not be a problem.  It will probably be much less of a problem
once we split extensions into separate libraries.

> 2) Now xcb's Makefile generated via automake 1.9.6 and Autoconf 2.59.
> complains with the native make:
> 
> Making all in src
> "Makefile", line 746: Need an operator
> make: fatal errors encountered -- cannot continue
> *** Error code 1
> 
> The line is:
> 
> vpath %.xml $(XCBPROTO_XCBINCLUDEDIR) $(XCBPROTO_XCBINCLUDEDIR)/extensions
> 
> Also NetBSD's make doesn't like it either.
> 
> As a workaround, I used gmake. Please consider allowing the native BSD 
> make to work as it appears to do for rest of Xorg.

Without knowing the intricacies of BSD make and how it differs from GNU
make, we'd have to defer that task to someone experienced with BSD make.
 We'd be happy to take patches which add portability to other makes.  In
the meantime, feel free to add a note to the xcb wiki pointing out that
you currently need GNU make.

Thanks for your detailed work and contributions; we'd very much like to
ensure that XCB is as portable as possible.  Please let us know if you
have any other issues running XCB on DragonFly BSD.

- Josh Triplett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20060308/951e043a/signature-0001.pgp


More information about the Xcb mailing list