Hi Eduardo,

> > > 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.

this makes no sense, because the openobex CVS doesn't use pkgconfig for
its configuration.

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

The libusb however contains a libusb.pc.in file.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to