[Xcb] xcb-proto DBE extension
Lars Segerlund
lars.segerlund at gmail.com
Fri Sep 2 07:37:33 UTC 2016
Hi again,
I am trying to build in a local directory, I don't want to mess up my X
installation since I am running Optimus PRIME ... and it's not super mature
... so I figured I would build and do a staticly linked binary for testing,
however even when setting PKG_CONFIG_PATH the make of libxcb fails with :
Making all in src
make[1]: Går till katalogen ”/home/ls/src/xdbe/mainline/libxcb/src”
make[1]: *** Ingen regel för att skapa målet ”/usr/local/share/xcb/”, som
behövs av ”xproto.c”. Stannar.
make[1]: Lämnar katalogen ”/home/ls/src/xdbe/mainline/libxcb/src”
Makefile:791: receptet för målet ”all-recursive” misslyckades
make: *** [all-recursive] Fel 1
This does not happen when I build for libxcb-1.11.1 ... which is the
version the system is running, so I figure the build picks up the system
files in this case but not when doing a local build.
I know the autotools a bit, but I am not good with package-config .... so
any help appreciated.
My educated guess is that I need to do a 'dummy' install somewhere ,
specified with --prefix to configure, does this sound about right ?
Btw. the whole generation of protocoll bindings is SWEET ... very nice ...
a pleasant surprise.
/ regards, Lars Segerlund.
2016-09-01 16:34 GMT+02:00 Peter Harris <pharris at opentext.com>:
> Re-adding the xcb mailing list, as it was accidentally dropped from the
> To: field.
>
> On 2016-09-01 3:31 AM, Lars Segerlund wrote:
> >
> > Hi and thanks,
> >
> > I joined the xcb mailinglist, and thanks for the tip.
> >
> > So what you are saying is that I don't need a union ? ( i used xidunion
> > finally ... but will check ).
>
> That is correct, you do not need (or want) a union.
>
> > I will checkout latest and rebuild and test.
> > I have one question though, can i tell configure to use my 'local'
> > xcb-proto when building ? I havent figured out the flag.
>
> There's some pkgconfig magic, but I don't recall it off the top of my
> head. I think you can point PKG_CONFIG_PATH at your xcb-proto directory
> or something.
>
> > I have a couple of test programs which run fine using xlib, and I am
> > converting and testing now, ( static linking ) , which should be enough ?
>
> If you're using libxcb, it ignores enum/altenum anyway. The enum/altenum
> fields are used by languages with more strict type checks and by
> dissectors (such as Wireshark).
>
> Peter Harris
> --
> Open Text Connectivity Solutions Group
> Peter Harris http://connectivity.opentext.com/
> Research and Development Phone: +1 905 762 6001
> pharris at opentext.com Toll Free: 1 877 359 4866
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/xcb/attachments/20160902/77dc7962/attachment.html>
More information about the Xcb
mailing list