You are not logged in.

#1 2014-05-05 23:00:45

Ferras
Member
Registered: 2014-05-05
Posts: 1

Building OpenOCD. Can't find libusb

Newbie question but I think this is the right place to post this. As the title says, when trying to ./configure the script throws me this:

configure: error: libusb-1.x or libusb-0.1 is required for the OSBDM (JTAG only) Programmer

Then I ran this:

$ pacman -Qs libusb
local/libgusb 0.1.6-1
    GLib wrapper around libusb1
local/libusb 1.0.18-1
    Library that provides generic access to USB device
local/libusb-compat 0.1.5-1
    Library to enable user space application programs to communicate with USB devices
local/libusbmuxd 1.0.9-1
    USB Multiplex Daemon

Am I safe to assume that the script is looking for the package where it's not installed? How do I fix this?

Cheers

Offline

#2 2014-05-05 23:16:08

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: Building OpenOCD. Can't find libusb

Why are you trying to build it, it's in [community]?  If you need to rebuild it, use the PKGBUILD.

It built fine here using the PKGBUILD from the ABS.

Last edited by Trilby (2014-05-05 23:20:21)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB