So I needed to download libgphoto2 and gphoto2 from subversion and then install it to a local directory.
$ sudo apt-get install automake autoconf libtool gettext pkg-config subversion build-essential
$ mkdir gphoto-svn
$ cd gphoto-svn
$ svn checkout https://gphoto.svn.sourceforge.net/svnroot/gphoto/trunk/libgphoto2
$ cd libgphoto2
$ autoreconf -is
$ mkdir -p /tmp/gphoto2/local
$ ./configure --prefix=/tmp/gphoto2/local
$ make
$ make install
$ # neat, libgphoto2 installed to /tmp/gphoto2/local
$ cd ..
$ svn checkout https://gphoto.svn.sourceforge.net/svnroot/gphoto/trunk/gphoto2
$ cd gphoto2
$ autoreconf -is
$ ./configure --prefix=/tmp/gphoto2/local --with-libgphoto2=/tmp/gphoto2/local
$ make
$ # make install is optional; I just ran ./gphoto2/gphoto2 directly
$ # edited files, then "make" to rebuild
4 comments:
Hi, this is a great explanation, but I have found a problem and can't solve it in none of 2 systems. I want to use an additional option (libxml2 package), so that in the libgphoto2 configure I run:
./configure --prefix=/tmp/gphoto2/local --with-libxml2=yes
but then I find an output:
LIBXML2 to support Olympus ..: no
So why?? Any clues??
Sorry, no idea! I've found the gphoto2 developers to be quite helpful, though, so you might try their email list.
Viridis:
Try this:
sudo ln -s /usr/libxml2/libxml /usr/include/libxml
Sorry, I meant:
sudo ln -s /usr/include/libxml2/libxml /usr/include/libxml
Post a Comment