Building Gphoto2-2.4.4

It is February 10, 2009. I go to the gphoto2 site (sourceforge) and download libgphoto2-2.4.4.tar.gz and gphoto2-2.4.4.tar.gz. Each of these extracts with tar xzvf into its own directory.

Build libgphoto2

cd libgphoto2-2.4.4
./configure
make
make install
This is the lions share of what needs to be done, and puts things into /usr/local/lib. After this, I can build gphoto2, with some care to tell it how to find the library I just built.

Build gphoto2

cd gphoto2-2.4.4
./configure --with-libgphoto2=/usr/local
make
make install
The with-libgphoto2 switch to configure is the well kept secret of this whole business. After this, I can do:

Check it out

(~) cholla $ /usr/local/bin/gphoto2 --version
gphoto2 2.4.4

Copyright (c) 2000-2008 Lutz Mueller and others

gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.

This version of gphoto2 is using the following software versions and options:
gphoto2         2.4.4          gcc, popt(m), exif, no cdk, no aa, jpeg, readline
libgphoto2      2.4.4          gcc, ltdl, EXIF
libgphoto2_port 0.8.0          gcc, ltdl, USB, serial baudboy locking
Which looks reasonable.
Have any comments? Questions? Drop me a line!

Adventures in Computing / [email protected]