Discussion:
where to find xproto.pc ?
Florent Monnier
2006-05-09 13:16:57 UTC
Permalink
Hi,
First thanks a lot for all your previous answers,
now I'm trying to install XCB.

The problem is that I don't have the file xproto.pc in my system,
nor in /usr/local/lib/pkgconfig/ nor in /usr/lib/pkgconfig/

I did this:
export PKG_CONFIG_PATH='/usr/local/lib/pkgconfig/:/usr/lib/pkgconfig/'
for ./configure to find xcb-proto.pc
but there is xproto.pc nowhere.

I have made a search through the package manager of my distro for a package
containing the file 'xproto.pc' but nothing were found. But sometime it fail
to find the good answer, so do you no in which package should I find this
file ?
Or perhaps another way to resolve this problem ?
--
thanks in advance
Jeremy Kolb
2006-05-09 13:22:56 UTC
Permalink
Hi Florent,

You need the modular xorg for that pc file.

Jeremy
Post by Florent Monnier
Hi,
First thanks a lot for all your previous answers,
now I'm trying to install XCB.
The problem is that I don't have the file xproto.pc in my system,
nor in /usr/local/lib/pkgconfig/ nor in /usr/lib/pkgconfig/
export PKG_CONFIG_PATH='/usr/local/lib/pkgconfig/:/usr/lib/pkgconfig/'
for ./configure to find xcb-proto.pc
but there is xproto.pc nowhere.
I have made a search through the package manager of my distro for a package
containing the file 'xproto.pc' but nothing were found. But sometime it fail
to find the good answer, so do you no in which package should I find this
file ?
Or perhaps another way to resolve this problem ?
Florent Monnier
2006-05-09 13:50:05 UTC
Permalink
Post by Jeremy Kolb
You need the modular xorg for that pc file.
OK, what should I do with it?
Where to find modular xorg?
Do I need to uninstall my current Xorg from my distro? (and I guess this will
need to uninstall all the softwares needing X?)
Josh Triplett
2006-05-09 17:32:01 UTC
Permalink
Post by Florent Monnier
Post by Jeremy Kolb
You need the modular xorg for that pc file.
OK, what should I do with it?
Where to find modular xorg?
Do I need to uninstall my current Xorg from my distro? (and I guess this will
need to uninstall all the softwares needing X?)
You can easily just download, build, and install the modular xproto
(proto/X11) into a prefix *other than* /usr, avoiding conflict with your
packaging system. You can then build XCB against that modular xproto.

- Josh Triplett
Florent Monnier
2006-05-09 18:25:03 UTC
Permalink
Post by Josh Triplett
You can easily just download, build, and install the modular xproto
(proto/X11) into a prefix *other than* /usr, avoiding conflict with your
packaging system. You can then build XCB against that modular xproto.
I don't know what is, and where to find this "modular xproto", so I've asked
to Google: http://www.google.com/search?q=modular+xproto

Could you point me on the good answer ?
Josh Triplett
2006-05-10 03:07:07 UTC
Permalink
Post by Florent Monnier
Post by Josh Triplett
You can easily just download, build, and install the modular xproto
(proto/X11) into a prefix *other than* /usr, avoiding conflict with your
packaging system. You can then build XCB against that modular xproto.
I don't know what is, and where to find this "modular xproto", so I've asked
to Google: http://www.google.com/search?q=modular+xproto
Could you point me on the good answer ?
From http://xcb.freedesktop.org/wiki/DevelopersGuide:

The modules you need to checkout, build, and install for XCB are, in order:
* from X.org CVS:
[...]
* proto/X11
[...]

To get this from CVS, see
http://xorg.freedesktop.org/wiki/ModularDevelopersGuide, which suggests:
$ cvs -d :pserver:anoncvs-***@public.gmane.org:/cvs/xorg login
CVS password: <hit return>
$ cvs -d :pserver:anoncvs-***@public.gmane.org:/cvs/xorg co proto/X11

Alternatively, to use a stable tarball of xproto, try
http://xorg.freedesktop.org/releases/X11R7.0/src/proto/xproto-X11R7.0-7.0.4.tar.gz
for the version shipped with the 7.0 roll-up release, or
http://xorg.freedesktop.org/releases/individual/proto/xproto-7.0.5.tar.gz
for the latest release version of xproto itself.

- Josh Triplett

Jamey Sharp
2006-05-09 17:04:14 UTC
Permalink
Hi Florent!
Post by Florent Monnier
The problem is that I don't have the file xproto.pc in my system,
nor in /usr/local/lib/pkgconfig/ nor in /usr/lib/pkgconfig/
You need to follow the directions at
http://xcb.freedesktop.org/wiki/DevelopersGuide
And don't skip the X.org Modular Developer's Guide:
http://xorg.freedesktop.org/wiki/ModularDevelopersGuide

You may want to download source tarballs instead of checking out from
CVS or GIT. X.org source tarballs are at
http://xorg.freedesktop.org/releases/individual/
and XCB source tarballs are at
http://xcb.freedesktop.org/dist/

For X.org compile questions, try irc.freenode.net in channel #xorg --
this isn't an appropriate place for those.

--Jamey
Loading...