On Thu, Jan 19, 2006 at 12:18:21PM +0100, Marcel Holtmann wrote:
> Hi Christian,
> 
> > I'm having trouble with the new pkg-config in openobex:
> > 
> > $ pkg-config --cflags openobex
> > Package libusb was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `libusb.pc'
> > to the PKG_CONFIG_PATH environment variable
> > Package 'libusb', required by 'OpenOBEX', not found
> > 
> > At least my libusb-0.1.10a doesn't have a pkg-config file.
> 
> so far I only checked this on an Ubuntu Dapper system. This has also
> libusb-0.1.10a installed:
> 
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
> uppercase=bad)
> ||/ Name               Version            Description
> +++-==================-==================-====================================================
> ii  libusb-0.1-4       0.1.10a-22ubuntu1  userspace USB programming library
> ii  libusb-dev         0.1.10a-22ubuntu1  userspace USB programming library 
> development files
> 
> On this system I have /usr/lib/pkgconfig/libusb.pc and I don't see any
> problem.


I had exactly the same problem on my system. I have libusb-0.1.10a
on a Mandriva Cooker, and there is no libusb.pc. I had to remove the
REQUIRES="... libusb" from acinclude.m4 to build openobex from CVS.

There is no .pc file on the upstream libusb tarball. The pkg-config
support seems to be a feature added by the Ubuntu package.

-- 
Eduardo

Attachment: pgpzRu3i573bW.pgp
Description: PGP signature

Reply via email to