
Image Capture
51
Chapter 3, Remotely Monitor a Pet
make
make test
make install
8. Install the ControlX10::CM11 module by executing the following
commands:
cd ../ControlX10*
perl Makefile.PL
make
make test
make install
9. Install the Image::Info module by executing the following commands:
cd ../Image-Info*
perl Makefile.PL
make
make test
make install
10. Install the CGI::Carp module by executing the following commands:
cd ../CGI*
perl Makefile.PL
make
make test
make install
11. Install ImageMagick and the Image::Magick module. This will take a
few minutes. Execute the following commands:
cd ../ImageMagick*/
./configure
make
make install
cd PerlMagick
perl Makefile.PL
make
make test
make install
7. Configure webcam
You now need to download a tool from the XawTV project. The webcam tool
takes a snapshot from a video capture card and saves it as a JPEG file. Most
people use
webcam to upload pictures to an FTP server on a regular basis,
but since you’re configuring your own web server, you just need it to save
each snapshot to the local computer and then stop running.
webcam is included with some distributions, but has disappeared from
Mandrake 10.0. Just to be safe, start at http://bytesex.org/xawtv/, and down-
load the latest version of XawTV to your home directory. Open a terminal,
change to your home directory, and execute the following commands:
su
tar -xvzf xawtv*
cd xawtv*
./configure
hhpg.indb 51 ...