Dependencies:

gphoto2 which you currently need to get from gphoto's CVS using
cvs -d:pserver:anonymous@cvs.gphoto.sourceforge.net:/cvsroot/gphoto login
cvs -d:pserver:anonymous@cvs.gphoto.sourceforge.net:/cvsroot/gphoto co gphoto2

You need gphoto 2.0 final (or later).
