libimbiledevice compile error at commit 6370bf5
yeahren opened this issue · 3 comments
Hi @benvium,
i also wanna to compile the libimobiledevice under mac os x 10.8.2 , i have installed libusb 1.0.0 and libusbmuxd 1.0.8 but the libimobiledevice configure process is showing me that:
...
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libusbmuxd... no
configure: error: Package requirements (libusbmuxd >= 1.0.8) were not met:
No package 'libusbmuxd' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables libusbmuxd_CFLAGS
and libusbmuxd_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details
any idea?
Hi 梁威,
Thank you for your reply, i think it is not the reason i met, apt-config wrong path setting cause this issue, anyway i have fixed up this issue and found it is to be nice using homebrew to compile this libiary :)
Peter
On Feb 16, 2013, at 9:19 AM, 梁威 notifications@github.com wrote:
my libusb install at /usr/local/ , not /usr. so, you must set libusbmuxd_CFLAGS to /usr/local/libusbxxx....like: ./configure libusbmuxd_CFLAGS=/usr/local/libusbxxx libusbmuxd_LIBS=/usr/local/
—
Reply to this email directly or view it on GitHub.
Where I can find libusbmuxd package for mac ?
Use instead:
./autogen.sh libusbmuxd_LIBS="-L/usr/local/lib -lusbmuxd" libusbmuxd_CFLAGS="-I/usr/local/include"
libusbmuxd is at https://github.com/libimobiledevice/libusbmuxd