[opensuse] tried to install gphoto2 problem with libusb?
Hi, there is more info but the subject line does not lend itself to long descriptions: Essentially I want to get gphoto2 running so that I can use it in a script, to upload (and select) images from a camera to a directory in an automated fashion. opensuse 12.1 gnome 3.2.1 x64 Thanks for any help, ------- gphoto2 suggests that there may be an issue with my PKG_CONFIG variable. apparently I already have libusb installed. I am trying to install from the ~/Downloads directory. SO cd gphoto2-2.5.0 ./configure *errors************************* configure: error: PKG_CONFIG_PATH= LIBGPHOTO2_LIBS= LIBGPHOTO2_CFLAGS= * Fatal: gphoto2 command line interface requires libgphoto2 >= 2.5.0 to build. * * Possible solutions: * - set PKG_CONFIG_PATH to adequate value * - call configure with LIBGPHOTO2_LIBS=.. and LIBGPHOTO2_CFLAGS=.. * - call configure with one of the --with-libgphoto2 parameters * - get libgphoto2 and install it **************************************** download and decompress libgphoto2 cd libgphoto2-2.5.0 ./configure *****erorrs********************************* configure: error: PKG_CONFIG_PATH= LIBUSB_LIBS= LIBUSB_CFLAGS= * Fatal: libgphoto2 port access library by default requires libusb >= 0.1.5 to build. * You must explicitly disable libusb to build libgphoto2_port without it. * * Possible solutions: * - call configure with --with-libusb=no or --without-libusb * - set PKG_CONFIG_PATH to adequate value * - call configure with LIBUSB_LIBS=.. and LIBUSB_CFLAGS=.. * - call configure with one of the --with-libusb parameters * - get libusb and install it: * http://libusb.sourceforge.net/ * - if you have libusb >= 1.0 installed, you must also install * either the libusb0 compat library or a libusb 0.x version configure: error: ./configure failed for libgphoto2_port ************************* SO pkg-config --version libusb 0.25 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, Nov 12, 2012 at 08:07:11AM -0500, Eric Gunther wrote:
Hi,
there is more info but the subject line does not lend itself to long descriptions:
Essentially I want to get gphoto2 running so that I can use it in a script, to upload (and select) images from a camera to a directory in an automated fashion.
What about just installing the "gphoto" RPM, which has the gphoto2 binary? :) Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Eric Gunther
-
Marcus Meissner