Xkb headers for server; Xprt unable to find transport: tcp
Daniel Stone
daniel at fooishbar.org
Tue Sep 13 22:26:58 PDT 2005
On Wed, 2005-09-14 at 00:21 +1000, Drew Parsons wrote:
> I've built a fresh modularised Xprt binary from a recent CVS update.
Congratulations!
> > ddxLoad.c: In function 'XkbDDXCompileNamedKeymap':
> > ddxLoad.c:246: error: 'XkbBinDirectory' undeclared (first use in this function)
>
> This error goes away if I install proto/KB (kbproto.pc). Should
> kbproto be added to the REQUIRED_MODULES list at l.278 in
> server/xorg/configure.ac, or is it supposed to be handled with
> --with-xkb-path? After installing kbproto, Xprt builds with no further
> errors.
I think kbproto already gets put in R_M when XKB is enabled. The issue
was probably that Debian has an old XKBsrv.h, so you were seeing that
error because it just needs to be updated. That being said, we should
probably make the dependency versioned.
> When I try to invoke it with "./Xprt :74 -ac -pn -nolisten tcp -audit 4
> -fp <.../file/paths...>", it complains
> _XSERVTransTransNoListen: unable to find transport: tcp
>
> Fatal server error:
> Failed to disable listen for tcp transport
>
> Might this be an error in modularised xtrans, or will I solve it by
> continuing to compare -D definitions from monolithic builds and getting
> the modular build in line to match?
>
> If I remove "-nolisten tcp", Xprt fails to start for a different reason:
> Fatal server error:
> Cannot establish any listening sockets - Make sure an X server isn't
> already running
>
> (no, there is no other server running at display :74).
Okay. You need to find the file that includes <X11/Xtrans/transport.c>
(usually xstrans or so), and make sure it includes your config.h, which
should have stuff like UNIXCONN defined. Although this should just be
happening in the DIX.
> By the way, thank you whoever it was that got Xprint into the xorg
> module. I'm happy I was able to get this far.
I think that was Søren Sandmann Pedersen.
More information about the xorg-modular
mailing list