Specifications
Chapter 2. Install notes
Software Requirement
To compile and run DDCcontrol, you need to have these packages installed:
• libxml2 [http://www.xmlsoft.org/]
• pci-utils [http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml]
• gtk+>=2.4 [http://www.gtk.org/]
In addition to the library packages, you also need the development packages, which are not usually
installed. For example, on Debian, their names are libxml2-dev, pciutils-dev and
libgtk2.0-dev. Others distributions probably have similar packages names.
Note
You don't need pci-utils if you don't use direct PCI memory access, and you don't need
gtk+ if you don't plan to use the Gnome GUI. Usually, this is not the case, so you will need
these packages.
Download the sources
Go to the download section [http://sourceforge.net/project/showfiles.php?group_id=117933] of
ddccontrol project's page and download the latest ddccontrol and ddccontrol-db source tar-
balls.
Then unpack these two archives with:
# tar xvfz ddccontrol-X.Y.tar.gz
# tar xvfz ddccontrol-db-YYYYMMDD.tar.gz
You should now have two directories, ddccontrol and ddccontrol-db.
Compile and install
To compile and install the source tarballs, type:
# ./configure
# make
# su root
Password: <root password>
# make install
You need to do this in ddccontrol and ddccontrol-db directories.
If you set the --prefix parameter when configuring one package, you must set it to the same
value when configuring the other.
Configure /dev/i2c-* devices
Note
/dev/i2c-* devices are only working with kernel 2.6 or greater.
2










