Re: [gnome-love] jhbuild: Xrender problem




Magnus Therning wrote:
On my Debian Sid system Xrender won't compile. It fails on AddTrap.c
with the following message:

 AddTrap.c: In function `XRenderAddTraps':
 AddTrap.c:38: error: `xRenderAddTrapsReq' undeclared (first use in this function)
 AddTrap.c:38: error: (Each undeclared identifier is reported only once
 AddTrap.c:38: error: for each function it appears in.)
 AddTrap.c:38: error: `req' undeclared (first use in this function)
 AddTrap.c:47: error: `sz_xRenderAddTrapsReq' undeclared (first use in this function)
 AddTrap.c:47: error: parse error before ')' token
 AddTrap.c:47: error: `X_RenderAddTraps' undeclared (first use in this function)
 AddTrap.c:54: error: `sz_xTrap' undeclared (first use in this function) make: *** [AddTrap.lo] Error 1

Two things that I noticed:

 1. During configure this is reported:

    checking for x11... Package x11 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `x11.pc' to the PKG_CONFIG_PATH environment variable
    No package 'x11' found

    Is that something to worry about?
    I have the standard Debian Sid installation of pkg-config, should I
    have an entry for x11?

 2. After googling a bit it seems that the file renderproto.h
    (/usr/X11R6/include/X11/extensions/renderproto.h on my system)
    should contain a definition of xRenderAddTrapsReq (I deduced this
    from [1], I might be wrong) but there is no definition of it that I
    can find. Might it be that X in Debian Sid is too old?

Any explanations/solutions to my problems are welcome. As a side note
this is the first time I try to compile GNOME my self.

Hi Magnus,

I ran into exactly the same problem. There's an error configure.ac the RENDER_CFLAGS is not exported. I filed a bug against it, but my patch still has not been comitted :-(

Basically the patch makes sure that it does not look in the X11 directory of your system but in the directory where you install gnome with jhbuild. The file you are talking about is installed by render which is just compiled before Xrender.

See http://freedesktop.org/bugzilla/show_bug.cgi?id=1224

Jaap

PS CU at WY7



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]