Circular build dep (was: Re: [ANNOUNCE] libXext 1.0.99.2)

Peter Hutterer peter.hutterer at who-t.net
Sun Jul 19 22:13:30 PDT 2009


On Fri, Jul 17, 2009 at 08:49:16AM +0100, Colin Guthrie wrote:
> Could be wrong here, but I think there is a bit of a circular build dep 
> here....
> 
> 
> I'm trying to update the system to the latest versions including latest 
> xi2 stuff (proto and lib).
> 
> So the protos are all updated and installed fine, but then I have to 
> build libxi.
> 
> Configure bails out of that saying:
> 
> checking for XI... configure: error: Package requirements (xproto >= 
> 7.0.13 x11 >= 1.2.99.1 xextproto >= 7.0.3 xext >= 1.0.99.1 inputproto >= 
> 1.9.99.13) were not met:
> 
> Requested 'x11 >= 1.2.99.1' but version of X11 is 1.2.2
> Requested 'xext >= 1.0.99.1' but version of Xext is 1.0.5
> 
> 
> OK, so libx11 I've not tried yet, but libxext is primed and ready...
> 
> But building *that* fails with:
> In file included from XTestExt1.c:71:
> ../include/X11/extensions/XTest.h:34:35: error: X11/extensions/XInput.h: 
> No such file or directory
> In file included from XTestExt1.c:71:
> ../include/X11/extensions/XTest.h:88: error: expected declaration 
> specifiers or ‘...’ before ‘XDevice’
> ../include/X11/extensions/XTest.h:98: error: expected declaration 
> specifiers or ‘...’ before ‘XDevice’
> ../include/X11/extensions/XTest.h:108: error: expected declaration 
> specifiers or ‘...’ before ‘XDevice’
> ../include/X11/extensions/XTest.h:117: error: expected declaration 
> specifiers or ‘...’ before ‘XDevice’
> XTestExt1.c:138: warning: no previous prototype for ‘XTestFakeInput’
> XTestExt1.c:232: warning: no previous prototype for ‘XTestGetInput’
> XTestExt1.c:294: warning: no previous prototype for ‘XTestStopInput’
> XTestExt1.c:348: warning: no previous prototype for ‘XTestReset’
> XTestExt1.c:401: warning: no previous prototype for ‘XTestQueryInputSize’
> XTestExt1.c:640: warning: no previous prototype for ‘XTestPressKey’
> XTestExt1.c:672: warning: no previous prototype for ‘XTestPressButton’
> XTestExt1.c:885: warning: no previous prototype for ‘XTestMovePointer’
> XTestExt1.c:1296: warning: no previous prototype for ‘XTestFlush’
> make[2]: *** [XTestExt1.lo] Error 1
> 
> 
> 
> So the header X11/extensions/XInput.h is now missing. This used to be 
> provided by inputproto I believe but is not shipped in libxi (is that 
> correct?)
> 
> So libxi needs libext to build and libext needs libxi to build :s
> 
> 
> Now I could get the build to work by not upgrading to xinput2 stuff at 
> the same time pushing everything out and then upgrading it later, but 
> this is probably a generic problem that needs resolved more thoroughly 
> as this type of bootstrapping is not really desirable.
> 
> Please correct me if I'm being a doofus.
> 

should be fixed now. It was my fault, the XTest.h header should have been
moved to the libXtst module, not to libXext since it defined functions
present in libXtst/src/XTest.c.

You'll need to update libXtst and libXext.

Cheers,
  Peter



More information about the xorg mailing list