On Thu, Jan 19, 2006 at 02:47:08PM +0300, Alex Kanavin wrote: > On Thu, 19 Jan 2006, Eduardo Pereira Habkost wrote: > > >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. > > Strangely, I have OS X 10.4.4 with libusb-0.1.10a (built by me from a > tarball), there is no libusb.pc anywhere either, yet openobex finds libusb > and links against it just fine. The problem must be somewhere else.
Sorry, where I wrote "to build openobex from CVS", read "to link other applications against openobex from CVS". Openobex builds normally, because it doesn't search libusb using pkg-config. But it adds libusb to the Requires field on openobex.pc, making pkg-config look for libusb and failing when trying to build other applications using openobex. -- Eduardo
pgpDlJAPX3Jvg.pgp
Description: PGP signature
