The Linux Wacom Project
SourceForge.net Logo

Linux Wacom Project HOWTO

13.1 - Building wacdump and xidump






Building wacdump

wacdump is enabled by default in the configure script, so let's do that now:

[jej@ayukawa linuxwacom]$ ./configure
...
----------------------------------------
  BUILD OPTIONS:
            wacom.o - no
            wacdump - yes
              hid.o - no
         usbmouse.o - no
        wacom_drv.o - no
----------------------------------------

As shown above, the build options indicate that wacdump will be built. If not, then scroll back through the configuration to see if there aren't any errors or warnings that would explain this.

Next, run make. The output will be a file called wacdump in the linuxwacom package's src/util directory. Running make install, will install it under /usr/local/bin.

Building xidump

xidump builds by default so if you've configured and built the project in previous steps, you probably have it already. If not, we can build it now.

xidump requires the XLib and XInput header files to be present on the system. On Redhat 8.0, these files are located in the XFree86-devel RPM package. Other distributions may be organized differently, and people who build X from source probably get them by default. When configuring, check that XLib is detected in the build environment, and if not, refer to the warnings and "checking for" messages for additional clues.

The preferred display mode for xidump uses ncurses. To compile it, you will need the ncurses header files. On Redhat 8.0, these files are located in the ncurses-devel package. Without ncurses, xidump defaults to raw mode automatically.

[jej@ayukawa linuxwacom]$ ./configure
checking for XLib include directory... found
checking for XLib header files... found
checking for ncurses.h... yes
...
----------------------------------------
  BUILD ENVIRONMENT:
                ...
               XLib - yes
            ncurses - yes
                ...

  BUILD OPTIONS:
                ...
             xidump - yes
                ...
----------------------------------------

The configuration above indicates that the XLib and ncurses header files were found and xidump will be built. If ncurses.h is not found, xidump will still build, but it will also warn you that ncurses will not be available. If you encounter warnings, it is most likely that your development environment is missing some packages.

When you run make, the xidump program will be built along with any other programs that are specified in the build options. The output file is called 'xidump' and is located in the linuxwacom package's src/util directory. It is installed by running make install.






Copyright (C) 2002-2011 - LinuxWacom -Last updated July 23, 2012
This website and its contents are licensed under the GNU GENERAL PUBLIC LICENSE.