Fatal: libgphoto2 port access library by default requires libusb >= 0.1.5 to build, but I DO have libusb

View: New views
3 Messages — Rating Filter:   Alert me  

Fatal: libgphoto2 port access library by default requires libusb >= 0.1.5 to build, but I DO have libusb

by Toddnick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello All,
I'm trying to run ./configure --prefix=/usr/local
But it gives me the following error, even though I have the latest version of libusb installed (through yum)-

checking for libusb to use... autodetect
checking for LIBUSB... no
checking libusb config program... libusb-config
checking for libusb-config... no
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

configure: error: ./configure failed for libgphoto2_port

Any ideas?
many thanks- I have tried a few things, like adding the directory that libusb appears to live in to my path
/usr/lib/libusb-0.1.so.4
/usr/lib/libusb-0.1.so.4.4.4
/usr/lib/libusbpp-0.1.so.4
/usr/lib/libusbpp-0.1.so.4.4.4

But to no avail.
Many thanks for any input

--
Todd


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gphoto-user mailing list
Gphoto-user@...
https://lists.sourceforge.net/lists/listinfo/gphoto-user

Re: Fatal: libgphoto2 port access library by default requires libusb >= 0.1.5 to build, but I DO have libusb

by Marcus Meissner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Sep 24, 2009 at 12:25:55AM -0700, Todd Burdeinei wrote:

> Hello All,
> I'm trying to run ./configure --prefix=/usr/local
> But it gives me the following error, even though I have the latest version
> of libusb installed (through yum)-
>
> checking for libusb to use... autodetect
> checking for LIBUSB... no
> checking libusb config program... libusb-config
> checking for libusb-config... no
> 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
>
> configure: error: ./configure failed for libgphoto2_port
>
> Any ideas?
> many thanks- I have tried a few things, like adding the directory that
> libusb appears to live in to my path
> /usr/lib/libusb-0.1.so.4
> /usr/lib/libusb-0.1.so.4.4.4
> /usr/lib/libusbpp-0.1.so.4
> /usr/lib/libusbpp-0.1.so.4.4.4
>
> But to no avail.
> Many thanks for any input

You need the development package of libusb too. Usually named libusb-devel or
libusb-dev.

(With headers and .so links).

Ciao, Marcus

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gphoto-user mailing list
Gphoto-user@...
https://lists.sourceforge.net/lists/listinfo/gphoto-user

Re: Fatal: libgphoto2 port access library by default requires libusb >= 0.1.5 to build, but I DO have libusb

by Toddnick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Marcus,
I also saw an error about missing popt and installed the dev lib also.
Thanks again
Todd

On Thu, Sep 24, 2009 at 12:43 AM, Marcus Meissner <meissner@...> wrote:
On Thu, Sep 24, 2009 at 12:25:55AM -0700, Todd Burdeinei wrote:
> Hello All,
> I'm trying to run ./configure --prefix=/usr/local
> But it gives me the following error, even though I have the latest version
> of libusb installed (through yum)-
>
> checking for libusb to use... autodetect
> checking for LIBUSB... no
> checking libusb config program... libusb-config
> checking for libusb-config... no
> 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
>
> configure: error: ./configure failed for libgphoto2_port
>
> Any ideas?
> many thanks- I have tried a few things, like adding the directory that
> libusb appears to live in to my path
> /usr/lib/libusb-0.1.so.4
> /usr/lib/libusb-0.1.so.4.4.4
> /usr/lib/libusbpp-0.1.so.4
> /usr/lib/libusbpp-0.1.so.4.4.4
>
> But to no avail.
> Many thanks for any input

You need the development package of libusb too. Usually named libusb-devel or
libusb-dev.

(With headers and .so links).

Ciao, Marcus



--
Todd Burdeinei
Web Developer
Burdeinei Corp
702-259-3273 office / fax number
702-372-9920 cell
Todd@...


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gphoto-user mailing list
Gphoto-user@...
https://lists.sourceforge.net/lists/listinfo/gphoto-user