1. Install Linux kernel source code by using apt-get or yum
% sudo apt-get install linux-source
It will install latest version of Linux source code. We need to use the two header files from this kernel tree.
Extract source tree
% cd /usr/src
% sudo tar jxvf linux-source-2.6.22.tar.gz2
Create symbolic link from /usr/include
% cd /usr/include
% sudo ln –s /usr/src/linux-source-2.6.22/drivers/ieee1394/dv1394.h
% sudo ln –s /usr/src/linux-source-2.6.22/drivers/ieee1394/ieee1394-ioctl.h
2. Install libraw1394
Download libraw1394 from http://sourceforge.net/projects/libraw1394
Extract package, compile and install
% tar zxvf libraw1394-1.2.0.tar.gz
% ./configure
% make
% sudo make install
% sudo make dev
NOTE) If you have an error during "./configure", please run "sudo apt-get install build-essential" to prepare
development environment.
3. Install dvrelay
Download dvrelay from http://www.interlab.ait.ac.th/dvrelay/dvrelay0.1f.tar.gz
Extract package, compile and install
% tar zxvf dvrelay0.1f.tar.gz
% ./configure
% make
% sudo make install
You can confirm that dvrelay is installed at /usr/local/bin/dvrelay
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment