Just build/install x2x as any other autotools-based program.
See README for details installing on Fedora and Ubuntu.

Configuration options:

  --with-win32 - enables win32 support
