building xorg

Eamon Walsh ewalsh at
Thu Jun 5 16:35:38 PDT 2008

Chuck Robey wrote:
> I'm trying to build xorg, to follow a hint for driver testing I got 
> from Peter
> Hutterer, so I used git to check out the xorg tree, but shortly after 
> I began
> the build, it crapped out in xcb:
> test -d libxcb-1.1.90 || mkdir libxcb-1.1.90
> list='src tests doc'; for subdir in $list; do  if test "$subdir" = .; 
> then :;
> else  test -d "libxcb-1.1.90/$subdir"  || /usr/local/bin/gmkdir -p
> "libxcb-1.1.90/$subdir"  || exit 1;  
> distdir=`CDPATH="${ZSH_VERSION+.}:" && cd
> libxcb-1.1.90 && pwd`;  top_distdir=`CDPATH="${ZSH_VERSION+.}:" && cd
> libxcb-1.1.90 && pwd`;  (cd $subdir &&  make   top_distdir="$top_distdir"
> distdir="$distdir/$subdir"  am__remove_distdir=:  am__skip_length_check=:
> distdir)  || exit 1;  fi;  done
> make: don't know how to make xinput.h. Stop
> *** Error code 1

This is a "make distcheck" failure.  You don't strictly need to run 
distcheck if you're just building and installing.

Try dropping the -D (or -d) from your build script command.

> that looks to me like a broken dependency line in a Makefile, right?
> Anyhow, my goal is really to end up with a xorg installation that will 
> support
> using dbus for xinput driver testing. and not xorg in itself, so it 
> might seem a
> bit mercenary, but I really don't want to track down all the 
> problems.  Could I
> get a date near as possible current, which has a xorg that definitely 
> builds,
> and the git command that will grab it for me?  I'm also brand new at 
> git, I am a
> lot more used to cvs, so until I get more experienced with using git, 
> I need
> hand now and then on it.
> So, does what I'm asking for sound like a good idea, or are tree 
> breakages so
> rare that I could really wait a day or so and just pick back up?  Once 
> I get a
> good tree, I will probably freeze it until I get my xinput driver working.
> BTW, I had been asking for at least 4 months here for any help on 
> writing xinput
> modules, and _finally_ that xinput howto that Peter gave me, it's what 
> I was
> after.  Once I get xorg cranking to my satisfaction, I guess I am off and
> running, I have all the usb stuff all detailed in my mind (what a task 
> that was!)
xorg mailing list
xorg at

Eamon Walsh <ewalsh at>
National Security Agency

More information about the xorg mailing list